I have set up the lib path correctly for sbt and build path for eclipse, however, I kept getting this error from both sbt and eclipse: java.lang.UnsatisfiedLinkError: no opencv_imgproc in java.library.path.This is very weird. I can successfully run the program without using classes from the com.googlecode.javacv.cpp.opencv_imgproc, for example using opencv_core. But when using classes from this opencv_imgproc, the error comes.Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/javacpp1051808295623/libjniopencv_nonfree.so: libopencv_calib3d.so.2.4: cannot open shared object file: No such file or directoryat java.lang.ClassLoader$NativeLibrary.load(Native Method)at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825)at java.lang.Runtime.load0(Runtime.java:792)at java.lang.System.load(System.java:1059)at com.googlecode.javacpp.Loader.loadLibrary(Loader.java:566)at com.googlecode.javacpp.Loader.load(Loader.java:489)at com.googlecode.javacpp.Loader.load(Loader.java:431)at com.googlecode.javacv.cpp.opencv_nonfree.<clinit>(opencv_nonfree.java:88)at java.lang.Class.forName0(Native Method)at java.lang.Class.forName(Class.java:266)at com.googlecode.javacpp.Loader.load(Loader.java:453)at com.googlecode.javacpp.Loader.load(Loader.java:431)at com.googlecode.javacv.cpp.opencv_nonfree$SIFT.<clinit>(opencv_nonfree.java:96)at py.Hello$.main(Hello.scala:43)at py.Hello.main(Hello.scala)Caused by: java.lang.UnsatisfiedLinkError: no opencv_imgproc in java.library.pathat java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860)at java.lang.Runtime.loadLibrary0(Runtime.java:845)at java.lang.System.loadLibrary(System.java:1084)at com.googlecode.javacpp.Loader.loadLibrary(Loader.java:593)at com.googlecode.javacpp.Loader.load(Loader.java:481)... 9 more
--
--- You received this message because you are subscribed to a topic in the Google Groups "javacv" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/javacv/VPkgEKPOwEQ/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to javacv+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
--- You received this message because you are subscribed to a topic in the Google Groups "javacv" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/javacv/VPkgEKPOwEQ/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to javacv+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
--- You received this message because you are subscribed to a topic in the Google Groups "javacv" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/javacv/VPkgEKPOwEQ/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to javacv+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
--- You received this message because you are subscribed to a topic in the Google Groups "javacv" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/javacv/VPkgEKPOwEQ/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to javacv+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I have fixed the problem. See here, https://code.google.com/p/javacv/downloads/list. There is a javacv-0.5-cppjars.zip. That is the precompiled opencv libraries.
On 05/20/2013 11:19 PM, Peng, Yang wrote:It's still not clear what you're doing... There are no "precompiled" versions in the "source code repository", so you must be meaning something else.
I use precompiled latest versions from the repository.
Anyway, could you provide a few lines of code that fail so I could try to reproduce it here and fix it? Thanks!
Samuel
--
--- You received this message because you are subscribed to a topic in the Google Groups "javacv" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/javacv/VPkgEKPOwEQ/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to javacv+un...@googlegroups.com.