Son*_*han 5 java eclipse opencv3.0 ubuntu-15.04
我在ubuntu 15.04.trying中安装了openCV 3.0.1来开发程序映像关键点检测.这是我发生错误的java代码:
System.loadLibrary(Core.NATIVE_LIBRARY_NAME);
Mat blurredImage = new Mat();
Run Code Online (Sandbox Code Playgroud)
当我在eclipse中编译它时会产生警告
OpenJDK 64-Bit Server VM warning: You have loaded library opencv-3.1.0/build/lib/libopencv_java310.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
当我尝试使用如上所示的Mat对象时,它给出了错误:
Exception in thread "main" java.lang.UnsatisfiedLinkError: org.opencv.core.Mat.n_Mat()J
at org.opencv.core.Mat.n_Mat(Native Method)
at org.opencv.core.Mat.<init>(Mat.java:24).
Run Code Online (Sandbox Code Playgroud)
有人可以帮忙解决这个问题吗?