I am compiling OpenCV 3.0.0 with extra modules. I did set the cmake variable:
-D MATLAB_ROOT_DIR=/Applications/MATLAB_R2013a.app.
However, I got errors below in the cmake summary and matla bindings are not produced.
-- Matlab:
-- mex: /Applications/MATLAB_R2013a.app/bin/mex
-- Compiler/generator: Not working (bindings will not be generated)
CMake Warning (dev) at opencv_contrib/modules/matlab/test/CMakeLists.txt:17 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
The dependency target "opencv_matlab" of target "opencv_test_matlab" does
not exist.
This warning is for project developers. Use -Wno-dev to suppress it.
My system is:
Mac OSX 10.10.3
Matlab R2013a
CMake 3.2.3
Please guide me what to do in order to create matlab bindings.
I am compiling OpenCV 3.0.0 with extra modules. I did set the cmake variable: -D MATLAB_ROOT_DIR=/Applications/MATLAB_R2013a.app.
However, I got errors below in the cmake summary and matla bindings are not produced. -- Matlab: -- mex: /Applications/MATLAB_R2013a.app/bin/mex -- Compiler/generator: Not working (bindings will not be generated)
CMake Warning (dev) at opencv_contrib/modules/matlab/test/CMakeLists.txt:17 (add_dependencies): Policy CMP0046 is not set: Error on non-existent dependency in add_dependencies. Run "cmake --help-policy CMP0046" for policy details. Use the cmake_policy command to set the policy and suppress this warning.
The dependency target "opencv_matlab" of target "opencv_test_matlab" does not exist. This warning is for project developers. Use -Wno-dev to suppress it.
My system is: Mac OSX 10.10.3 Matlab R2013a CMake 3.2.3 Please guide me what to do in order to create matlab bindings.