Bug#761564: cimg: FTBFS: fatal error: Magick++.h: No such file or directory

Andreas Tille andreas at an3as.eu
Mon Sep 15 15:55:10 UTC 2014


Hi David,

I can confirm this problem.  However, I have no idea why this happens.
The critical point is a makefile containing


# Flags to enable native support of most classical image file formats, using the Magick++ library.
# ( http://www.imagemagick.org/Magick++/ )
CIMG_MAGICK_CFLAGS = -Dcimg_use_magick `Magick++-config --cppflags` `Magick++-config --cxxflags`
CIMG_MAGICK_LDFLAGS = `Magick++-config --ldflags` `Magick++-config --libs`


and the build log says:


cd examples && /usr/bin/make Mlinux "LDFLAGS=-lm -lpthread -lHalf"
make[2]: Entering directory '/tmp/buildd/cimg-1.5.9+dfsg/examples'
/bin/sh: 1: Magick++-config: not found
/bin/sh: 1: Magick++-config: not found
/bin/sh: 1: Magick++-config: not found
/bin/sh: 1: Magick++-config: not found
make[3]: Entering directory '/tmp/buildd/cimg-1.5.9+dfsg/examples'

** Compiling 'CImg_demo (1.5.9)' with 'gcc version 4.9.1 (Debian 4.9.1-14) '

g++ -o CImg_demo CImg_demo.cpp -I.. -Wall -W -O3 -fno-tree-pre -Dcimg_use_vt100 -I/usr/X11R6/include  -Dcimg_use_xrandr -Dcimg_use_tiff -Dcimg_use_openexr -I/usr/include/OpenEXR -Dcimg_use_png -Dcimg_use_jpeg -
In file included from CImg_demo.cpp:48:0:
../CImg.h:347:22: fatal error: Magick++.h: No such file or directory
 #include "Magick++.h"
                      ^
compilation terminated.



Since libmagick++-dev provides the command in question and is in the
Build-Depends (and according to the build log installed) I'm a bit
clueless why this does not work.

Any hint is welcome

    Andreas.


-- 
http://fam-tille.de



More information about the debian-science-maintainers mailing list