sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #28136
[Question #254231]: I am unable to use my own libVision.so (Linux)
New question #254231 on Sikuli:
https://answers.launchpad.net/sikuli/+question/254231
Forgive me if this has been asked before, but I have googled and found what was supposed to be an answer that did not work for me. This was what I was following: https://answers.launchpad.net/sikuli/+question/249653
I have my own libVision.so on Linux RH5. I have built this myself. It internally references tesseract such that no additional information is required to find libTesseract.so at run time.
What seems to fail is a swig interface from Java to libVision (guessing here).
The error I get at run time:
Exception in thread "Thread-5" java.lang.NoClassDefFoundError: org/sikuli/natives/VisionProxyJNI
at org.sikuli.natives.FindInput.<init>(FindInput.java:39)
at org.sikuli.script.Finder.<init>(Finder.java:33)
at org.sikuli.script.Region.checkLastSeenAndCreateFinder(Region.java:2419)
at org.sikuli.script.Region.doFind(Region.java:2334)
...
I am running Java version "1.7.0_45".
My biggest problem is that I don't understand the build system enough to be confident with debugging.
My goal is to take the ruby gem sikuli-server, which is very incomplete and improve it so that Ruby users
(rather than just JRuby users) can script sikuli. I have already written a fair amount of Java needed to do
this, but I'm unable to make sikuli work to run my tests. I'm happy to share my results, but I need to get
quite a bit farther. I'm strong with Linux and Ruby; new to Maven; OK with Java.
Any help understanding the build environment to fix the libVision.so issue would be appreciated.
Thanks,
Dave
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.