Ask Your Question

DeepakKumar's profile - activity

2014-10-22 08:07:18 -0600 asked a question Exception in thread

My code is like:

import org.opencv.core.*;

public class Maiin {

public static void main(String ar[])
{

    System.loadLibrary(Core.NATIVE_LIBRARY_NAME);

    Mat m= Mat.eye(3, 3, CvType.CV_8UC1);

    System.out.println(m.dump());

}

}

and the Error m getting is:

Exception in thread "main" java.lang.UnsatisfiedLinkError: org.opencv.core.Mat.n_eye(III)J

at org.opencv.core.Mat.n_eye(Native Method)

at org.opencv.core.Mat.eye(Mat.java:1467)

at Maiin.main(Maiin.java:6)