[1.1.3] Ubuntu 18.04: only openCV 3.2 libs are available with aptget --- use SikuliX 1.1.4

Asked by RaiMan on 2018-06-11

but Ubuntu 18.04 only offers libopencv 3.2 which seems to not be recognized by Sikulix 1.1.2.

Error from log file:
ERROR: ...TEMP...: libopencv_core.so.2.4: cannot open shared object file: No such file or directory

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2018-09-08
Last reply:
2018-06-27
RaiMan (raimund-hocke) said : #1

@thyeum
You have to use 1.1.3 nightly with Java 10 - 1.1.2 doesn't work anyways.

--- opencv 2.4 (always needed with SikuliX 1.1.x)
You have to find a way to get this version running either from older/other repositories or by building it from sources yourself.

Another option is to try to rebuild the libVisionProxy against opencv 3:
http://sikulix-2014.readthedocs.io/en/latest/basicinfo.html#sikulix-on-linux

... use the special setup with command line option buildv
... and modify the resulting build script accordingly

thyeum (mchellat) said : #2

Thanks for the info.
Unfortunately, I would probably need a step by step procedure to do what you suggested.
So for now I'll run sikulix in a virtual Windows system, and hope sikulix 2 will work with the latest LTS Ubuntu when it comes out.

Launchpad Janitor (janitor) said : #3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

I am running into this openCV issue on 18.04. So, just to confirm. Sikuli will not install and run on Ubuntu 18.04, correct?

RaiMan (raimund-hocke) said : #5

@Patrick
SikuliX up to 1.1.3 need openCV 2.4. No way around.

SikuliX 1.1.4+ will always work with a recent OpenCV version (currently 3.2).
So you might try with 1.1.4. Should work with an installed OpenCV 3.2

Thanks @RaiMan. I ended up cloning one of my 16.04 VMs and used it instead of messing with 18.04.

RaiMan (raimund-hocke) said : #7

good decision for the moment.

For 18.04 I am nearly ready with version 1.1.4:
- I have it working with OpenCV and Tesseract
- Tesseract is a challenge
- Open: I have to doc the steps to get there

RaiMan (raimund-hocke) said : #8

should stay open

Can you help with this problem?

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

To post a message you must log in.