我想在 MFC 程序中使用 ImageMagick。我已经下载了 ImageMagick 并按照说明将其安装在我的系统上。但是,我在第一步遇到了问题。我在visual studio 2010下打开并转换了configure.sln。按下播放按钮运行程序时出现错误;说明“无法启动程序configure.exe……系统找不到特定文件。” 如果您向我提供在 Visual 2010 下安装它的说明,我将不胜感激。
我去了 VisualMagick\configure 文件夹并打开了 configure.sln。我还将构建配置放到了 Release 中。但是我仍然收到同样的错误。
如果有人建议我该怎么做,我会很感激?
非常感谢,谢文·扎格姆
1>------ Rebuild All started: Project: configure, Configuration: Release Win32 ------
1>Build started 5/5/2013 11:18:19 PM.
1>_PrepareForClean:
1> Deleting file ".\Release\configure\configure.lastbuildstate".
1>InitializeBuildStatus:
1> Creating ".\Release\configure\configure.unsuccessfulbuild" because "AlwaysCreate"
was specified.
1>ClCompile:
1> stdafx.cpp
1> _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
1> WaitDlg.cpp
1> _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
1> configure.cpp
1> _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
1> configure_wizard.cpp
1> _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
1> finished_page.cpp
1> _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
1> system_page.cpp
1> _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
1> target_page.cpp
1> _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
1> welcome_page.cpp
1> _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
1> Generating Code...
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5):
warning MSB8012: TargetPath(D:\Shervin_Zargham\Industrial Projects\LED
Display\ImageMagick-6.8.5-4\ImageMagick-6.8.5\VisualMagick\configure\.\Release
\configure\configure.exe) does not match the Linker's OutputFile property value
(D:\Shervin_Zargham\Industrial Projects\LED Display\ImageMagick-6.8.5-4\ImageMagick
6.8.5\VisualMagick\configure\configure.exe). This may cause your project to build
incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and
$(TargetExt) property values match the value specified in %(Link.OutputFile).
1>Link:
1> configure.vcxproj -> D:\Shervin_Zargham\Industrial Projects\LED Display\ImageMagick-
6.8.5-4\ImageMagick-6.8.5\VisualMagick\configure\.\Release\configure\configure.exe
1>FinalizeBuildStatus:
1> Deleting file ".\Release\configure\configure.unsuccessfulbuild".
1> Touching ".\Release\configure\configure.lastbuildstate".
1>
1>Build succeeded.
1>
1>Time Elapsed 00:00:22.43
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========