Trouble Installing on OSX 10.8

asked 2013-10-03 17:12:29 -0500

I am having some trouble getting OpenCV to install on my OSX computer. I get a build error at 29%. From all my searching it appears that this was an error that was resolved in the latest version of openCV which I have verified I have but I still get the error. Here is what the output looks like:

[ 29%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_main.cpp.o
/Users/steve/openCV/opencv- error: multiple unsequenced modifications to 'argc'
/Users/steve/openCV/opencv- note: expanded from macro 'CV_PERF_TEST_MAIN'
    CV_PERF_TEST_MAIN_INTERNALS(modulename, plain_only, __VA_ARGS__)\
/Users/steve/openCV/opencv- note: expanded from macro
    while (++argc >= (--argc,-1)) {__VA_ARGS__; break;} /*this ugly construction is needed for VS 2005*/\
           ^          ~~
1 error generated.
make[2]: *** [modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_main.cpp.o] Error 1
make[1]: *** [modules/core/CMakeFiles/opencv_perf_core.dir/all] Error 2
make: *** [all] Error 2
edit retag flag offensive close merge delete