【问题标题】:Compiling in VS 2013 Using compiler tools v90 error在 VS 2013 中编译使用编译器工具 v90 错误
【发布时间】:2015-02-10 14:30:10
【问题描述】:

我遇到了一个问题,每次我尝试使用 v90 编译器工具在 windows 2013 上编译一个测试项目时,我都会收到此错误:

1>------ Build started: Project: Test Console App, Configuration: Debug Win32 ------
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.targets(62,5): error : Required file "" is missing.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

如果我使用 VS 2008 编译它可以正常工作,但我觉得使用 Visual Studio 2013 或 2012 更舒服,Intellisence 更好,颜色等等...

我安装了 Windows 7.1 SDK,以及带有 2010 编译器工具的更新包。我有 VS 2008 和 VS 2013,以及所有 C++ Redists。

我无法编译我正在处理的项目,因为我们有使用 2008 编译的库,但我们没有源代码,导致链接器错误。

谢谢

【问题讨论】:

  • error : Required file "" is missing. 我认为项目文件有错误。在文本编辑器中打开它并查看 xml。
  • 当我开始一个新的测试项目时也会出现错误,正如你在上面看到的那样。
  • 我还是会调查项目文件。
  • 好的,我回家后会这样做并反馈意见
  • 可能是环境变量为空之类的。

标签: c++


【解决方案1】:

答案是安装了 Visual Studio 2010。快递工作得很好。 仅针对遇到相同问题的其他人,您可以这样做:

Install VS 2013/2012 depending on which one you want.
Install VS 2008 and 2010 ( can be express ).

If that doesnt pick up your compiler tools v90/v100 then just follow these instructions:
-Uninstall all C++ 2010 Redists if any, or SDK 7.1 won't install.
-Install Windows SDK 7.1 and then download the Windows C++ Compiler Tools 2010 update for the SDK.
-Install the C++ Redists again.
-Reboot.

-享受吧! :P

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-07-13
    • 2017-04-09
    • 1970-01-01
    • 2014-05-29
    • 1970-01-01
    • 2011-11-15
    相关资源
    最近更新 更多