Opencv java UnsatisfiedLinkError [closed]

asked 2017-08-08 17:19:04 -0500

Jt1995 gravatar image

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?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Jt1995
close date 2017-08-09 03:57:08.119010