opencv的额外模块cmake,出现如下的错误,请问怎么修改

 我来答
博飞港澳台联考
高粉答主

2015-01-26 · 说的都是干货,快来关注
知道大有可为答主
回答量:1.9万
采纳率:93%
帮助的人:9997万
展开全部
CMake Error: Unable to open cache file for save. C:/Program Files/Opencv_VS2010/CMakeCache.txt
CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:160 (FILE):
file Internal CMake error when trying to open file: C:/Program
Files/Opencv_VS2010/CMakeFiles/CMakeOutput.log for writing.
Call Stack (most recent call first):
CMakeLists.txt:56 (project)
CMake Error: Could not open file for write in copy operation C:/Program Files/Opencv_VS2010/CMakeFiles/CMakeSystem.cmake.tmp
CMake Error: : System Error: No such file or directory
CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:172 (CONFIGURE_FILE):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:56 (project)
CMake Error: Could not open file for write in copy operation C:/Program Files/Opencv_VS2010/CMakeFiles/CMakeCCompiler.cmake.tmp
CMake Error: : System Error: No such file or directory
CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:177 (CONFIGURE_FILE):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:56 (project)
CMake Error: Could not find cmake module file:C:/Program Files/Opencv_VS2010/CMakeFiles/CMakeCCompiler.cmake
CMake Error: Could not open file for write in copy operation C:/Program Files/Opencv_VS2010/CMakeFiles/CMakeCXXCompiler.cmake.tmp
CMake Error: : System Error: No such file or directory
CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:182 (CONFIGURE_FILE):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:56 (project)
CMake Error: Could not find cmake module file:C:/Program Files/Opencv_VS2010/CMakeFiles/CMakeCXXCompiler.cmake
CMake Error: Could not open file for write in copy operation C:/Program Files/Opencv_VS2010/CMakeFiles/CMakeRCCompiler.cmake.tmp
CMake Error: : System Error: No such file or directory
CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineRCCompiler.cmake:65 (CONFIGURE_FILE):
configure_file Problem configuring file
Call Stack (most recent call first):
C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/Platform/Windows-cl.cmake:28 (ENABLE_LANGUAGE)
C:/Program Files/CMake
本回答被提问者和网友采纳
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
xxping_
2015-01-26
知道答主
回答量:18
采纳率:0%
帮助的人:4.9万
展开全部
修改成“如上”就行了
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
sjsj783292
2015-01-26 · 超过19用户采纳过TA的回答
知道答主
回答量:64
采纳率:0%
帮助的人:35.9万
展开全部
如下。。。。。。。。。。。。。。。
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 1条折叠回答
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式