robotframework-SikuliLibrary icon indicating copy to clipboard operation
robotframework-SikuliLibrary copied to clipboard

ubuntu java.lang.UnsatisfiedLinkError: no opencv_java in java.library.path

Open Nmzb opened this issue 6 years ago • 5 comments

Dear author,How to run the robot framework sikulilibrary on Ubuntu, After I installed the robot framework sikulilibrary in Ubuntu, it prompts java.lang.unsatisfiedlinkerror at runtime: no opencv_java in java.library.path

Nmzb avatar Dec 27 '19 12:12 Nmzb

Depending on what version of SikuliX is used with your sikulilibrary version, you have to provide OpenCV and Tesseract libraries according to the docs of SikuliX.

RaiMan avatar Dec 27 '19 15:12 RaiMan

An error will be reported at run time for org.opencv.imgproc.imgproc.matchtemplate_1 (jjji) V

Nmzb avatar Dec 28 '19 02:12 Nmzb

@Nmzb, I followed this guide https://sikulix-2014.readthedocs.io/en/latest/newslinux.html#getting-the-opencv-support-ready even though it make be an older version of sikuli it adresses had to make a symbolic link from my opencv installation path to /usr/lib/libopencvc_java.so e. g. ln -s /opencv/installation/path/libopencvlibrary.so /usr/lib/libopencv_java.so

ghost avatar Jan 09 '20 08:01 ghost

Prompt me when I run “com.github.rainmanwy.robotframework.sikulilib.exceptions.TimeoutException: Timeout happend, could not find P(/workspace/srcimg/src_choice_equipment_id261.png) S: 0.699999988079071”,Is this an environmental issue。

Nmzb avatar Jan 14 '20 11:01 Nmzb

@Nmzb , as it reported, keyword could not find the matched region.

rainmanwy avatar Feb 28 '20 01:02 rainmanwy