Ask Your Question

Revision history [back]

UnsatisfiedLinkErro: org.opencv.highgui.VideoCapture.n_VideoCapture(I)J

I'm trying to use JavaOpenCV in Ubuntu 12.4. In windows, this code run perfectly: ..... @Override public void NovoviaCamara (String modo) throws Throwable { System.loadLibrary("opencv_java246"); ...... camera = new VideoCapture(0); ..... I get the following error: [JavaFX Application Thread] INFO com.novovia.camaralib.NovoviaCamaraOCV - Encendiendo Camara :0 [JavaFX Application Thread] ERROR view.testerVideo.testerVideoController - Error: org.opencv.highgui.VideoCapture.n_VideoCapture(I)J java.lang.UnsatisfiedLinkError: org.opencv.highgui.VideoCapture.n_VideoCapture(I)J at org.opencv.highgui.VideoCapture.n_VideoCapture(Native Method) at org.opencv.highgui.VideoCapture.<init>(VideoCapture.java:113) at com.novovia.camaralib.NovoviaCamaraOCV.encenderCamara(NovoviaCamaraOCV.java:634) at com.novovia.camaralib.NovoviaCamaraImplementacion.IniciarCamara(NovoviaCamaraImplementacion.java:182) I put all opencv .so files on the library path. I cannot find where is the problem. Thanks Javier