Matlab binding compilation error in OS X

asked 2014-01-22 13:49:59 -0600

derekmiao gravatar image

updated 2014-01-22 13:53:51 -0600

I'm trying to compile OpenCV with Matlab binding in OS X 10.9.1. I checked out GIT master branch today and used CMake to generate makefile. The compilation of OpenCV libraries is fine, but the compilation of Matlab source files gave an error:

CMake Error at /Users/shunmiao/OpenSource/OpenCV/opencv-git/modules/matlab/compile.cmake:47 (message):
Failed to compile accumulate: Undefined symbols for architecture x86_64:

"cv::_InputArray::getMatVector(std::vector<cv::Mat, std::allocator<cv::Mat> >&) const", referenced from:
    vtable for cv::_InputOutputArray in accumulate.o

ld: symbol(s) not found for architecture x86_64

Does the OpenCV Matlab binding supports OS X 10.9? Thanks!

edit retag flag offensive close merge delete

Comments

I have encountered the exact same problem here building the latest version using source code from Github on OSX. Have you found any solution to this? Thank you.

Hugo Feng gravatar imageHugo Feng ( 2014-08-10 06:51:42 -0600 )edit

I have this exact error message with OpenCV 3.0.0 beta on OS X 10.9 but not with the alpha version of OpenCV 3.0.0 alpha

Vins gravatar imageVins ( 2014-11-25 11:07:52 -0600 )edit

did you get any solution ?

krammer gravatar imagekrammer ( 2015-01-18 09:29:17 -0600 )edit