Stack guard exception while using OpenCV for java in eclipse- ubuntu 15.04 -


i have installed opencv 3.0.1 in ubuntu 15.04.trying develop program image keypoint detection. here java code error occurs:

system.loadlibrary(core.native_library_name); mat blurredimage = new mat(); 

when compile in eclipse generates warning openjdk 64-bit server vm warning: have loaded library opencv-3.1.0/build/lib/libopencv_java310.so might have disabled stack guard. vm try fix stack guard now. it's highly recommended fix library 'execstack -c <libfile>', or link '-z noexecstack'.

when try use mat object shown above gives me error:

exception in thread "main" java.lang.unsatisfiedlinkerror: org.opencv.core.mat.n_mat()j     @ org.opencv.core.mat.n_mat(native method)     @ org.opencv.core.mat.<init>(mat.java:24). 

can how fix it?


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -