Build fails on Windows Vista SP1 / MinGW / latest CMake / latest binary installation of ImageMagick++. I am using ImageMagick++ detection patch which is not currently in trunk. At the same time, everything builds just fine with MSVC 2008 SP1. It breaks on the last stage right after "Linking CXX executable ..\..\cuneiform.exe". See error message below:
CMakeFiles\cuneiform.dir\cuneiform-cli.cpp.obj:cuneiform-cli.cpp:(.text+0xf61): undefined reference to `Magick::Blob::Blob()'
CMakeFiles\cuneiform.dir\cuneiform-cli.cpp.obj:cuneiform-cli.cpp:(.text+0xfa5): undefined reference to `Magick::Image::Image(std::string const&)'
CMakeFiles\cuneiform.dir\cuneiform-cli.cpp.obj:cuneiform-cli.cpp:(.text+0x1004): undefined reference to `Magick::Image::write(Magick::Blob*, std::string const&)'
CMakeFiles\cuneiform.dir\cuneiform-cli.cpp.obj:cuneiform-cli.cpp:(.text+0x1032): undefined reference to `Magick::Image::~Image()'
CMakeFiles\cuneiform.dir\cuneiform-cli.cpp.obj:cuneiform-cli.cpp:(.text+0x1048): undefined reference to `Magick::Blob::length() const'
CMakeFiles\cuneiform.dir\cuneiform-cli.cpp.obj:cuneiform-cli.cpp:(.text+0x1067): undefined reference to `Magick::Blob::data() const'
CMakeFiles\cuneiform.dir\cuneiform-cli.cpp.obj:cuneiform-cli.cpp:(.text+0x109f): undefined reference to `Magick::Blob::~Blob()'
CMakeFiles\cuneiform.dir\cuneiform-cli.cpp.obj:cuneiform-cli.cpp:(.text+0x1679): undefined reference to `Magick::Blob::~Blob()'
CMakeFiles\cuneiform.dir\cuneiform-cli.cpp.obj:cuneiform-cli.cpp:(.text+0x177e): undefined reference to `Magick::Image::~Image()'
collect2: ld returned 1 exit status
mingw32-make.EXE[2]: *** [cuneiform.exe] Error 1
mingw32-make.EXE[1]: *** [cuneiform_src/Kern/CMakeFiles/cuneiform.dir/all] Error 2
mingw32-make.EXE: *** [all] Error 2
At least some time ago MinGW could not use C++ shared libraries made with MSVC and vice versa. Is there an IM release built with MinGW available?