how to statically link magick++ on windows

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
hakiim35
Posts: 19
Joined: 2010-02-18T07:04:01-07:00
Authentication code: 8675308

how to statically link magick++ on windows

Post by hakiim35 »

hello, I have been working with the dll version of ImageMagick and Magick++ for a while. Because of the dynamically linkage of the dlls, it takes long time to build the project.
I think statically linking would solve the problem.
I have downloaded and installed the Q16-static.exe version, but there are no Magick++ related files inside the installation directory.
How can I achieve it on windows xp? Thanks
rich2449
Posts: 11
Joined: 2010-03-18T11:34:10-07:00
Authentication code: 8675308

Re: how to statically link magick++ on windows

Post by rich2449 »

I'm not an expert on image magick, but I would assume that the binary download is exactly what the name suggests, i.e. statically linked, therefore does not contain any external library files in the download.
Typically static linking will increase your total build time, not shorten it. It removes dependencies on the external external dll's, and can shorten application boot time, but will increase total build time due to extra linking.
Post Reply