构建成功但没有exe文件 - 在Visual Studio 2010上安装Magick - MFC

时间:2013-05-05 19:18:01

标签: c++ windows mfc imagemagick

我想在MFC程序中使用ImageMagick。我已下载ImageMagick并按照说明将其安装在我的系统上。但是我在第一步遇到了问题。我在visual studio 2010下打开并转换了configure.sln。当我按下播放按钮运行程序时,我收到一个错误;声明“无法启动程序configure.exe ...系统无法找到特定文件。”如果您向我提供在Visual 2010下安装它的说明,我将不胜感激。

我去了VisualMagick \ configure文件夹并打开了configure.sln。我还将构建配置放到Release上。但是我仍然收到同样的错误。

如果有人建议我做什么,我很感激。

非常感谢, Shervin Zargham

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 ==========

0 个答案:

没有答案