Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Eclipse and JavaCV(Installation JavaCV)
Eclipse and JavaCV [message #943308] Sun, 14 October 2012 10:38 Go to next message
m j is currently offline m jFriend
Messages: 1
Registered: October 2012
Junior Member

Actually, i work with Opencv et Eclipse but i have a problem.

This my program test:

import static com.googlecode.javacv.cpp.opencv_core.*;
import static com.googlecode.javacv.cpp.opencv_imgproc.*;
import static com.googlecode.javacv.cpp.opencv_highgui.*;
public class test {

     * @param args
    public static void main(String[] args) {

        IplImage image = cvLoadImage("SAM_0205.jpg");
        cvSmooth(image, image, CV_GAUSSIAN, 3);
        cvSaveImage("SAM_0205.jpg", image);

and this is my mistake:

Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Users\Sweet\AppData\Local\Temp\jniopencv_core8131980972511263774.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(Unknown Source)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at com.googlecode.javacpp.Loader.loadLibrary(
at com.googlecode.javacpp.Loader.load(
at com.googlecode.javacpp.Loader.load(
at com.googlecode.javacv.cpp.opencv_core.<clinit>(
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.googlecode.javacpp.Loader.load(
at com.googlecode.javacv.cpp.opencv_imgproc.<clinit>(
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.googlecode.javacpp.Loader.load(
at com.googlecode.javacv.cpp.opencv_highgui.<clinit>(
at test.main(

I have lastest version of JAVA and Eclipse IDE for Java Developers in 64bits.

For installation i look this video:

in my environement variables!

c:\opencv\build\common\tbb\ia32\vc10; C:\opencv\build\x86\vc10\staticlib; %CLASSPATH;


Course with OpenCV directories javaCV and at the root of c: \

I searched and I rechecked that I had the 64bit versions but apparently it just the way I installed opencv and javacv.

Can someone point me where can be the problem?

Thank you in advance.
Re: Eclipse and JavaCV [message #943537 is a reply to message #943308] Sun, 14 October 2012 16:26 Go to previous message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1828
Registered: July 2009
Senior Member
You shouldn't expect help on opencv in this forum.
I haven't the slightest idea what opencv is (nor do I expect that other JDT experts do).
Previous Topic:Problems During Content Assist (error on @ completion)
Next Topic:No Console output when generating Javadoc within Eclipse
Goto Forum:

Current Time: Mon Nov 23 17:18:22 GMT 2020

Powered by FUDForum. Page generated in 0.01840 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top