make OpenCV2.0 on Mac OSx

asked 2013-03-14 11:45:30 -0600

I have encountered an error while running the 'make' command in the terminal in an attempt to cmake the libraries for OpenCV2.0.0 on Mac OSX 10.8.2, the two errors are:

In file included from /OpenCV-2.0.0/src/cxcore/cxalloc.cpp:43: In file included from /OpenCV-2.0.0/src/cxcore/_cxcore.h:60: In file included from /OpenCV-2.0.0/include/opencv/cxcore.h:2123: In file included from /OpenCV-2.0.0/include/opencv/cxcore.hpp:2243: /OpenCV-2.0.0/include/opencv/cxoperations.hpp:1137:15: error: no viable overloaded '=' r = Range(0, d.size());

In file included from /OpenCV-2.0.0/src/cxcore/cxalloc.cpp:43: In file included from /OpenCV-2.0.0/src/cxcore/_cxcore.h:60: In file included from /OpenCV-2.0.0/include/opencv/cxcore.h:2123: In file included from /OpenCV-2.0.0/include/opencv/cxcore.hpp:2244: /OpenCV-2.0.0/include/opencv/cxmat.hpp:3881:14: error: call to non-static member function without an object argument Mat::operator = (m);

I have CMake and XCode installed, what have I missed in my installation procedure?

edit retag flag offensive close merge delete