开发者社区> 问答> 正文

在VS2012中跑vs2010的程序报错?报错

想跑一下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 个 ==========

 

 

应该怎么解决呢?

 

展开
收起
爱吃鱼的程序员 2020-06-08 17:28:22 724 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    错误列表里面都有啥?

    解决了没有?

    2020-06-08 17:28:32
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
15分钟打造你自己的小程序 立即下载
小程序 大世界 立即下载
《15分钟打造你自己的小程序》 立即下载