Hey guys, I'm trying to get a simple program to compile, however I seem to be running into some issues as you can see below. I installed ImageMagick recently through the cygwin gui setup.
$ g++ -o imageTest imageTest.cpp `Magick++-config --cppflags --cxxflags --ldflags --libs`
g++: unrecognized option `-no-undefined'
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -ldpstk
collect2: ld returned 1 exit status
Cygwin issue with Magick++
Re: Cygwin issue with Magick++
Did you install the libMagick development library? We just tried this command and it compiled and ran undef Cygwin without complaint:
- g++ `Magick++-config --cxxflags --cppflags` -o magick++ magick++.cpp `Magick++-config --ldflags --libs`
./magick++