I installed openCV 3.0.1 on ubuntu 15.04.trying in order to develop detection of the key point of the program image. Here is my Java code where the error occurs:
System.loadLibrary(Core.NATIVE_LIBRARY_NAME); Mat blurredImage = new Mat();
when I compile it in eclipse it generates an 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 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 highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack' .
when I try to use the Mat object as shown above, it gives me an error:
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).
can anyone help how to fix it?
source share