opencv配置时cmake失败
来源:互联网 发布:发现旅行靠谱吗 知乎 编辑:程序博客网 时间:2024/06/05 17:03
cmake时出现
-- Detected version of GNU GCC: 54 (504)-- Found ZLIB: /usr/lib/i386-linux-gnu/libz.so (found suitable version "1.2.8", minimum required is "1.2.3") -- Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR) -- Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR) -- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR) -- Found ZLIB: /usr/lib/i386-linux-gnu/libz.so (found version "1.2.8") CMake Warning at cmake/OpenCVFindLibsGUI.cmake:18 (find_package): By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5Core", but CMake did not find one. Could not find a package configuration file provided by "Qt5Core" with any of the following names: Qt5CoreConfig.cmake qt5core-config.cmake Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set "Qt5Core_DIR" to a directory containing one of the above files. If "Qt5Core" provides a separate development package or SDK, be sure it has been installed.Call Stack (most recent call first): CMakeLists.txt:535 (include)CMake Warning at cmake/OpenCVFindLibsGUI.cmake:19 (find_package): By not providing "FindQt5Gui.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5Gui", but CMake did not find one. Could not find a package configuration file provided by "Qt5Gui" with any of the following names: Qt5GuiConfig.cmake qt5gui-config.cmake Add the installation prefix of "Qt5Gui" to CMAKE_PREFIX_PATH or set "Qt5Gui_DIR" to a directory containing one of the above files. If "Qt5Gui" provides a separate development package or SDK, be sure it has been installed.Call Stack (most recent call first): CMakeLists.txt:535 (include)CMake Warning at cmake/OpenCVFindLibsGUI.cmake:20 (find_package): By not providing "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5Widgets", but CMake did not find one. Could not find a package configuration file provided by "Qt5Widgets" with any of the following names: Qt5WidgetsConfig.cmake qt5widgets-config.cmake Add the installation prefix of "Qt5Widgets" to CMAKE_PREFIX_PATH or set "Qt5Widgets_DIR" to a directory containing one of the above files. If "Qt5Widgets" provides a separate development package or SDK, be sure it has been installed.Call Stack (most recent call first): CMakeLists.txt:535 (include)CMake Warning at cmake/OpenCVFindLibsGUI.cmake:21 (find_package): By not providing "FindQt5Test.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5Test", but CMake did not find one. Could not find a package configuration file provided by "Qt5Test" with any of the following names: Qt5TestConfig.cmake qt5test-config.cmake Add the installation prefix of "Qt5Test" to CMAKE_PREFIX_PATH or set "Qt5Test_DIR" to a directory containing one of the above files. If "Qt5Test" provides a separate development package or SDK, be sure it has been installed.Call Stack (most recent call first): CMakeLists.txt:535 (include)CMake Warning at cmake/OpenCVFindLibsGUI.cmake:22 (find_package): By not providing "FindQt5Concurrent.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5Concurrent", but CMake did not find one. Could not find a package configuration file provided by "Qt5Concurrent" with any of the following names: Qt5ConcurrentConfig.cmake qt5concurrent-config.cmake Add the installation prefix of "Qt5Concurrent" to CMAKE_PREFIX_PATH or set "Qt5Concurrent_DIR" to a directory containing one of the above files. If "Qt5Concurrent" provides a separate development package or SDK, be sure it has been installed.Call Stack (most recent call first): CMakeLists.txt:535 (include)-- Checking for module 'gstreamer-video-1.0'-- No package 'gstreamer-video-1.0' found-- Checking for module 'gstreamer-app-1.0'-- No package 'gstreamer-app-1.0' found-- Checking for module 'gstreamer-riff-1.0'-- No package 'gstreamer-riff-1.0' found-- Checking for module 'gstreamer-pbutils-1.0'-- No package 'gstreamer-pbutils-1.0' found-- Checking for module 'gstreamer-base-0.10'-- No package 'gstreamer-base-0.10' found-- Checking for module 'gstreamer-video-0.10'-- No package 'gstreamer-video-0.10' found-- Checking for module 'gstreamer-app-0.10'-- No package 'gstreamer-app-0.10' found-- Checking for module 'gstreamer-riff-0.10'-- No package 'gstreamer-riff-0.10' found-- Checking for module 'gstreamer-pbutils-0.10'-- No package 'gstreamer-pbutils-0.10' found-- Checking for module 'libdc1394-2'-- No package 'libdc1394-2' found-- Checking for module 'libdc1394'-- No package 'libdc1394' found-- Checking for module 'libv4l1'-- No package 'libv4l1' found-- Checking for module 'libv4l2'-- No package 'libv4l2' found-- Looking for linux/videodev.h-- Looking for linux/videodev.h - not found-- Looking for linux/videodev2.h-- Looking for linux/videodev2.h - found-- Looking for sys/videoio.h-- Looking for sys/videoio.h - not found-- Checking for module 'libavcodec'-- No package 'libavcodec' found-- Checking for module 'libavformat'-- No package 'libavformat' found-- Checking for module 'libavutil'-- No package 'libavutil' found-- Checking for module 'libswscale'-- No package 'libswscale' found-- Checking for module 'libavresample'-- No package 'libavresample' found-- Looking for libavformat/avformat.h-- Looking for libavformat/avformat.h - not found-- Looking for ffmpeg/avformat.h-- Looking for ffmpeg/avformat.h - not found-- Checking for module 'libgphoto2'-- No package 'libgphoto2' found-- On 32-bit Linux IPP can not currently be used with dynamic libs because of linker errors. Set BUILD_SHARED_LIBS=OFF-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- To enable PlantUML support, set PLANTUML_JAR environment variable or pass -DPLANTUML_JAR=<filepath> option to cmake-- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.12", minimum required is "2.7") -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.5.1", minimum required is "3.4") -- Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) (Required is exact version "3.5.1")Traceback (most recent call last): File "<string>", line 1, in <module>ImportError: No module named 'numpy'-- Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH) -- Could NOT find Matlab (missing: MATLAB_MEX_SCRIPT MATLAB_INCLUDE_DIRS MATLAB_LIBRARIES MATLAB_LIBRARY_DIRS MATLAB_MEXEXT MATLAB_ARCH MATLAB_BIN) -- VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file-- Caffe: NO-- Protobuf: NO-- Glog: NOCMake Error at cmake/OpenCVUtils.cmake:857 (file): file MD5 failed to read file "/home/yalishanda/Downloads/opencv-3.1.0/3rdparty/tinydnn/": SuccessCall Stack (most recent call first): /home/yalishanda/Downloads/opencv_contrib-master/modules/dnn_modern/CMakeLists.txt:20 (ocv_download)-- Downloading ...CMake Error at cmake/OpenCVUtils.cmake:895 (file): file DOWNLOAD cannot open file for write.Call Stack (most recent call first): /home/yalishanda/Downloads/opencv_contrib-master/modules/dnn_modern/CMakeLists.txt:20 (ocv_download)CMake Error at cmake/OpenCVUtils.cmake:899 (message): Failed to download . Status=Call Stack (most recent call first): /home/yalishanda/Downloads/opencv_contrib-master/modules/dnn_modern/CMakeLists.txt:20 (ocv_download)-- Configuring incomplete, errors occurred!See also "/home/yalishanda/Downloads/opencv-3.1.0/CMakeFiles/CMakeOutput.log".See also "/home/yalishanda/Downloads/opencv-3.1.0/CMakeFiles/CMakeError.log".
Configuring incomplete, errors occurred!
这中种情况时,在网上找了几天都没找到解决办法,
为了解决一个问题衍生出了很多问题,,,,,,你可以考虑查看 CMakeError.log 看看能不能找到问题并简单解决,毕竟情况可能不同,反正我是越搞越复杂,最后果断重装,然后解决掉了,点击打开链接
阅读全文
0 0
- opencv配置时cmake失败
- Cmake 编译配置失败
- OpenCV Cmake失败的解决方案
- Mac配置Opencv时出现cmake错误
- CMake自动配置OpenCV
- CMake 配置编译OpenCV+CUDA
- opencv + cmake + vs2010 配置过程
- opencv+qt+tbb+vs2010,cmake配置心得
- opencv eclipse cmake mingw 编译 配置
- VS2012+CMake重编译和配置OpenCV
- build opencv cmake-gui 配置eigen路径
- opencv 在ubuntu的cmake配置
- 【opencv】opencv+python配置失败解决方法
- CMake配置OpenCV 时静态链接与动态链接的选择
- 安装opencv时cmake的问题
- Linux opencv Cmake无界面更改配置的方法
- opencv cmake教程以及环境变量配置(转载)
- Android studio2.2配置opencv for android(CMake方式)
- 学习NLP路上的碎碎念
- FPGA吧,感觉潜力更大,若两者能结合更好
- 开源框架学习
- R中协同过滤算法
- POJ 3737 三分
- opencv配置时cmake失败
- undefined is not a function错误解决
- HDU 5821 Ball 思路题
- 使用JSCore- iOS 原生的框架实现js和oc混编
- spring上传图片到web服务器
- TypeError: 'dict_keys' object does not support indexing
- python open() 文件解码问题
- JSP
- 每天一个linux命令(24):文件权限命令 chown命令