• # Heu ... qu'est ce que j'ai rate ?

    Posté par (site web personnel) . En réponse à la dépêche Quelques précisions sur la bibliothèque de traitement d'images 'INRIA'. Évalué à 1.

    [oktail@kolvir CImg]$ make linux

    ** Starting the compilation of the entire CImg package for Linux. Please wait...
    make "LDFLAGS=-lm -lpthread -Wl,-rpath /usr/X11R6/lib" all
    make[1]: Entering directory `/home/oktail/CImg'
    > Compiling 'CImg_test'
    In file included from CImg_test.cpp:19:
    CImg.h: In member function `CImg& CImg::draw_line(int, int, int, int, int, int, const T*)':
    CImg.h:3567: error: `py' undeclared (first use this function)
    CImg.h:3567: error: (Each undeclared identifier is reported only once for each function it appears in.)
    CImg.h:3567: error: `pz' undeclared (first use this function)
    CImg.h:3568: error: `y' undeclared (first use this function)
    CImg.h:3568: error: `z' undeclared (first use this function)
    CImg.h: In member function `CImg CImg::get_correl(const CImg&, uint, bool) const':
    CImg.h:4105: error: there are no arguments to `dirichltet_pix3d' that depend on a template parameter, so a declaration of `dirichltet_pix3d' must be available
    CImg.h:4105: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
    CImg.h: In member function `CImg CImg::get_correl5x5(const double (*)[3], bool) const':
    CImg.h:4255: error: `I' undeclared (first use this function)
    CImg.h:4255: error: there are no arguments to `cimg_squaresum' that depend on a template parameter, so a declaration of `cimg_squaresum' must be available
    CImg.h: In member function `CImg CImg::get_correl3x3x3(const double (*)[3][3], bool) const':
    CImg.h:4283: error: `I' undeclared (first use this function)
    CImg.h:4283: error: there are no arguments to `cimg_squaresum' that depend on a template parameter, so a declaration of `cimg_squaresum' must be available
    CImg.h: In constructor `CImgROI::CImgROI(uint, uint, uint, uint, T*)':
    CImg.h:5911: error: `width' undeclared (first use this function)
    CImg.h:5911: error: `height' undeclared (first use this function)
    CImg.h:5911: error: `depth' undeclared (first use this function)
    CImg.h:5911: error: `dim' undeclared (first use this function)
    CImg.h:5911: error: `data' undeclared (first use this function)
    CImg.h: In copy constructor `CImgROI::CImgROI(const CImgROI&)':
    CImg.h:5914: error: `width' undeclared (first use this function)
    CImg.h:5914: error: `height' undeclared (first use this function)
    CImg.h:5914: error: `depth' undeclared (first use this function)
    CImg.h:5914: error: `dim' undeclared (first use this function)
    CImg.h:5914: error: `data' undeclared (first use this function)
    CImg.h: In destructor `CImgROI::~CImgROI()':
    CImg.h:5916: error: `width' undeclared (first use this function)
    CImg.h:5916: error: `height' undeclared (first use this function)
    CImg.h:5916: error: `depth' undeclared (first use this function)
    CImg.h:5916: error: `dim' undeclared (first use this function)
    CImg.h:5916: error: `data' undeclared (first use this function)
    make[1]: *** [CImg_test] Erreur 1
    make[1]: Leaving directory `/home/oktail/CImg'
    make: *** [linux] Erreur 2



    J'ai cru lire dans la doc que c'etait portable ...
    J'ai rate quoi ?