← Back to team overview

sikuli-driver team mailing list archive

[Bug 949808] Re: [request] Ubuntu 12.04: Sikuli should work with OpenCV 2.3

 

Thanks for your indication, RaiMan.

> Or you have to build Sikuli from source (at least with OpenCV 2.2 this is possible).
The following error came to me; do you have any idea about this ?

administrator@ubuntu120402:~/sikuli_source/sikuli-sikuli-699d404/sikuli-script/build$ cmake ..
Tesseract-OCR Data Path: TESSERACT_DATA_DIR-NOTFOUND
Tesseract-OCR Data Path: TESSERACT_DATA_DIR-NOTFOUND
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
  Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY
  JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-2.8/Modules/FindJNI.cmake:240 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  src/main/native/CMakeLists.txt:27 (FIND_PACKAGE)

-- Configuring incomplete, errors occurred!

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/949808

Title:
  [request] Ubuntu 12.04: Sikuli should work with OpenCV 2.3

Status in Sikuli:
  New

Bug description:
  Failed to import the module sikuli.Sikuli in jython in Ubuntu 12.04,
  it seems that it depends on opencv2.1 however opencv2.3 is installed
  in Ubuntu 12.04.

  Error:
   File "/home/administrator/Linux/lib/clientgui.py", line 4, in <module>
      from sikuli_utils import *
    File "/home/administrator/Linux/lib/sikuli_utils.py", line 6, in <module>
      from sikuli.Sikuli import *
    File "/home/administrator/Linux/lib/sikuli_utils.py", line 6, in <module>
      from sikuli.Sikuli import *
    File "/home/administrator/Linux/lib/libsikuli/sikuli/__init__.py", line 1, in <module>
      from Sikuli import *
    File "/home/administrator/Linux/lib/libsikuli/sikuli/Sikuli.py", line 20, in <module>
      from org.sikuli.script import Finder
  java.lang.UnsatisfiedLinkError: /tmp/tmplib/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 java.lang.ClassLoader.loadLibrary(Unknown Source)
   at java.lang.Runtime.load0(Unknown Source)
   at java.lang.System.load(Unknown Source)
   at com.wapmx.nativeutils.jniloader.NativeLoader.loadLibrary(NativeLoader.java:44)
   at org.sikuli.script.Finder.<clinit>(Finder.java:28)

  ........ and more stuff

  java.lang.UnsatisfiedLinkError: java.lang.UnsatisfiedLinkError:
  /tmp/tmplib/libVisionProxy.so: libml.so.2.1: cannot open shared object
  file: No such file or directory File

  Installed Packages can be found in the attachment "packages.txt".

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/949808/+subscriptions


References