2013-03-03 08:54:35 -0600 | received badge | ● Editor (source) |
2013-03-03 08:51:53 -0600 | asked a question | Help with build errors, 2.4.4, MacOSX Mountain Lion I'm using the unix source package: OpenCV-2.4.4.tar.bz2 I'm using:
My first error was regarding unknown link option "-whole-archive", which doesn't seem to be recognized by ML's gcc, so I took both -whole-archive and -no-whole-archive directives out of link line in "build/modules/java/CMakeFiles/opencv_java.dir/link.txt". That let my build proceed. Now, I get through all the module builds, including java, but then hit:
Can anyone offer any advice at getting past this? I want to use the Java bindings. Are they fully built and useable by now? Would still prefer that the whole build succeeds. TIA for any help! Blat UPDATE: I figured out how to get the build working. I created the dir 'build/modules/java/test/.build/lib' and added the file junit-4.10.jar to it. That fixed it. Why didn't cmake not deal with this? (I would have posted this as an answer, but I'm not allowed to do that for 2 days and will probably forget) |