Posted: 2006-04-01T18:09:06-07:00
Our standard answer to Windows compiler/run-time problems is to build one of the Magick++ demos found in c:\Program Files\ImageMagick-6.2.6-Q16\Magick++_Demos. Build the button demo and run. Most likely it will compile and run. You can then use this project as a template for your own project.
Another standard answer for minimizing dependacies under Windows, is to build ImageMagick as an "uninstalled" static multi-threaded project. The project is uninstalled by default unless you specifically uncomment UseInstalledMagick when running the configure program and editting magick-config.h. When you package ImageMagick for redistribution with your project just put all the configuration files and the library in the same folder. ImageMagick should find them at run time. You can verify by setting the MAGICK_DEBUG environment variable to configure. When you run ImageMagck it displays where its looking for its configuration files.
Another standard answer for minimizing dependacies under Windows, is to build ImageMagick as an "uninstalled" static multi-threaded project. The project is uninstalled by default unless you specifically uncomment UseInstalledMagick when running the configure program and editting magick-config.h. When you package ImageMagick for redistribution with your project just put all the configuration files and the library in the same folder. ImageMagick should find them at run time. You can verify by setting the MAGICK_DEBUG environment variable to configure. When you run ImageMagck it displays where its looking for its configuration files.