Cannot generate matlab bindings in OpenCV
Hi
I am trying to compile OpenCV on 64bit ubuntu system having Matlab R2014b(64bit) with gcc 4.9.x.
I use the following cmake parameters:
cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/home/siddharth/opencv-master/install -D OPENCV_EXTRA_MODULES=/home/siddharth/opencv-master/opencv_contrib-master -D MATLAB_ROOT_DIR=/home/siddharth/matlab -D WITH_IPP=off ..
But during the configuration, I get the following message:
Matlab: -- mex: /home/siddharth/matlab/bin/mex -- Compiler/generator: Not working (bindings will not be generated)
I have checked that I can compile mex files from within Matlab. All other modules are generated in the build directory except the matlab bindings. I have also seen the question: Bindings to access openCV from MATLAB do not generate. But no working solution is there.
I have put the output of cmake at http://pastebin.com/rWcttkTU
How can I proceed now ? (FYI, I don't have Computer Vision Toolbox in Matlab if that matters)
EDIT: I report same behaviour with both OpenCV-3.0.0 beta and opencv-master(from github).
there's current refactoring of the general wrapper mechanisms going on, it seems like the matlab ones were temporarily disabled
(i guess, you will have to wait a few days, and watch the github repo)
Or you clone the 3.0.0 branch which already contained the wrappers but with possibly alot of bugs :D
Is there anybody around who recently (since January 2015) was able to build the openCV 3 beta code and matlab bindings from source code?
@StevenPuttemans: Hi, I also use branch 3.0.0-dev, if it contains a lot of bugs, but bindings should not be a problem. So sad, I cannot build it also.