[solved]problem with Magick++-config
Posted: 2011-01-26T05:47:52-07:00
Hi,
I'm a new user of api magick++, but when a try to compile a simple file with this command,
i get this error :.
And strangly I can obtain this result:
Thank you for you help !
I'm a new user of api magick++, but when a try to compile a simple file with this command
Code: Select all
g++ -O2 -o main main.cpp 'Magick++-config --cflags --cppflags --ldflags --libs'
i get this error :
Code: Select all
g++: Magick++-config --cflags --cppflags --ldflags --libs : No file or directory of this type
And strangly I can obtain this result:
Code: Select all
[mdia@olympe rotateTiff]$ Magick++-config --cflags --cppflags --ldflags --libs
-I/usr/local/include -fopenmp
-I/usr/local/include/ImageMagick
-L/usr/local/lib
-L/usr/local/lib -lMagick++ -lMagickWand -lMagickCore -ltiff -lfreetype -ljpeg -lpng -lfontconfig -lXext -lXt -lSM -lICE -lX11 -lz -lm -lgomp -lpthread
Thank you for you help !