当我使用 Visual Studio 2012
开发可以在 Window XP
中运行的应用程序时,
我将 Visual Studio 2012 - Windows XP (v110_xp)
设置为 platform toolset
属性。
但如果我想使用 Intel Compiler XE 2013
和 Visual Studio 2012
构建应用程序,
我想该属性应该是 Intel C++ Compiler XE 13.0
。
并且具有该属性的构建可执行文件无法在 Windows XP
中运行,并显示消息“$APPNAME 不是有效的 Win32 应用程序。”
如何使用 Visual Studio 2013
和 Intel Compiler XE 2013
构建可在 Window XP
中运行的可执行文件?
我的开发环境如下:
- 开发机器:
Window 7 Update1
- 目标机器:
Window XP SP3
- 编译器:
Microsoft Visual Studio 2012 Update3
和Intel C++ Composer XE 2013
最佳答案
在Intel官方文章中找到了解决方法。
关于c++ - 如何使用 Visual Studio 2012 和英特尔编译器 XE 2013 构建可在 Windows XP 中运行的可执行文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17606428/