我正在尝试在 Scientific Linux SL 版本 5.0 (Boron) 上设置具有 FFMPEG v0.11 支持的 OpenCV v2.4.1,但我遇到了一个丢失文件的问题,该文件似乎完全没有记录。我得到的错误如下:
-- Install configuration: "Release"
-- Up-to-date: /home/s18/s1138832/OpenCV/include/opencv/cv.h
-- Up-to-date: /home/s18/s1138832/OpenCV/include/opencv/cxmisc.h
-- Up-to-date: /home/s18/s1138832/OpenCV/include/opencv/cvwimage.h
-- Up-to-date: /home/s18/s1138832/OpenCV/include/opencv2/opencv.hpp
CMake Error at modules/core/cmake_install.cmake:63 (FILE):
file INSTALL cannot find file
"/home/s18/s1138832/OpenCV/lib/libopencv_core.so.2.4.1" to install.
Call Stack (most recent call first):
modules/cmake_install.cmake:57 (INCLUDE)
cmake_install.cmake:56 (INCLUDE)
老实说,我现在不知道从哪里开始解决这个问题。几天前我在没有 ffmpeg 的情况下成功安装,但现在我什至无法在 ffmpeg 支持设置为关闭的情况下安装。
链接到缺失库的文件是:
lrwxrwxrwx 1 s1138832 s18 21 Jun 17 18:26 libopencv_core.so -> libopencv_core.so.2.4
lrwxrwxrwx 1 s1138832 s18 23 Jun 17 18:26 libopencv_core.so.2.4 -> libopencv_core.so.2.4.1
任何朝着正确方向的建议或刺激都将不胜感激。我也很乐意提供更多关于我可能遗漏的有趣细节的信息。
更新:这个网站似乎有同样的错误,但我无法阅读它并且翻译不完整 - http://www.opencv.org.cn/forum/viewtopic.php?f=1&t=15664 ( http:// translate.google.com/translate?sl=auto&tl=en&js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&u=http%3A%2F%2Fwww.opencv.org.cn%2Fforum%2Fviewtopic.php%3Ff% 3D1%26t%3D15664&act=url )
libopencv_core.so.2.4.1 在“make”之后存在,但“make install”会以某种方式将其删除。我复制它并再次添加它,但它没有改变任何东西