Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Matlab binding compilation error in OS X

I'm trying to compile OpenCV with Matlab binding in OS X 10.9.1. I used CMake to generate makefile compiled it. The compilation of OpenCV libraries are 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!

Matlab binding compilation error in OS X

I'm trying to compile OpenCV with Matlab binding in OS X 10.9.1. I used CMake to generate makefile and compiled it. The compilation of OpenCV libraries are 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!

Matlab binding compilation error in OS X

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 and compiled it. 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!