gpt4 book ai didi

c++ - 在 VS 2013 中编译使用编译器工具 v90 错误

转载 作者:行者123 更新时间:2023-11-30 03:56:35 25 4
gpt4 key购买 nike

我遇到了一个问题,每次我尝试使用 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 编译的库,我们没有源代码,这给了我们链接器错误。

谢谢

最佳答案

答案是安装 visual studio 2010。 express 工作得很好。对于遇到同样问题的其他人,您可以这样做:

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

关于c++ - 在 VS 2013 中编译使用编译器工具 v90 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28434183/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com