sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #09095
[Question #189312]: Environment Settings
New question #189312 on Sikuli:
https://answers.launchpad.net/sikuli/+question/189312
Hello,
I'm using an older Linux system: Linux 2.6.25.20-0.7-default x86_64 / openSUSE 11.0 (x86_64) / 4.0.4 (KDE 4.0.4 >= 20080505) "release 15.4" and wants to try working with SIKULI.
There were many problems to install the required components (till compiling a cmake...) - but I think, I've solved them all:
- installing cmake
- installing jython
- building and install opencv
- install wmctrl (1.07)
- integrate PyDev into Eclipse (3.7)
But: Neighter the IDE nor the Eclipse integration works. I think, there may be something wrong. But I don't know, what. And I don't know, how to check it...
First I try to use the Sikuli-IDE:
fritz@jupiter:~/workspace/TestSikuli> echo $SIKULI_HOME
/home/fritz/Software/sikuli/Sikuli-IDE/
fritz@jupiter:~/workspace/TestSikuli> echo $PATH
/home/fritz/android/sdk/tools:/home/fritz/android/sdk/platform-tools:/home/fritz/Software/sikuli/Sikuli-IDE/:/opt/kde3/bin:/usr/bin:/home/fritz/android/sdk/tools:/home/fritz/android/sdk/platform-tools:/home/fritz/bin:/usr/local/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin
fritz@jupiter:~/workspace/TestSikuli> sikuli-ide.sh
[info] locale: de_DE
fritz@jupiter:~/workspace/TestSikuli>
Nothing happens. Sometimes I start it and it doesn't return until ^C...
There is a script (probably wrong :-) I've created by copiying some examples. If I try to use it, I get:
fritz@jupiter:~/workspace/TestSikuli> sikuli-ide.sh -sr Test.sikuli
[info] locale: de_DE
Laufzeitfehler beim Ausführen von /home/fritz/workspace/TestSikuli/Test.sikuli
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/fritz/Software/Sikuli-X-1.0rc3 (r905)-linux-x86_64/Sikuli-IDE/sikuli-script.jar/Lib/sikuli/__init__.py", line 3, in <module>
File "/home/fritz/Software/Sikuli-X-1.0rc3 (r905)-linux-x86_64/Sikuli-IDE/sikuli-script.jar/Lib/sikuli/Sikuli.py", line 22, in <module>
java.lang.UnsatisfiedLinkError: /home/fritz/Software/Sikuli-X-1.0rc3 (r905)-linux-x86_64/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(Unknown Source)
...
at org.sikuli.ide.SikuliIDE.runSikuli(SikuliIDE.java:856)
at org.sikuli.ide.SikuliIDE.main(SikuliIDE.java:944)
java.lang.UnsatisfiedLinkError: java.lang.UnsatisfiedLinkError: /home/fritz/Software/Sikuli-X-1.0rc3 (r905)-linux-x86_64/Sikuli-IDE/libs/libVisionProxy.so: libml.so.2.1: cannot open shared object file: No such file or directory
================
Yes, I can read: There is a file or directory missing. And it seems it has to do with OpenCV. But the make/make install of OpenCV didn't report an error. So I think, the problem depends on environment settings.
Unfortunately the Sikuli documentation says only: "Linux: you generally have to take care for the environment yourself." but it didn't say, which variables to set and which values are expected.
So I ask here for hints to make Sikuli working - stand-alone and with eclipse... Thanks in advance
<F>
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.