Cmake--Error in configuration process, project files maybe invalid
2017-02-27 15:42
501 查看
之前用Cmake在电脑上编译过OpenCV的源码,
好久不用了,今天又用Cmake来编译一个开源的程序,
结果显示:Error in configuration process, project files maybe invalid。
固执的认为不可能是系统的问题,但是试了很多次,也查找了很多自己以前配置的方法,
结果还是以失败告终。最后还是得查看错误提示:
查看错误内容提示为:LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt [C:\***\build\CMakeFiles\CMakeTmp\cmTC_a1134.vcxproj]
于是又在网络上搜索,结果是VS下面负责conversion to COFF 的cvtres.exe 文件失效导致,
然后参考这篇文章:http://blog.chinaunix.net/xmlrpc.php?r=blog/article&uid=20726500&id=4528320
将cvtres.exe 的文件名改掉,然后OpenCV的源码又可以编译了。
不过问题是,我今天要做的的这个源码还是不能通过Cmake编译,还不知道是为什么?依然debug中... ..
好久不用了,今天又用Cmake来编译一个开源的程序,
结果显示:Error in configuration process, project files maybe invalid。
固执的认为不可能是系统的问题,但是试了很多次,也查找了很多自己以前配置的方法,
结果还是以失败告终。最后还是得查看错误提示:
查看错误内容提示为:LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt [C:\***\build\CMakeFiles\CMakeTmp\cmTC_a1134.vcxproj]
于是又在网络上搜索,结果是VS下面负责conversion to COFF 的cvtres.exe 文件失效导致,
然后参考这篇文章:http://blog.chinaunix.net/xmlrpc.php?r=blog/article&uid=20726500&id=4528320
将cvtres.exe 的文件名改掉,然后OpenCV的源码又可以编译了。
不过问题是,我今天要做的的这个源码还是不能通过Cmake编译,还不知道是为什么?依然debug中... ..
相关文章推荐
- CMake error: error in configuration process, project files may be invalid
- 解决办法:CMake编译时出现“error in configuration process project files may be invalid”
- cmake编译出现error in configuration process,project files may be invalid
- CMake编译时出现“error in configuration process project files may be invalid”
- CMake error: error in configuration process, project files may be invalid
- cmake编译出现errorinconfigurationprocess,projectfilesmaybeinvalid
- CMake error: error in configuration process, project files may be invalid
- 解决办法:CMake编译时出现“error in configuration process project files may be invalid”
- visual studio2010问题导致CMake执行例子时出错Error in configuration process,project files may be invalid
- 解决windows安装opencv中,出现问题:error configuration process, project files may be invalid
- error: Invalid temp directory in chart handler configuration [c:\TempImageFiles\] -> asp:Chart
- Invalid temp directory in chart handler configuration [c:\TempImageFiles\]解决方法
- Invalid temp directory in chart handler configuration [c:\TempImageFiles\]
- CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
- Invalid temp directory in chart handler configuration [c:\TempImageFiles\]
- C# Chat曲线图,在发布之后出现错误 Invalid temp directory in chart handler configuration c:\TempImageFiles\
- Invalid temp directory in chart handler configuration [c:\TempImageFiles\]解决方法
- Error running paycenter: Cannot run program "C:\Program Files" (in directory "C:\"): CreateProcess e
- Invalid temp directory in chart handler configuration [c:\TempImageFiles\]
- 启动jupyter&ipython时,报错“Fatal error in launcher: Unable to create process using '"'”