-
Notifications
You must be signed in to change notification settings - Fork 318
MATLAB2013a update and mexopencv failing #62
Comments
What is your OpenCV version? If you're using 2.3.x, please use the mexopencv v2.3 branch. |
I'm using OpenCV version 2.4.4 and latest mexopencv |
Alright, then you need to make sure your shared object is loaded in matlab as expected. Repeat the following steps to find a missing dependency. Use ldd in unix shell.
Use ldd in matlab shell.
Find any difference in the loaded libraries. Usually such libraries are causing error. If you find any, such as libstdc++ or libgcc_s, put them in the
If you still cannot solve this issue, I suspect your opencv installation is missing something. |
Thank you. This doesn't seem right: From matlab !ldd:
and from console ldd:
There shouldn't be any OpenCV related stuff under MATLAB, right? Or is this copied during 'make' in mexopencv? Thanks |
Hmm, if I, for instance, preload OpenCV core and High gui, then things starts to work again. For instance cv.imread is working again. I can't figure out why these opencv shared objects are in the matlab installation. Is it something new or have I done something wrong? |
This can happen if you have the computer vision toolbox from mathworks. They internally use opencv, and therefore it gives you version conflict. Unless you link mexopencv with these mathworks-provided libraries, you should preload to avoid issues. |
Thank you. That would be the reason. I will preload OpenCV libs. |
Hi,
I recently upgraded to MATLAB 2013a and now function which used to work are failing. (I've also updated the OS, so that might also be the problem)
For instance, cv.FeatureDetector is failing, from MATLAB:
Please let me know if I should supply additional information. Thank you
The text was updated successfully, but these errors were encountered: