我尝试将C(\ Program Files(x86)\ MSBuild \ Microsoft.Cpp \ v4.0 \ Platforms \ Win32 \ PlatformToolsets \ v71)的(工作)平台工具集的副本添加到Visual C++ 2005中,感。如何使用VS2003工具集从VS11内建立C++项目?
但是,当我尝试编译我的项目,输出是令人失望的:
1> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.6030 for 80x86
1> Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
1>
1> cl ÿþ/
1>
1>cl : Command line warning D4024: unrecognized source file type 'ÿþ/', object file assumed
1> Microsoft (R) Incremental Linker Version 7.10.6030
1> Copyright (C) Microsoft Corporation. All rights reserved.
1>
1> /out:.exe
1> ■/
1>LINK : fatal error LNK1181: cannot open input file ' ■/.obj'
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
看起来像一个字符集问题给我,但有没有人得到它的工作?
只是好奇...你有增量链接启用? – 2012-03-15 14:16:29
您是否确定所有资源对于该版本都是正确的? – Aleks 2012-03-20 12:06:45
@Aleks存在vs2003的解决方案/ vcproj文件,它编译得很好。这不是源代码问题,它肯定隐藏在调用编译器的方式中。 – Timbo 2012-03-20 17:43:14