Ask Your Question

Developer's profile - activity

2013-12-02 23:56:54 -0600 received badge  Popular Question (source)
2013-03-16 09:04:12 -0600 commented answer installation problem opencv-2.4.4 on Mac OS X 10.8.3

Thank you!!! Your way work. Just different is [cmake -G "Unix Makefiles" ..]

2013-03-16 09:02:29 -0600 received badge  Scholar (source)
2013-03-16 08:35:53 -0600 received badge  Editor (source)
2013-03-15 20:21:31 -0600 asked a question installation problem opencv-2.4.4 on Mac OS X 10.8.3

I reffered....
http://docs.opencv.org/2.4.4-beta/doc/tutorials/introduction/desktop_java/java_dev_intro.html

git clone git://github.com/Itseez/opencv.git 
cd opencv 
git checkout 2.4 
mkdir build 
cd build 
cmake -DBUILD_SHARED_LIBS=OFF .. 
make -j8

But make fail at "make -j8" step...

Linking CXX shared library ../../bin/libopencv_java244.dylib 
ld: unknown option: -whole-archive 
clang: error: linker command failed with exit code 1 (use -v to see invocation) 
make[2]: *** [bin/libopencv_java244.dylib] Error 1 
make[1]: *** [modules/java/CMakeFiles/opencv_java.dir/all] Error 2 
make[1]: *** Waiting for unfinished jobs.... 
Linking CXX executable ../../bin/opencv_perf_gpu 
[ 89%] Built target opencv_perf_gpu 
make: *** [all] Error 2

How can I build it????