visual studio2010问题导致CMake执行例子时出错Error in configuration process,project files may be invalid

在尝试使用CMake配置项目时遇到'Error in configuration process, project files may be invalid'错误,原因是C编译器识别失败。错误详细信息为'LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt'。解决方案是检查并删除或重命名旧版cvtres.exe文件,或者调整PATH环境变量。" 110336411,10326146,Python实现简单算式计算器,"['Python', '编程', '算法', '计算器']
摘要由CSDN通过智能技术生成


详细错误:

弹出框“Error in configuration process,project files may be invalid”
The CXX compiler identification is unknown
The C compiler identification is MSVC 16.0.30319.1
Check for working C compiler using: Visual Studio 10
Check for working C compiler using: Visual Studio 10 -- broken
CMakeErrorat D:/OpenCV/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "D:/vs2010 setup/VC/bin/cl.exe" is not able to compile a
simple test program.
It fails with the following output:

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值