VS2013: Make static IM library that is linked against dynamic DLL runtime library

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?".
Locked
darlingm
Posts: 12
Joined: 2014-07-06T18:09:24-07:00
Authentication code: 6789

VS2013: Make static IM library that is linked against dynamic DLL runtime library

Post by darlingm »

I'm building IM from source. (v6.9.1-1, dated 4/4/2015)

I built configuration and selected Dynamic Multi-threaded DLL runtimes, build 64-bit distribution, quantum depth Q8, Visual Studio 2012 (since 2013 isn't listed yet), and left the default directories.

In VisualMagick\lib, all the .exp and .lib files appear to be there.

In VisualMagick\bin, all the .dll files appear to be there.

I'd actually prefer for ImageMagick to be a static .lib library rather than a dynamic .dll library. Is there a way through configure that I can tell it to use configuration type .lib rather than .dll? My understanding of the "Build type setup" is that is for what runtime libraries should be used, not the build type that ImageMagick itself should be. Unless those two are tied together, which I wouldn't think they would be. Would changing all the projects over to static .lib work?

EDIT: Removed a lot from this post. Searching for "*.dll" or "filetype:dll" in explorer isn't seeing the dll files in VisualMagick\bin, so I thought there weren't any. (Go windows 7 search!)

Locked