[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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




Le 15 sept. 2014 17:55, "Andreas Tille" <andreas@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@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 20140915155510.GB14706@an3as.eu">https://lists.debian.org/[🔎] 20140915155510.GB14706@an3as.eu
>


Reply to: