sheena19 / javacv

Automatically exported from code.google.com/p/javacv
GNU General Public License v2.0
0 stars 0 forks source link

While using OpenCV 2.4.9 and JavaCV 0.7 in netbeans windows 7 getting error #496

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I setup opencv and javacv as per this link 
http://opencvlover.blogspot.in/2012/04/javacv-setup-with-eclipse-on-windows-7.ht
ml

but it gives following error

Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: no 
jniopencv_highgui in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886)
    at java.lang.Runtime.loadLibrary0(Runtime.java:849)
    at java.lang.System.loadLibrary(System.java:1088)
    at com.googlecode.javacpp.Loader.loadLibrary(Loader.java:711)   at com.googlecode.javacpp.Loader.loadLibrary(Loader.java:711)
    at com.googlecode.javacpp.Loader.load(Loader.java:586)
    at com.googlecode.javacpp.Loader.load(Loader.java:540)
    at com.googlecode.javacv.cpp.opencv_highgui.<clinit>(opencv_highgui.java:79)
    at com.forms.VirtualDressingApp.startCamera(VirtualDressingApp.java:87)
    at com.forms.VirtualDressingApp.<init>(VirtualDressingApp.java:73)
    at com.forms.VirtualDressingApp$11.run(VirtualDressingApp.java:603)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
    at java.awt.EventQueue.access$200(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:694)
    at java.awt.EventQueue$3.run(EventQueue.java:692)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.UnsatisfiedLinkError: 
C:\Users\Mohit\AppData\Local\Temp\javacpp5092527754081\jniopencv_highgui.dll: 
Can't find dependent libraries
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1851)
    at java.lang.Runtime.load0(Runtime.java:795)
    at java.lang.System.load(System.java:1062)
    at com.googlecode.javacpp.Loader.loadLibrary(Loader.java:700)
    ... 20 more

Original issue reported on code.google.com by MahalleM...@gmail.com on 28 Jan 2015 at 9:48

GoogleCodeExporter commented 8 years ago
Please try again with JavaCV 0.10.

Original comment by samuel.a...@gmail.com on 28 Jan 2015 at 11:26

GoogleCodeExporter commented 8 years ago
i tried JavaCV 0.10 but it gives error to some import libraries like that 
import package could not find

import com.googlecode.javacv.cpp.opencv_objdetect
import com.googlecode.javacpp.Loader;

Original comment by MahalleM...@gmail.com on 28 Jan 2015 at 1:14

GoogleCodeExporter commented 8 years ago
Please read: http://bytedeco.org/news/2014/04/28/first-release/

Original comment by samuel.a...@gmail.com on 31 Jan 2015 at 2:01