Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I had a problem compiling on Snow Leopard too, but was able to get it to work by following the instructions at: <a href="http://opencv.willowgarage.com/wiki/Mac_OS_X_OpenCV_Port" rel="nofollow noreferrer">http://opencv.willowgarage.com/wiki/Mac_OS_X_OpenCV_Port</a></p> <p>The only modification I had to make was also to disable ffmpeg inside of ccmake</p> <blockquote> <p>The GNU autotools methods (make &amp;&amp; make install) are being outdated. Volunteers to edit this section?</p> <p>mkdir opencv/build cd opencv/build cmake .. ccmake .</p> <p>If you are on Snow Leopard, hit 't' to toggle advanced mode. Set CMAKE_CXX_COMPILER="/usr/bin/g++-4.0" and CMAKE_C_COMPILER="/usr/bin/gcc-4.0" and then continue with the following steps.</p> <p>Hit 'c' to configure. Hit 'g' to generate the config file and exit ccmake.</p> <p>make -j8 sudo make install</p> <p>If you hit the following build error:</p> <p>/Users/awagner/Developer/opencv2/src/highgui/grfmt_tiff.cpp:292: error: ‘fmtSignTiffII’ was not declared in this scope make[2]: <strong>* [src/highgui/CMakeFiles/highgui.dir/grfmt_tiff.o] Error 1 make<a href="http://opencv.willowgarage.com/wiki/Mac_OS_X_OpenCV_Port" rel="nofollow noreferrer">1</a>: *</strong> [src/highgui/CMakeFiles/highgui.dir/all] Error 2</p> <p>you can get the build to complete by commenting out line 292 of src/highgui/grfmt_tiff.cpp and running make again. (This probably breaks something in TIFF export, but the build at least completes)</p> </blockquote>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload