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

Asked by RaiMan

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:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
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

Revision history for this message
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.

Revision history for this message
Launchpad Janitor (janitor) said :
#3

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

Revision history for this message
Patrick L Archibald (patrick-archibald) said :
#4

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?

Revision history for this message
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

Revision history for this message
Patrick L Archibald (patrick-archibald) said :
#6

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

Revision history for this message
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

Revision history for this message
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.