← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #235765]: Getting Started Sikuli Script in Java, UNIX environement

 

Question #235765 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/235765

Description changed to:
Greetings,
I am currently working on a project, testing a web application with Selenium RC/JUnit 4 Testing Framework. Within this application Google Map API is fundamental tests. I found that Sikuli could solve the GUI clicking problem on the Google Map API. I am still beginner in the UNIX environment (Ubuntu) in Virtual Machine and attempted to get started on Sikuli.

I just followed the instructions based on:
http://doc.sikuli.org/faq/030-java-dev.html#make-the-native-libraries-available

what I generally done is, installing package 2 from sikuli-setup.jar. In
my Eclipse Kepler project, I added external JARs of sikuli-script.jar
and sikuli-java.jar into the build path. Then I started the hello world
example:

http://pastebin.com/2hnUM7eq

I pretty much followed the same codes, but instead for the pictures, I
used random png pictures taken from the internet. Once I run it in
Eclipse, I got these errors:

[error] ResourceLoaderBasic: loadLib: Fatal Error 110: loading: libVisionProxy.so
[error] ResourceLoaderBasic: loadLib: Since native library was found, it might be a problem with needed dependent libraries
/home/dev/Downloads/sikuli2/libs/libVisionProxy.so: libopencv_core.so.2.4: cannot open shared object file: No such file or directory
[error] Terminating SikuliX after a fatal error(110)! Sorry, but it makes no sense to continue!
If you do not have any idea about the error cause or solution, run again
with a Debug level of 3. You might paste the output to the Q&A board.

So I tried getting Sikuli-1.0.1-Supplemental-LinuxVisionProxy.zip and read the readme.txt.
i typed this command in the terminal:

cd ~/Downloads/sikuli_supplement
./makeVisionProxy /usr/lib/jvm/java-7-oracle/include

and I got errors in the terminal:

compiling cvgui
./makeVisionProxy: line 18: g++: command not found

and a couple more lines showing g++ errors. 
Any help is pretty much appreciated.

Regards,
Victor

P.S. I tried Sikuli-IDE, it runs perfectly fine on my current windows 7
machine but not on my VM ubuntu

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.