Skip to content

Instantly share code, notes, and snippets.

@vaskoz
Created June 8, 2013 22:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vaskoz/5736887 to your computer and use it in GitHub Desktop.
Save vaskoz/5736887 to your computer and use it in GitHub Desktop.
This Groovy code results in Exception in thread "main" java.lang.UnsatisfiedLinkError: org.opencv.core.Mat.n_eye(III)J
import org.opencv.core.Core
import org.opencv.core.CvType
import org.opencv.core.Mat
class Main {
static { System.loadLibrary(Core.NATIVE_LIBRARY_NAME); }
public static void main(String[] args) {
Mat m = Mat.eye(3, 3, CvType.CV_8UC1);
System.out.println("m = " + m.dump());
}
}
@wolframteetz
Copy link

were you able to solve this?

@fdiba
Copy link

fdiba commented Jun 22, 2014

Same for me :

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)

@m1chae1bx
Copy link

Same with me :(

@arungoyal
Copy link

Facing same issue, can anybody help me in this.
I am working on Ubuntu 16 and Open cv is installed properly.

@xuzhijvn
Copy link

xuzhijvn commented Jan 4, 2019

the same as me , mmp,我日

@wave911
Copy link

wave911 commented May 2, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment