如何使用Visual Studio 2012和“英特尔编译器XE 2013”构建可在Windows XP中运行的可执行文

How can I build executables which can be run in Windows XP using Visual Studio 2012 and Intel Compiler XE 2013?

本文关键字:Windows 构建 XP 可执行 运行 2013 2012 Studio Visual 何使用 XE      更新时间:2023-10-16

当我使用Visual Studio 2012开发一个可以在Window XP中运行的应用程序时,我将Visual Studio 2012 - Windows XP (v110_xp)设置为platform toolset属性。

但如果我想使用CCD_ 5和CCD_,该属性应该是Intel C++ Compiler XE 13.0

具有该属性的已生成可执行文件无法在Windows XP中运行,并显示消息"$APPNAME不是有效的Win32应用程序"

如何使用Visual Studio 2013Intel Compiler XE 2013构建可在Window XP中运行的可执行文件?

我的开发环境如下:

  • 显影机:Window 7 Update1
  • 目标机器:Window XP SP3
  • 编译器:Microsoft Visual Studio 2012 Update3Intel C++ Composer XE 2013

我在英特尔官方文章中找到了一个解决方案。

http://software.intel.com/en-us/articles/linking-applications-using-visual-studio-2012-to-run-on-windows-xp