← Back to team overview

sikuli-driver team mailing list archive

[Question #167648]: How to get Sikuli work on Ubuntu on ARM device

 

New question #167648 on Sikuli:
https://answers.launchpad.net/sikuli/+question/167648

We have an ARM Panda Box. The device has Ubuntu 10.10 installed.
We build Sikuli from source code on it. When launch, the following error occurs:

Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/tiliu/Sikuli-X-1.0rc2-linux/Sikuli-IDE/libs/libJXGrabKey.so: /home/tiliu/Sikuli-X-1.0rc2-linux/Sikuli-IDE/libs/libJXGrabKey.so: cannot open shared object file: No such file or directory (Possible cause: can't load IA 32-bit .so on a ARM-bit platform)
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1646)
	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.ide.NativeLayerForLinux.initIDE(NativeLayerForLinux.java:24)
	at org.sikuli.ide.SikuliIDE.<init>(SikuliIDE.java:661)
	at org.sikuli.ide.SikuliIDE.getInstance(SikuliIDE.java:130)
	at org.sikuli.ide.SikuliIDE.main(SikuliIDE.java:913)

Then we download source code of libJXGrabKey from http://anonscm.debian.org/gitweb/?p=collab-maint/jxgrabkey.git;a=summary, and re-build it on the ARM device. It brings us another error:

Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/tiliu/Sikuli-X-1.0rc3-linux-armv7l/Sikuli-IDE/libs/libJXGrabKey.so: /home/tiliu/Sikuli-X-1.0rc3-linux-armv7l/Sikuli-IDE/libs/libJXGrabKey.so: undefined symbol: _ZTVSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1646)
	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.ide.NativeLayerForLinux.initIDE(NativeLayerForLinux.java:29)
	at org.sikuli.ide.SikuliIDE.<init>(SikuliIDE.java:666)
	at org.sikuli.ide.SikuliIDE.getInstance(SikuliIDE.java:135)
	at org.sikuli.ide.SikuliIDE.main(SikuliIDE.java:918)

So we are blocked here. Could you please let us know how to get Sikuli work on the ARM device? 
It may also be helpful if you could provide us the source code of libJXGrabKey you use to build Sikuli.

Thank you very much.
Jerry

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