Javacv + Yosemite + Eclipse: Project not running, java.lang.UnsatisfiedLinkError -
Javacv + Yosemite + Eclipse: Project not running, java.lang.UnsatisfiedLinkError -
ok, problem has been faced several times, i'm not able solve in circumstances. few days ago upgraded mac yosemite. before that, project started without problems! (i mean, mavericks os) mac pro retina 13.3" of lastly year.
i'm implementing face recognizer in java, need apis opencv , wrappers javacv (i'm using 0.9 version). next instructions javacv/javacpp developers, linked eclipse/java project: javacv.jar, javacpp.jar , opencv-macosx-x86_64.jar. eclipse says me fine, when seek create run, get:
init, please wait... creating detector... exception in thread "main" java.lang.unsatisfiedlinkerror: /users/*/desktop/javacv-bin/opencv-macosx-x86_64/org/bytedeco/javacpp/macosx-x86_64/libjniopencv_core.dylib: dlopen(/users/*/desktop/javacv-bin/opencv-macosx-x86_64/org/bytedeco/javacpp/macosx-x86_64/libjniopencv_core.dylib, 1): library not loaded: @rpath/libopencv_core.2.4.dylib referenced from: /users/*/desktop/javacv-bin/opencv-macosx-x86_64/org/bytedeco/javacpp/macosx-x86_64/libjniopencv_core.dylib reason: no suitable image found. did find: /users/*/desktop/javacv-bin/opencv-macosx-x86_64/org/bytedeco/javacpp/macosx-x86_64/./libopencv_core.2.4.dylib: malformed mach-o image: load command #12 length (0) little in /users/*/desktop/javacv-bin/opencv-macosx-x86_64/org/bytedeco/javacpp/macosx-x86_64/./libopencv_core.2.4.dylib @ java.lang.classloader$nativelibrary.load(native method) @ java.lang.classloader.loadlibrary0(classloader.java:1929) @ java.lang.classloader.loadlibrary(classloader.java:1847) @ java.lang.runtime.loadlibrary0(runtime.java:870) @ java.lang.system.loadlibrary(system.java:1119) @ org.bytedeco.javacpp.loader.loadlibrary(loader.java:535) @ org.bytedeco.javacpp.loader.load(loader.java:410) @ org.bytedeco.javacpp.loader.load(loader.java:353) @ org.bytedeco.javacpp.opencv_core.<clinit>(opencv_core.java:10) @ java.lang.class.forname0(native method) @ java.lang.class.forname(class.java:340) @ org.bytedeco.javacpp.loader.load(loader.java:385) @ org.bytedeco.javacpp.loader.load(loader.java:353) @ org.bytedeco.javacpp.opencv_objdetect$cascadeclassifier.<clinit>(opencv_objdetect.java:618) @ javacvopencvcaptureframes.detector.<init>(detector.java:22) @ javacvopencvcaptureframes.captureframe.main(captureframe.java:52) caused by: java.lang.unsatisfiedlinkerror: /private/var/folders/1h/39dk7v3n4ng0phg9ldwnccsh0000gn/t/javacpp8317818567016/libjniopencv_core.dylib: dlopen(/private/var/folders/1h/39dk7v3n4ng0phg9ldwnccsh0000gn/t/javacpp8317818567016/libjniopencv_core.dylib, 1): library not loaded: @rpath/libopencv_core.2.4.dylib referenced from: /private/var/folders/1h/39dk7v3n4ng0phg9ldwnccsh0000gn/t/javacpp8317818567016/libjniopencv_core.dylib reason: no suitable image found. did find: /private/var/folders/1h/39dk7v3n4ng0phg9ldwnccsh0000gn/t/javacpp8317818567016/./libopencv_core.2.4.dylib: malformed mach-o image: load command #12 length (0) little in /private/var/folders/1h/39dk7v3n4ng0phg9ldwnccsh0000gn/t/javacpp8317818567016/./libopencv_core.2.4.dylib @ java.lang.classloader$nativelibrary.load(native method) @ java.lang.classloader.loadlibrary0(classloader.java:1929) @ java.lang.classloader.loadlibrary(classloader.java:1814) @ java.lang.runtime.load0(runtime.java:809) @ java.lang.system.load(system.java:1083) @ org.bytedeco.javacpp.loader.loadlibrary(loader.java:524) ... 10 more
what sounds unusual me "malformed mach-o image: load command #12 length (0) little in" .... mean? i've redownloaded javacv packages several times, it's same story.
any help useful, give thanks you!
kevin :)
java eclipse opencv
Comments
Post a Comment