Ask Your Question

CMake build crash on Mac OS 10.8

asked 2012-08-02 03:15:51 -0500

mkeuschn gravatar image

updated 2018-10-20 21:17:38 -0500


I got following error:

ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [lib/libopencv_highgui.2.4.9.dylib] Error 1 make[1]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2 make: *** [all] Error 2

Can anyone give me an hint what to do? regards, Marko

PS.: How can I create the opencv.framework archive? There exists an example which is needing this archive.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2012-08-09 06:46:50 -0500

Adwa gravatar image

I'm sorry I don't know about the error, but I'm replying to the PS.

Kindly, read this article :

Good luck!

edit flag offensive delete link more

answered 2012-08-20 10:47:34 -0500

lvicks gravatar image

updated 2012-08-20 10:48:26 -0500

A dependent library is not found for the OS X 64bit architecture, and your compilation is failing. What method are you using for the compilation? I would turn on verbose, and see which library is the issue, then see if the library exists or not. If it doesn't exist, then install it. If it exists, then you need to adjust your path to find the library. I can give some more details if you tell me how you are attempting to compile (macports, source, etc?)

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2012-08-02 03:15:51 -0500

Seen: 539 times

Last updated: Aug 20 '12