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

Bastien ROUCARIES roucaries.bastien at gmail.com
Mon Sep 15 16:02:28 UTC 2014


Le 15 sept. 2014 17:55, "Andreas Tille" <andreas at an3as.eu> a écrit :
>
> Hi David,
>
> I can confirm this problem.  However, I have no idea why this happens.
> The critical point is a makefile containing

Newer imagemagick version does not supply this command. Please use
pkg-config

Bastien
>
> # 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
>
>
> --
> To UNSUBSCRIBE, email to debian-mentors-REQUEST at lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster at lists.debian.org
> Archive: https://lists.debian.org/20140915155510.GB14706@an3as.eu
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20140915/8007ad60/attachment.html>


More information about the debian-science-maintainers mailing list