Sikuli X: Linux: libml.so.2.1 not found --- needs openCV 2.1 installed

Asked by Jonathan Antognini

when i try to take a capture, the program display the next message

[debug] [Linux] install hotkey: CTRL+SHIFT+2 for onQuickCapture
[debug] [Linux] install hotkey: ALT+SHIFT+C for onStopRunning
[debug] onHotkey: 1
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: /home/almatest/Downloads/Sikuli-X-1.0rc1-linux/Sikuli-IDE/libs/libVisionProxy.so: libml.so.2.1: cannot open shared object file: No such file or directory
 at java.lang.ClassLoader$NativeLibrary.load(Native Method)
 at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1747)
 at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1643)
 at java.lang.Runtime.load0(Runtime.java:787)
 at java.lang.System.load(System.java:1022)
 at com.wapmx.nativeutils.jniloader.NativeLoader.loadLibrary(NativeLoader.java:44)
 at org.sikuli.script.TextRecognizer.<clinit>(TextRecognizer.java:15)
 at org.sikuli.ide.NamingPane.getFilenameFromImage(NamingPane.java:50)
 at org.sikuli.ide.CaptureButton.update(CaptureButton.java:141)
 at org.sikuli.script.CapturePrompt.notifyObserver(CapturePrompt.java:39)
 at org.sikuli.script.CapturePrompt$1.mouseReleased(CapturePrompt.java:190)
 at java.awt.Component.processMouseEvent(Component.java:6108)
 at java.awt.Component.processEvent(Component.java:5873)
 at java.awt.Container.processEvent(Container.java:2105)
 at java.awt.Window.processEvent(Window.java:1836)
 at java.awt.Component.dispatchEventImpl(Component.java:4469)
 at java.awt.Container.dispatchEventImpl(Container.java:2163)
 at java.awt.Window.dispatchEventImpl(Window.java:2478)
 at java.awt.Component.dispatchEvent(Component.java:4295)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

what is the problem? thanks for all, regards

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Jonathan Antognini
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

you have to have openCV 2.1 installed (it is a documented prerequisite).

Revision history for this message
Jonathan Antognini (jantogni) said :
#2

thanks for your answer.

Regards