可能重复:
cmake is not working in opencv c++ projectCMake的还是不带OpenCV的工作
我的CMake有一个巨大的问题,I posted a question,但它并没有帮助。
我不断收到不合理的错误,我和我的合作伙伴无法解决它。以下是文件:
http://dl.dropbox.com/u/62218293/royshil-FoodcamClassifier-4ba20bb.zip
我使用Visual Studio 2010在Windows 7中,我发现了以下错误: 没有任何人有任何想法,我怎么能解决这个问题?
'CMake Error: Unable to open cache file for save. C:/Program Files/CMake 2.8/bin/CMakeCache.txt CMake Error at CMakeLists.txt:4 (FIND_PACKAGE): Could not find module FindOpenCV.cmake or a configuration file for package OpenCV. Adjust CMAKE_MODULE_PATH to find FindOpenCV.cmake or set OpenCV_DIR to the directory containing a CMake configuration file for OpenCV. The file will have one of the following names: OpenCVConfig.cmake opencv-config.cmake OpenCV_DIR-NOTFOUND Configuring incomplete, errors occurred! CMake Error: Unable to open cache file for save. C:/Program Files/CMake 2.8/bin/CMakeCache.txt CMake Error: : System Error: Permission denied CMake Error: : System Error: Permission denied'
抱歉,我不打算下载一个zip文件,为你重新编译并上传它。我很想帮忙,但是你需要发布更多的细节,比如安装openCV的地方等。 – cbrulak 2012-03-23 20:36:41
它被安装在C盘上 – SafeY 2012-03-23 20:41:09
这是一个关于q&a的论坛,而不是一群愿意为你工作的人。 – Castilho 2012-03-23 20:52:16