[1.0 tempFix] Linux/Unix: libVisionProxy.so does not work --- library load errors --- partly fixed in 1.1.0

Bug #1183324 reported by RaiMan
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
SikuliX
Fix Committed
Critical
RaiMan

Bug Description

************** fixed in 1.1.0

setup now contains a feature to build correct libs on the fly, if the prereqs are fulfilled

------------------------------------------------------

*** a possible solution: try to build it yourself
download the helper package here:
https://launchpad.net/sikuli/sikuli-api/1.0.0/+download/Sikuli-1.0.0-Supplemental-LinuxVisionProxy.zip

-----------------------------------------------------------------------

Sikuli-1.0.0-Supplemental-LinuxVisionProxy
==========================================

If you encounter any problems with the bundled libVisionProxy.so, then you might try to build it on your Linux/Unix system using this package.

1. put the unzipped stuff in any folder
2. in terminal session cd into that folder

3. run ./makeVisionProxy <your Java JDK>
where <your Java JDK> has to be the path to your default Java JDK
… the one that containes the folder include/
(e.g. on Ubuntu 12.10+ 64-Bit: /usr/lib/jvm/java-7-openjdk-amd64 )

4. hopefully you see some compile messages and one link message without any additional error messages
5. if no errors: replace the libVisionProxy.so in your Sikuli installation with the new one from folder dist
6. if there are any error messages: ok, you have to solve them ;-) and start again at step 3

--- the prerequisites
- you need a valid g++ installation
- you need a valid Java JDK installation
- OpenCV must be installed (preferably version 2.4 with png and jpeg support, but at least 2.2)
- Tesseract must be installed (must be version 3.0+ incl. Leptonica)
- on some Linux installations additional dev packages might be needed to satisfy the includes during compile
- if you get any include problems in compile steps, you might have to add/modify -I.... entries on the includeFolder= line
- the command script expects the libraries in /usr/lib (change the variable libFolderO/libFolderT accordingly if you have other situation)

good luck ;-)

Tags: build ubuntu
RaiMan (raimund-hocke)
Changed in sikuli:
status: New → In Progress
importance: Undecided → High
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.0
description: updated
summary: - [1.0] Linux/Unix: libVisionProxy.so does not work --- library load
- errors
+ [1.0 tempFix] Linux/Unix: libVisionProxy.so does not work --- library
+ load errors
RaiMan (raimund-hocke)
tags: added: build ubuntu
description: updated
Revision history for this message
Zed (zh2eou) wrote : Re: [1.0 tempFix] Linux/Unix: libVisionProxy.so does not work --- library load errors

Still having issue with this with 1.0.1 (see attachment). Has the tempfix been removed? Was going to poke into that more.

Revision history for this message
RaiMan (raimund-hocke) wrote :

Sorry, the packages are back now. (Take care, the source changed from 1.0.0 to 1.0.1 because of internal structural changes)

RaiMan (raimund-hocke)
Changed in sikuli:
status: In Progress → Fix Committed
RaiMan (raimund-hocke)
Changed in sikuli:
importance: High → Critical
summary: [1.0 tempFix] Linux/Unix: libVisionProxy.so does not work --- library
- load errors
+ load errors --- partly fixed in 1.1.0
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.