I still have problems building application with ImageMagick. I found that I can successfully build the project if i don't use std::vector class. If I use std::vector class I get the follwoign linker errors:
g++ -lsocket -lnsl -lfcgi -lw -lclntsh `Magick++-config --ldflags --libs` -o MySample MySample.o Utils.o
Undefined first referenced
symbol in file
std::__default_alloc_template<(bool)1, (int)0>::deallocate(void*, unsigned)MySample.o
std::__default_alloc_template<(bool)1, (int)0>::allocate(unsigned)MySample.o
ld: fatal: Symbol referencing errors. No output written to MySample
collect2: ld returned 1 exit status
make: *** [image_convert1] Error 1