← Back to team overview

sikuli-driver team mailing list archive

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

 

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

Zhi requested more information:
We get the latest version jxgrabkey-0.3.2 from  http://sourceforge.net/projects/jxgrabkey/.
But when we build the jar, it brings us the following error:

Buildfile: /home/tiliu/zhilib/jxgrabkey-0.3.2/JXGrabKey/Java/build.xml

-pre-init:

-init-private:

-init-user:

-init-project:

-init-macrodef-property:

-do-init:

-post-init:

-init-check:

-init-macrodef-javac:

-init-macrodef-junit:

-init-debug-args:

-init-macrodef-nbjpda:

-init-macrodef-debug:

-init-macrodef-java:

-init-presetdef-jar:

init:

deps-jar:

-check-automatic-build:

-clean-after-automatic-build:

-verify-automatic-build:

-pre-pre-compile:

-pre-compile:

-compile-depend:

-do-compile:

-post-compile:

compile:

-pre-pre-compile-test:

-pre-compile-test:

-compile-test-depend:

-do-compile-test:

-post-compile-test:

compile-test:

-pre-test-run:

-do-test-run:
    [junit] Testsuite: jxgrabkey.JXGrabKeyTest
    [junit] Exception in thread "Thread-0" java.lang.UnsatisfiedLinkError: jxgrabkey.JXGrabKey.listen()V
    [junit] 	at jxgrabkey.JXGrabKey.listen(Native Method)
    [junit] 	at jxgrabkey.JXGrabKey.access$000(JXGrabKey.java:30)
    [junit] 	at jxgrabkey.JXGrabKey$1.run(JXGrabKey.java:47)
    [junit] Tests run: 0, Failures: 0, Errors: 2, Time elapsed: 0.281 sec
    [junit] 
    [junit] ------------- Standard Error -----------------
    [junit] Exception in thread "Thread-0" java.lang.UnsatisfiedLinkError: jxgrabkey.JXGrabKey.listen()V
    [junit] 	at jxgrabkey.JXGrabKey.listen(Native Method)
    [junit] 	at jxgrabkey.JXGrabKey.access$000(JXGrabKey.java:30)
    [junit] 	at jxgrabkey.JXGrabKey$1.run(JXGrabKey.java:47)
    [junit] ------------- ---------------- ---------------
    [junit] Testcase: jxgrabkey.JXGrabKeyTest:	Caused an ERROR
    [junit] /home/tiliu/zhilib/jxgrabkey-0.3.2/JXGrabKey/C++/dist/Release/GNU-Linux-x86/libJXGrabKey.so: /home/tiliu/zhilib/jxgrabkey-0.3.2/JXGrabKey/C++/dist/Release/GNU-Linux-x86/libJXGrabKey.so: undefined symbol: _ZTVSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE
    [junit] java.lang.UnsatisfiedLinkError: /home/tiliu/zhilib/jxgrabkey-0.3.2/JXGrabKey/C++/dist/Release/GNU-Linux-x86/libJXGrabKey.so: /home/tiliu/zhilib/jxgrabkey-0.3.2/JXGrabKey/C++/dist/Release/GNU-Linux-x86/libJXGrabKey.so: undefined symbol: _ZTVSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE
    [junit] 	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    [junit] 	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750)
    [junit] 	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1646)
    [junit] 	at java.lang.Runtime.load0(Runtime.java:787)
    [junit] 	at java.lang.System.load(System.java:1022)
    [junit] 	at jxgrabkey.JXGrabKeyTest.setUpClass(JXGrabKeyTest.java:18)
    [junit] 
    [junit] 
    [junit] Testcase: jxgrabkey.JXGrabKeyTest:	Caused an ERROR
    [junit] jxgrabkey.JXGrabKey.clean()V
    [junit] java.lang.UnsatisfiedLinkError: jxgrabkey.JXGrabKey.clean()V
    [junit] 	at jxgrabkey.JXGrabKey.clean(Native Method)
    [junit] 	at jxgrabkey.JXGrabKey.cleanUp(JXGrabKey.java:95)
    [junit] 	at jxgrabkey.JXGrabKeyTest.tearDownClass(JXGrabKeyTest.java:25)
    [junit] 
    [junit] 
    [junit] Test jxgrabkey.JXGrabKeyTest FAILED

test-report:

-post-test-run:

BUILD FAILED
/home/tiliu/zhilib/jxgrabkey-0.3.2/JXGrabKey/Java/nbproject/build-impl.xml:611: Some tests failed; see details above.

Total time: 4 seconds

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