在VS2012中跑vs2010的程序报错
时间: 2017-01-24来源:开源中国
前景提要
HDC调试需求开发(15万预算),能者速来!>>>
想跑一下TLD目标跟踪的程序,下了一个C++实现的代码
https://github.com/jmfs/OpenTLD
程序是在vs2010下写的,我电脑上装的是vs2012,配置的opencv2.4.10.
打开run_tld时按照提示更新了,平台工具集如果用Visual Studio 2012 (v110)
就会报错,如下
1>------ 已启动全部重新生成: 项目: ZERO_CHECK (Visual Studio 2010), 配置: Debug Win32 ------
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets(42,5): error MSB8020: The builds tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install Visual Studio 2010 to build using the Visual Studio 2010 build tools.
2>------ 已启动全部重新生成: 项目: LKTracker (Visual Studio 2010), 配置: Debug Win32 ------
3>------ 已启动全部重新生成: 项目: ferNN (Visual Studio 2010), 配置: Debug Win32 ------
2>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(1395,5): warning : The referenced project 'C:/Users/Dev/OpenTLD C++/src/ZERO_CHECK.vcxproj' does not exist.
2>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets(42,5): error MSB8020: The builds tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install Visual Studio 2010 to build using the Visual Studio 2010 build tools.
3>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(1395,5): warning : The referenced project 'C:/Users/Dev/OpenTLD C++/src/ZERO_CHECK.vcxproj' does not exist.
3>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets(42,5): error MSB8020: The builds tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install Visual Studio 2010 to build using the Visual Studio 2010 build tools.
4>------ 已启动全部重新生成: 项目: tld (Visual Studio 2010), 配置: Debug Win32 ------
5>------ 已启动全部重新生成: 项目: tld_utils (Visual Studio 2010), 配置: Debug Win32 ------
4>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(1395,5): warning : The referenced project 'C:/Users/Dev/OpenTLD C++/src/ZERO_CHECK.vcxproj' does not exist.
4>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets(42,5): error MSB8020: The builds tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install Visual Studio 2010 to build using the Visual Studio 2010 build tools.
5>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(1395,5): warning : The referenced project 'C:/Users/Dev/OpenTLD C++/src/ZERO_CHECK.vcxproj' does not exist.
5>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets(42,5): error MSB8020: The builds tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install Visual Studio 2010 to build using the Visual Studio 2010 build tools.
6>------ 已启动全部重新生成: 项目: run_tld, 配置: Debug Win32 ------
6>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(1395,5): warning : The referenced project 'C:/Users/Dev/OpenTLD C++/src/LKTracker.vcxproj' does not exist.
6>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(1395,5): warning : The referenced project 'C:/Users/Dev/OpenTLD C++/src/ZERO_CHECK.vcxproj' does not exist.
6>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(1395,5): warning : The referenced project 'C:/Users/Dev/OpenTLD C++/src/ferNN.vcxproj' does not exist.
6>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(1395,5): warning : The referenced project 'C:/Users/Dev/OpenTLD C++/src/tld.vcxproj' does not exist.
6>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(1395,5): warning : The referenced project 'C:/Users/Dev/OpenTLD C++/src/tld_utils.vcxproj' does not exist.
6> Building Custom Rule C:/Users/Dev/OpenTLD C++/src/CMakeLists.txt
6> 系统找不到指定的路径。
6>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(172,5): error MSB6006: “cmd.exe”已退出,代码为 3。
7>------ 已跳过全部重新生成: 项目: ALL_BUILD (Visual Studio 2010), 配置: Debug Win32 ------
7>没有为此解决方案配置选中要生成的项目
========== 全部重新生成: 成功 0 个,失败 6 个,跳过 1 个 ==========
改成v100也还是报错
1>------ 已启动全部重新生成: 项目: ZERO_CHECK (Visual Studio 2010), 配置: Debug Win32 ------
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets(42,5): error MSB8020: The builds tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install Visual Studio 2010 to build using the Visual Studio 2010 build tools.
2>------ 已启动全部重新生成: 项目: LKTracker (Visual Studio 2010), 配置: Debug Win32 ------
3>------ 已启动全部重新生成: 项目: ferNN (Visual Studio 2010), 配置: Debug Win32 ------
3>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(1395,5): warning : The referenced project 'C:/Users/Dev/OpenTLD C++/src/ZERO_CHECK.vcxproj' does not exist.
3>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets(42,5): error MSB8020: The builds tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install Visual Studio 2010 to build using the Visual Studio 2010 build tools.
4>------ 已启动全部重新生成: 项目: tld (Visual Studio 2010), 配置: Debug Win32 ------
2>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(1395,5): warning : The referenced project 'C:/Users/Dev/OpenTLD C++/src/ZERO_CHECK.vcxproj' does not exist.
2>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets(42,5): error MSB8020: The builds tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install Visual Studio 2010 to build using the Visual Studio 2010 build tools.
4>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(1395,5): warning : The referenced project 'C:/Users/Dev/OpenTLD C++/src/ZERO_CHECK.vcxproj' does not exist.
4>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets(42,5): error MSB8020: The builds tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install Visual Studio 2010 to build using the Visual Studio 2010 build tools.
5>------ 已启动全部重新生成: 项目: tld_utils (Visual Studio 2010), 配置: Debug Win32 ------
5>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(1395,5): warning : The referenced project 'C:/Users/Dev/OpenTLD C++/src/ZERO_CHECK.vcxproj' does not exist.
5>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets(42,5): error MSB8020: The builds tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install Visual Studio 2010 to build using the Visual Studio 2010 build tools.
6>------ 已启动全部重新生成: 项目: run_tld (Visual Studio 2010), 配置: Debug Win32 ------
6>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(1395,5): warning : The referenced project 'C:/Users/Dev/OpenTLD C++/src/LKTracker.vcxproj' does not exist.
6>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(1395,5): warning : The referenced project 'C:/Users/Dev/OpenTLD C++/src/ZERO_CHECK.vcxproj' does not exist.
6>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(1395,5): warning : The referenced project 'C:/Users/Dev/OpenTLD C++/src/ferNN.vcxproj' does not exist.
6>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(1395,5): warning : The referenced project 'C:/Users/Dev/OpenTLD C++/src/tld.vcxproj' does not exist.
6>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(1395,5): warning : The referenced project 'C:/Users/Dev/OpenTLD C++/src/tld_utils.vcxproj' does not exist.
6>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets(42,5): error MSB8020: The builds tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install Visual Studio 2010 to build using the Visual Studio 2010 build tools.
7>------ 已跳过全部重新生成: 项目: ALL_BUILD (Visual Studio 2010), 配置: Debug Win32 ------
7>没有为此解决方案配置选中要生成的项目
========== 全部重新生成: 成功 0 个,失败 6 个,跳过 1 个 ==========


应该怎么解决呢?

科技资讯:

科技学院:

科技百科:

科技书籍:

网站大全:

软件大全:

热门排行