What do I need to do to get sikuli running in 12.04?

Asked by Mike Williamson

I would like to get Sikuli running under 12.04 but with all the Tesseract problems I am starting to think I am going to have to wait for Quantal. What do I need to do to get Sikuli up and running in Precise? Is it even possible?

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

As far as I understood from other trials, the problem with Ubuntu 12.04 that it comes with OpenCV 2.3 preinstalled.

If you want to build Sikuli from the sources without any modifications/hacks, it still needs OpenCV 2.1 (including the dev packages).

Tesseract needs to be 2.04, but using the standard Ubuntu package manager might install 3.x, which does not work with the current sources. So you have to build it from the sources (again including any dev packages).

The rest like Cmake, Swig, wmctrl, JXGrabKey (has to be built on 64-Bit systems), Java 6 should not make any problems.

Revision history for this message
j (j-the-k) said :
#2

I have Sikuli running with Ubuntu 12.04.
You have to install libCV2.1 which is no longer in the repository. You can install it from here: http://www.ubuntuupdates.org/package/core/precise/universe/base/libcv2.1 by clicking "APT Install".
I also use sun jdk 6_29 but i guess openJdk will work, too.
I updated from ubuntu 11.10 and did not have to mess around with any tesseract source or anything, it just worked.
As fas as I know, the only thing you need is java6 and libcv2.1.

Revision history for this message
j (j-the-k) said :
#3

By the way, I could NOT compile libcv2.1 with 12.04 because of multiple compile errors which I could not fully resolve. Installing the precompiled version was the only option that would work for me.

Can you help with this problem?

Provide an answer of your own, or ask Mike Williamson for more information if necessary.

To post a message you must log in.