Closed egozi closed 8 years ago
The master branch assumes latest stable OpenCV version (2.4.5 as of now). Otherwise checkout the 2.4.0
tag
How do I " checkout the 2.4.0 tag " ?
Thanks for your help.
I reinstall the newest version of OpenCv which is 2.4.9, and the mexopencv again.
Now I get:
In file included from src/+cv/adaptiveThreshold.cpp:7:0:
include/mexopencv.hpp:55:16: error: ‘CV_DIST_USER’ was not declared in this scope
include/mexopencv.hpp:56:16: error: ‘CV_DIST_L1’ was not declared in this scope
include/mexopencv.hpp:57:16: error: ‘CV_DIST_L2’ was not declared in this scope
include/mexopencv.hpp:58:16: error: ‘CV_DIST_C’ was not declared in this scope
include/mexopencv.hpp:59:16: error: ‘CV_DIST_L12’ was not declared in this scope
include/mexopencv.hpp:60:16: error: ‘CV_DIST_FAIR’ was not declared in this scope
include/mexopencv.hpp:61:16: error: ‘CV_DIST_WELSCH’ was not declared in this scope
include/mexopencv.hpp:62:16: error: ‘CV_DIST_HUBER’ was not declared in this scope
mex: compile of ' "src/+cv/adaptiveThreshold.cpp"' failed.
@egozi: As I mentioned above, mexopencv is tested against the latest stable release (2.4.5 at this moment). It wont work with the bleeding-edge version (at least without modification)...
Hi
First, I'd like to note that this is a great contribution and very useful project (at least for me :-)).
I use Ubuntu 13.04, Matlab 2013a and OpenCV 2.4.0.
Almost all the mex were compiled smoothly, 3 cause errors: