【发布时间】:2015-10-13 00:57:21
【问题描述】:
我在构建 OpenCV 3 和贡献 matlab 模块时遇到问题,
我使用:
cmake -D MATLAB_ROOT_DIR=/usr/local/MATLAB/R2014a/bin -DOPENCV_EXTRA_MODULES_PATH=/home/me/OpenCV/opencv/opencv_contrib-master/modules /home/me/OpenCV/opencv -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_NEW_PYTHON_SUPPORT=ON -D BUILD_EXAMPLES=ON ..
但是,包括 matlab 在内的一些模块失败了,这是我目前需要的。
虽然它确实找到了 mex,但它不会生成/构建并在不可用模块下显示它。
我感谢任何关于可能是什么原因以及如何解决它的想法。谢谢!
Matlab:
-- mex: /usr/local/MATLAB/R2014a/bin/mex
-- 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.6", minimum required is "2.7")
-- Found PythonInterp: /usr/bin/python3.4 (found suitable version "3.4", minimum required is "3.4")
-- Could NOT find PythonLibs (missing: PYTHON_INCLUDE_DIRS) (found suitable exact version "3.4.0")
-- Could NOT find Matlab (missing: MATLAB_ARCH)
-- VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file
【问题讨论】:
标签: matlab opencv ubuntu opencv3.0