Windows编译ImageMagick

下载源码

http://www.imagemagick.org/download/windows/

检查MSVC工具链是否安装MFC

enter image description here

修改编译配置工具代码来支持Release生成pdb

1
2
3
4
//projectFile.cpp
file << " <GenerateDebugInformation>" << (debug ? "true" : "false") << "</GenerateDebugInformation>" << endl;
//修改为
file << " <GenerateDebugInformation>" << (debug ? "true" : "true") << "</GenerateDebugInformation>" << endl;

构建编译配置工具

使用编译配置工具生成构建项目

构建