Ubuntu 18.04: only openCV 3.2 libs are available with aptget

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:
Expired
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2018-06-11
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.