Question #696607 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696607
Shibly Sadeque gave more information on the question: Update 4/23/21 I have posted the following issue on gitlab: https://github.com/RaiMan/SikuliX1/issues/441 I have given up on Sikulix 2.0.5 and have been trying to get Sikulix 2.0.4 to work: It seems opencv 4.3.0 installs correctly on CentOS 7. I followed this guide to install it: https://linuxize.com/post/how-to-install-opencv-on-centos-7/ After installing, I ran `pkg-config --modversion opencv4` and it did return me a version number. I wasn't sure where else to put the symlink to the libopencv_java430.so and so I did `java -XshowSettings:properties` and it returned me the following. ``` java.library.path = /usr/java/packages/lib/amd64 /usr/lib64 /lib64 /lib /usr/lib ``` On each of these location I placed the symlink and retried running the jar file `java -jar sikulixide-2.0.4.jar`. I noticed that every first attempt of running a sikulix script after starting the jar file I get this error: ``` [error] RunTime:loadLib: opencv_java (failed) probably dependent libs missing: no opencv_java in java.library.path [error] Save your work, correct the problem and restart the IDE! [error] see: https://github.com/RaiMan/SikuliX1/wiki/macOS-Linux:-Support-Libraries-for-OpenCV-4 TERMINATING: problem with native library: opencv_java [error] script [ test ] stopped with error in line 1 [error] java.lang.ExceptionInInitializerError ( java.lang.ExceptionInInitializerError ) [error] --- Traceback --- error source first line: module ( function ) statement 1: main ( <module> ) click("1619235775332.png") [error] --- Traceback --- end -------------- ``` And every time after that: ``` [error] script [ test ] stopped with error in line 1 [error] java.lang.NoClassDefFoundError ( java.lang.NoClassDefFoundError: Could not initialize class org.sikuli.script.Finder$FindInput2 ) [error] --- Traceback --- error source first line: module ( function ) statement 1: main ( <module> ) click("1619235775332.png") [error] --- Traceback --- end -------------- ``` Please help me Raiman. I've been trying to troubleshoot this issue for the past 3 months. Once again here are versions of the dependencies: ``` #Tesseract tesseract 4.1.1 leptonica-1.80.0 libjpeg 6b (libjpeg-turbo 1.2.90) : libpng 1.5.13 : libtiff 4.0.3 : zlib 1.2.7 : libwebp 0.3.0 Found AVX2 Found AVX Found SSE ``` ``` #Ant Apache Ant(TM) version 1.9.4 compiled on November 5 2018 ``` ``` #Java openjdk version "1.8.0_292" OpenJDK Runtime Environment (build 1.8.0_292-b10) OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode) ``` #OpenCV ``` 4.3.0 ``` ``` #Python Python 2.7.5 (default, Nov 16 2020, 22:23:17) ``` -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : [email protected] Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp

