VS2013: Make static IM library that is linked against dynamic DLL runtime library
Posted: 2015-04-09T14:40:59-07:00
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!)
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!)