On Thu, 03 May 2007 13:14:04 +0200, Jérémy Bobbio wrote:

> cimg currently fails to build from source in sid [1]:
> 
> --- 8< ---
> g++ -o CImg_demo CImg_demo.cpp -Wall -W -ansi -pedantic -ffast-math -lm 
> -lpthread -O3 -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -Dcimg_strict 
> -Dcimg_use_xshm -lXext -Dcimg_use_xrandr -lXrandr -Dcimg_use_png -lpng -lz 
> -Dcimg_use_jpeg -ljpeg -Dcimg_use_tiff -ltiff -Dcimg_use_magick     
> -Dcimg_use_fftw3 -lfftw3
> In file included from CImg_demo.cpp:37:
> ../CImg.h:226:35: error: X11/extensions/Xrandr.h: No such file or directory
> ../CImg.h:239:17: error: png.h: No such file or directory
> ../CImg.h:244:21: error: jpeglib.h: No such file or directory
> ../CImg.h:249:20: error: tiffio.h: No such file or directory
> ../CImg.h:253:22: error: Magick++.h: No such file or directory
> ../CImg.h:257:19: error: fftw3.h: No such file or directory
> [...]
> make[2]: *** [CImg_demo] Error 1
> make[2]: Leaving directory `/build/user/cimg-1.2.0.1/examples'
> --- >8 ---

The package seems to be missing various build dependencies. If I add
libxrandr-dev, libmagick++9-dev, fftw3-dev to Build-Depends-Indep the
build runs fine.

HTH,
gregor
 
-- 
 .''`.   http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
 : :' :  debian: the universal operating system - http://www.debian.org/
 `. `'   member of https://www.vibe.at/ | how to reply: http://got.to/quote/
   `-    NP: Dr. Frank: girl scout song

Attachment: signature.asc
Description: Digital signature

Reply via email to