← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #246410]: From github repo: Installation error: Problem with SikuliX libs folder - Fatal Error 103: No valid native libraries folder

 

Question #246410 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246410

Tobias Schneck posted a new comment:
Hi Nicolas,

the problem with the most of linux distribution is, that the native libs
(like openCV) won't fit to the one which sikuli-x  will use in there
program execution. The native libs will called over the
'libVisionProxy.so'. To generate a customized one, Raimund have provided
a "supplimental package" which generates a new libVisionProxy.so.

Under ubuntu 14, the following steps worked for me:

*  Download the Supplemental-Package: https://github.com/RaiMan/SikuliX-2014/blob/master/Setup/src/main/resources/SikuliX-1.1.0-Beta-Supplemental-Linux.zip
* Unzip the file and read the README.txt
* install the opencv und tesseract via apt-get:
** sudo apt-get install libcv-dev
** sudo apt-get install libtesseract-dev
* run './makeVisionProxy' in the unzipped folder
* if the execution maybe fails, you have to create some symbolic links with the following script:

----------
OPEN_CV_INSTALL=/usr/lib/x86_64-linux-gnu
LIB_INSTALL=/usr/lib

sudo ln -s  $OPEN_CV_INSTALL/libopencv_calib3d.so        $LIB_INSTALL/libopencv_calib3d.so
sudo ln -s  $OPEN_CV_INSTALL/libopencv_contrib.so        $LIB_INSTALL/libopencv_contrib.so
sudo ln -s  $OPEN_CV_INSTALL/libopencv_core.so           $LIB_INSTALL/libopencv_core.so
sudo ln -s  $OPEN_CV_INSTALL/libopencv_features2d.so     $LIB_INSTALL/libopencv_features2d.so
sudo ln -s  $OPEN_CV_INSTALL/libopencv_flann.so          $LIB_INSTALL/libopencv_flann.so
sudo ln -s  $OPEN_CV_INSTALL/libopencv_gpu.so            $LIB_INSTALL/libopencv_gpu.so
sudo ln -s  $OPEN_CV_INSTALL/libopencv_highgui.so        $LIB_INSTALL/libopencv_highgui.so
sudo ln -s  $OPEN_CV_INSTALL/libopencv_imgproc.so        $LIB_INSTALL/libopencv_imgproc.so
sudo ln -s  $OPEN_CV_INSTALL/libopencv_legacy.so         $LIB_INSTALL/libopencv_legacy.so
sudo ln -s  $OPEN_CV_INSTALL/libopencv_ml.so             $LIB_INSTALL/libopencv_ml.so
sudo ln -s  $OPEN_CV_INSTALL/libopencv_objdetect.so      $LIB_INSTALL/libopencv_objdetect.so
sudo ln -s  $OPEN_CV_INSTALL/libopencv_ocl.so            $LIB_INSTALL/libopencv_ocl.so
sudo ln -s  $OPEN_CV_INSTALL/libopencv_photo.so          $LIB_INSTALL/libopencv_photo.so
sudo ln -s  $OPEN_CV_INSTALL/libopencv_stitching.so      $LIB_INSTALL/libopencv_stitching.so
sudo ln -s  $OPEN_CV_INSTALL/libopencv_superres.so       $LIB_INSTALL/libopencv_superres.so
sudo ln -s  $OPEN_CV_INSTALL/libopencv_ts.so             $LIB_INSTALL/libopencv_ts.so
sudo ln -s  $OPEN_CV_INSTALL/libopencv_video.so          $LIB_INSTALL/libopencv_video.so
sudo ln -s  $OPEN_CV_INSTALL/libopencv_videostab.so      $LIB_INSTALL/libopencv_videostab.so

ls -la $LIB_INSTALL/libopencv*
--------------

After the successful execution of the  'makeVisionProxy' script, you get an new customized 'libVisionProxy.so' file.
Replace this in your installation folder, see the README file.

I hope this will work for you too!

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.