[Magick++] Exception when deploying an application

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

Your greatest chance of success is to install ImageMagick from the pre-compiled binaries found here: ftp://ftp.imagemagick.org/pub/ImageMagick/binaries and use one of the demo Visual C++ workspaces found in [url]c:/Program Files/ImageMagick-6.2.9-Q16/Magick++_demos[/url]. The pre-compiled binaries set appropriate Windows registry entries to determine where ImageMagick delegate libraries, coder modules, and configuration files reside. If you build from the source and do not set the UseInstalledMagick define in magick-config.h, ImageMagick requires you set the MAGICK_HOME environment variable to the top-level ImageMagick folder so ImageMagick can locate its dependancies. The simplest Windows build from source is a static build followed with copying all the DLL's, applications and configuration files into the same folder. ImageMagick looks in the same folder as the application you are running to find these files. To determine exactly where ImageMagick is looking, set the MAGICK_DEBUG environment variable to configure and run your application. Check the debugging output carefully and ensure the ImageMagick dependencies are in one of the paths listed.
Post Reply