按照http://docs.opencv.org/2.4.4-beta/doc/tutorials/introduction/desktop_java/java_dev_intro.html的指示,我遇到了这个:
make -j8
...
...
链接CXX共享库../../lib/libopencv_java244.dylib
ld:未知选项:-whole-archive
clang:错误:链接器命令失败,退出代码1(使用-v查看调用)
make[2]: * [lib/libopencv_java244.dylib] 错误 1
make[1]: * [modules/java/CMakeFiles/opencv_java.dir/all] 错误 2
make: *** [all] 错误 2
有什么建议么?