RaiMan / SikuliX-2014

SikuliX version 1.1.2 (until February 2018)
http://sikulix.com
806 stars 235 forks source link

Ubuntu 17.10 and opencv 3 #296

Open oppsig opened 6 years ago

oppsig commented 6 years ago

Ubuntu 17.10 is running opencv 3+ Cant get sikulix setup to run with this later opencv version. Is there a possible fix for 1.1.1?

**** content end
[debug (12/24/17 2:29:38 PM)] LinuxSupport: buildVision: running build script
[debug (12/24/17 2:29:38 PM)] RunTimeSETUP: /home/kodi/.Sikulix/sikulixlibs/linux/runBuild 
[debug (12/24/17 2:29:59 PM)] LinuxSupport: buildVision: checking created libVisionProxy.so
[debug (12/24/17 2:29:59 PM)] RunTimeSETUP: ldd -r /home/kodi/.Sikulix/sikulixlibs/linux/Build/Target/libVisionProxy.so 
[error (12/24/17 2:29:59 PM)] LinuxSupport: checking: might not work, has undefined symbols: libVisionProxy.so
[debug (12/24/17 2:29:59 PM)] LinuxSupport: _ZTVN2cv12_OutputArrayE:
[error (12/24/17 2:29:59 PM)] LinuxSupport: ------- output of the build run
0
----------- COMPILING
----- cvgui.cpp
----- finder.cpp
----- pyramid-template-matcher.cpp
----- sikuli-debug.cpp
----- tessocr.cpp
----- vision.cpp
----- visionJAVA_wrap.cxx
----------- LINKING

[error (12/24/17 2:29:59 PM)] RunTimeSETUP: Problematic lib: /home/kodi/.Sikulix/SikulixLibs_201712231521/libVisionProxy.so (...TEMP...)
[error (12/24/17 2:29:59 PM)] RunTimeSETUP: libVisionProxy.so loaded, but it might be a problem with needed dependent libraries
ERROR: ...TEMP...: libopencv_core.so.2.4: cannot open shared object file: No such file or directory
[error (12/24/17 2:29:59 PM)] RunSetup: libVisionproxy.so finally not useable
[error (12/24/17 2:29:59 PM)] RunSetup: Giving up!
[error (12/24/17 2:29:59 PM)] RunSetup: ... terminated abnormally :-(
[debug (12/24/17 2:29:59 PM)] RunSetup: 
popError: --------------------
Something serious happened! Sikuli not useable!
Check the error log at /home/kodi/sikulix112/SikuliX-1.1.2-SetupLog.txt
--------------------
[debug (12/24/17 2:30:01 PM)] RunTimeSETUP: final cleanup
[debug (12/24/17 2:30:01 PM)] FileManager: deleteFileOrFolder:
/tmp/Sikulix_1740339010
RaiMan commented 6 years ago

1.1.x needs OpenCV version 2.4.x libs.

This will remain so, since I do not touch the C++ code in 1.1.x anymore.

Feel free, to build the SikuliX libs with OpenCV 3 after having fixed the SikuliX C++ sources. If you have the solution, I will make it available with 1.1.2.