error with opencv librairies when I try a simple programm

asked 2018-12-12 14:32:40 -0500

le_nordique49 gravatar image

updated 2018-12-13 01:09:17 -0500

Screen-shot

package test;
import org.opencv.core.Core;
import org.opencv.core.CvType;
import org.opencv.core.Mat;

public class test_cv
{
   public static void main( String[] args )
   {
          System.loadLibrary( Core.NATIVE_LIBRARY_NAME );
          Mat mat = Mat.eye( 3, 3, CvType.CV_8UC1 );
          System.out.println( "mat = " + mat.dump() );
   }
}

I don't know what's the problem wtih my program. I've just installed librairies of opencv on my USB key like on every other tutorial but there is an error that I can't explain. Could you help me please? I've eclipse 2018-09 and the version 4.0.0 of opencv.

Sorry for the English I'm French.

edit retag flag offensive close merge delete

Comments

your screenshot is unfortunately useless here.

please replace it with a TEXT version of your error msg, thank you.

berak gravatar imageberak ( 2018-12-12 20:56:32 -0500 )edit

your problem seems to be: how to configure eclipse

berak gravatar imageberak ( 2018-12-13 01:37:32 -0500 )edit