Mar
20

If you are trying to install Emgu CV on OSX you may run into some issues:

ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [bin/libopencv_videoio.3.0.0.dylib] Error 1
make[1]: *** [opencv/modules/videoio/CMakeFiles/opencv_videoio.dir/all] Error 2
make: *** [all] Error 2

 

Try running cmake like so:

cmake -DCMAKE_OSX_ARCHITECTURES=i386 -DBUILD_PERF_TESTS=FALSE -DBUILD_TESTS:BOOL=FALSE -DBUILD_DOCS:BOOL=FALSE -DBUILD_JPEG=TRUE -DBUILD_PNG=TRUE -DBUILD_TIFF=TRUE -DWITH_WEBP:BOOL=OFF -DWITH_IPP:BOOL=OFF -DBUILD_WITH_DEBUG_INFO:BOOL=OFF -DBUILD_opencv_ts:BOOL=OFF -DBUILD_opencv_apps:BOOL=OFF -DWITH_CUDA:BOOL=OFF -DWITH_FFMPEG:BOOL=FALSE -DOPENCV_EXTRA_MODULES_PATH=./opencv_contrib/modules .
About Jim Walker:

Find all posts by Jim | Visit Website

You can leave a response, or trackback from your own site.