{Magick{,++},Wand}-config do not work as expected. Their output should be the necessary data to compile/link other stuff with it. They should not include the flags that were used to compile ImageMagick.
pkg-config seems to be correct:
Code: Select all
$ pkg-config --libs ImageMagick++
-lMagick++ -lWand -lMagick
Code: Select all
$ Magick++-config --libs
-lMagick++ -lMagick -llcms -ltiff -lfreetype -ljpeg -lfontconfig -lXext -lSM -lICE -lX11 -lXt -lbz2 -lz -lm -lpthread -lWand -lMagick
Markus