<p dir="ltr"><br>
Le 15 sept. 2014 17:55, "Andreas Tille" <<a href="mailto:andreas@an3as.eu">andreas@an3as.eu</a>> a écrit :<br>
><br>
> Hi David,<br>
><br>
> I can confirm this problem.  However, I have no idea why this happens.<br>
> The critical point is a makefile containing<br></p>
<p dir="ltr">Newer imagemagick version does not supply this command. Please use pkg-config</p>
<p dir="ltr">Bastien<br>
><br>
> # Flags to enable native support of most classical image file formats, using the Magick++ library.<br>
> # ( <a href="http://www.imagemagick.org/Magick++/">http://www.imagemagick.org/Magick++/</a> )<br>
> CIMG_MAGICK_CFLAGS = -Dcimg_use_magick `Magick++-config --cppflags` `Magick++-config --cxxflags`<br>
> CIMG_MAGICK_LDFLAGS = `Magick++-config --ldflags` `Magick++-config --libs`<br>
><br>
><br>
> and the build log says:<br>
><br>
><br>
> cd examples && /usr/bin/make Mlinux "LDFLAGS=-lm -lpthread -lHalf"<br>
> make[2]: Entering directory '/tmp/buildd/cimg-1.5.9+dfsg/examples'<br>
> /bin/sh: 1: Magick++-config: not found<br>
> /bin/sh: 1: Magick++-config: not found<br>
> /bin/sh: 1: Magick++-config: not found<br>
> /bin/sh: 1: Magick++-config: not found<br>
> make[3]: Entering directory '/tmp/buildd/cimg-1.5.9+dfsg/examples'<br>
><br>
> ** Compiling 'CImg_demo (1.5.9)' with 'gcc version 4.9.1 (Debian 4.9.1-14) '<br>
><br>
> 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 -<br>
> In file included from CImg_demo.cpp:48:0:<br>
> ../CImg.h:347:22: fatal error: Magick++.h: No such file or directory<br>
>  #include "Magick++.h"<br>
>                       ^<br>
> compilation terminated.<br>
><br>
><br>
><br>
> Since libmagick++-dev provides the command in question and is in the<br>
> Build-Depends (and according to the build log installed) I'm a bit<br>
> clueless why this does not work.<br>
><br>
> Any hint is welcome<br>
><br>
>     Andreas.<br>
><br>
><br>
> --<br>
> <a href="http://fam-tille.de">http://fam-tille.de</a><br>
><br>
><br>
> --<br>
> To UNSUBSCRIBE, email to <a href="mailto:debian-mentors-REQUEST@lists.debian.org">debian-mentors-REQUEST@lists.debian.org</a><br>
> with a subject of "unsubscribe". Trouble? Contact <a href="mailto:listmaster@lists.debian.org">listmaster@lists.debian.org</a><br>
> Archive: <a href="https://lists.debian.org/20140915155510.GB14706@an3as.eu">https://lists.debian.org/20140915155510.GB14706@an3as.eu</a><br>
><br>
</p>