Bug#603299: cimg: FTBFS with binutils-gold because of missing libX11 when linking the examples

Andreas Tille andreas at an3as.eu
Wed Nov 17 14:31:58 UTC 2010


On Wed, Nov 17, 2010 at 01:48:47PM +0100, david.tschumperle at gmail.com wrote:
> Well, this looks like a different error.
> I guess the reason is that the DestroyMagick function is not defined in
> perhaps old version of ImageMagick or GraphicsMagick. Are the
> debian-packaged versions of these libs up to date ?

I'm building against libmagick++-dev 6.6.0.4.  Which version is the smallest
one which is supposed to work with cimg-dev?

Kind regards

        Andreas.
 
> David.
> 
> 2010/11/17 Andreas Tille <andreas at an3as.eu>
> 
> > On Wed, Nov 17, 2010 at 12:13:05PM +0100, david.tschumperle at gmail.comwrote:
> > > > $ md5sum CImg-1.4.5.zip
> > > > 75209f70324fdfa22a0b80f83618200b  CImg-1.4.5.zip
> > > > $ ls -l CImg-1.4.5.zip
> > > > -rw-r--r-- 1 tillea admin 10394519 16. Nov 19:35 CImg-1.4.5.zip
> > >
> > > I removed the "#include magick/symbols.h" directive in the CImg.h file,
> > that
> > > caused the problem.
> >
> > I can confirm that this line is not in the source I'm using to build the
> > package.
> >
> > > As it seems it was the problem described in your initial mail, I thought
> > it
> > > would solve it.
> > > Didn't it ?
> >
> > No, it is completely unchanged:
> >
> >  ** Compiling 'CImg_demo (1.4.5)' with 'gcc version 4.4.5 (Debian 4.4.5-8)
> > '
> >
> > g++ -o CImg_demo CImg_demo.cpp -I.. -Wall -W -lm -lpthread -lHalf -O3
> > -fno-tree-pre -Dcimg_use_vt100 -I/usr/X11R6/include -Dcimg_use_xshm
> > -Dcimg_use_xrandr -Dcimg_use_tiff -Dcimg_use_openexr -I/usr/include/Open
> > EXR -Dcimg_use_png -Dcimg_use_jpeg -Dcimg_use_zlib -Dcimg_use_opencv
> > -I/usr/include/opencv -Dcimg_use_magick -I/usr/include/ImageMagick -g -O2
> > -Wall -W -pthread -Dcimg_use_fftw3 -L/usr/X11R6/lib -lpthread -lX11
> >  -lXext -lXrandr -ltiff -lIlmImf -lpng -lz -ljpeg -lz -lcv -lhighgui
> > -L/usr/lib -L/usr/lib/X11 -L/usr/lib -lMagick++ -lMagickWand -lMagickCore
> > -llcms -ltiff -lfreetype -ljpeg -llqr-1 -lglib-2.0 -lfontconfig -lX
> > ext -lSM -lICE -lX11 -lXt -lbz2 -lz -lm -lgomp -lpthread -lltdl -lfftw3
> > In file included from CImg_demo.cpp:48:
> > ../CImg.h: In destructor 'cimg_library::cimg::Magick_info::~Magick_info()':
> > ../CImg.h:2411: error: 'DestroyMagick' is not a member of 'Magick'
> >
> > Kind regards
> >
> >        Andreas.
> >
> > --
> > http://fam-tille.de
> >
> 
> 
> 
> -- 
> -----------------------------------------------------------------------------
> David Tschumperlé
> CNRS Researcher
> GREYC (UMR-CNRS 6072)         E-mail: David.Tschumperle at greyc.ensicaen.fr
> 6, Bd du Marechal Juin        Tel: +33 (0)2-31-45-29-24
> F-14050 CAEN Cedex            Fax: +33 (0)2-31-45-26-98
> France                        http://www.greyc.ensicaen.fr/~dtschump
> -----------------------------------------------------------------------------

-- 
http://fam-tille.de





More information about the debian-science-maintainers mailing list