Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Opencv java UnsatisfiedLinkError

Hi,this is my code but when i run it i get an this error:

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

public class SimpleSample
{

    static{ System.loadLibrary(Core.NATIVE_LIBRARY_NAME); } 

   public static void main( String[] args )
   {
      Mat mat = Mat.eye( 3, 3, CvType.CV_8UC1 );
      System.out.println( "mat = " + mat.dump() );
   }
}

How can i resolve it?