New question #232357 on Sikuli: https://answers.launchpad.net/sikuli/+question/232357
Hey, I am new to Sikuli Script and spent little time with the tool (mainly o Windows) so far but it looks very interesting for me. I am about to use the tool in order to extend my regression suites especially for the products I am responsible for which does not support any test automation. Sikuli seems to solve my problems with automated testing the products. So far I made some experiments on Windows and did not get any major problems. I need also to have the same regression tests for Linux platform (mainly RedHat 6) so tried Sikuli on Linux as well. I had to download and compile sources for missing libraries (opencv 2.4, tesseract3) and after that started sikuli-IDE. It has been launched. Then, I wanted to start sikuli-script and got the following error... ------------------------------------ Sikuli Script being asked to switch to Java 7 trying Java 7 using as Java /usr/java/jdk1.7.0_25/jre//bin/java using as Java command /usr/java/jdk1.7.0_25/jre//bin/java no SIKULIX_HOME specified - looking here ( /opt/an/tools/sikuli-IDE ) running on Java JRE /usr/java/jdk1.7.0_25/jre/ using as SIKULIX_HOME /opt/an/tools/sikuli-IDE seems to be valid - trying to start Sikuli Script running with: -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.Debug=1 -jar /opt/an/tools/sikuli-IDE/sikuli-script.jar -r /home/anoszczy/trial.sikuli java version "1.7.0_25" Java(TM) SE Runtime Environment (build 1.7.0_25-b15) Java HotSpot(TM) Client VM (build 23.25-b01, mixed mode, sharing) /usr/java/jdk1.7.0_25/jre//bin/java: symbol lookup error: /opt/an/tools/sikuli-IDE/libs/libVisionProxy.so: undefined symbol: _ZN2cv6imreadERKSsi Then I found Sikuli-1.0.0-Supplemental-LinuxVisionProxy.zip package and tried to compile the code on my machine. Unfortunately, I got a lot of errors ... compiling cvgui g++: build/cvgui.o.d: No such file or directory src/cvgui.cpp: In static member function ‘static void Util::rgb2grayC3(const cv::Mat&, cv::Mat&)’: src/cvgui.cpp:81: error: ‘CV_RGB2GRAY’ was not declared in this scope src/cvgui.cpp: In static member function ‘static void Painter::drawBlobsRandomShading(cv::Mat&, std::vector<Blob, std::allocator<Blob> >&)’: src/cvgui.cpp:156: error: ‘CV_FILLED’ was not declared in this scope src/cvgui.cpp: In static member function ‘static void cvgui::linkLineBlobsIntoPagagraphBlobs(std::vector<LineBlob, std::allocator<LineBlob> >&, std::vector<ParagraphBlob, std::allocator<ParagraphBlob> >&)’: src/cvgui.cpp:399: error: invalid initialization of reference of type ‘const cv::_OutputArray&’ from expression of type ‘bool (*)(Blob, Blob)’ /usr/local/include/opencv2/core.hpp:421: error: in passing argument 2 of ‘void cv::sort(const cv::_InputArray&, const cv::_OutputArray&, int)’ src/cvgui.cpp: In static member function ‘static void cvgui::mergeLineBlobs(std::vector<LineBlob, std::allocator<LineBlob> >&, std::vector<LineBlob, std::allocator<LineBlob> >&)’: src/cvgui.cpp:434: error: invalid initialization of reference of type ‘const cv::_OutputArray&’ from expression of type ‘bool (*)(Blob, Blob)’ /usr/local/include/opencv2/core.hpp:421: error: in passing argument 2 of ‘void cv::sort(const cv::_InputArray&, const cv::_OutputArray&, int)’ src/cvgui.cpp: In static member function ‘static void cvgui::linkBlobsIntoLineBlobs(std::vector<Blob, std::allocator<Blob> >&, std::vector<LineBlob, std::allocator<LineBlob> >&, int)’: src/cvgui.cpp:470: error: invalid initialization of reference of type ‘const cv::_OutputArray&’ from expression of type ‘bool (*)(Blob, Blob)’ /usr/local/include/opencv2/core.hpp:421: error: in passing argument 2 of ‘void cv::sort(const cv::_InputArray&, const cv::_OutputArray&, int)’ src/cvgui.cpp: In static member function ‘static cv::Mat cvgui::findBoxesByVoting(const cv::Mat&, int, int, std::vector<Blob, std::allocator<Blob> >&)’: src/cvgui.cpp:667: error: ‘CV_RGB2GRAY’ was not declared in this scope src/cvgui.cpp:731: error: ‘CV_RETR_CCOMP’ was not declared in this scope src/cvgui.cpp:731: error: ‘CV_CHAIN_APPROX_SIMPLE’ was not declared in this scope src/cvgui.cpp: In static member function ‘static void cvgui::findBoxes(const cv::Mat&, std::vector<Blob, std::allocator<Blob> >&)’: src/cvgui.cpp:1090: error: ‘CV_RGB2GRAY’ was not declared in this scope src/cvgui.cpp:1125: error: ‘CV_RETR_CCOMP’ was not declared in this scope src/cvgui.cpp:1125: error: ‘CV_CHAIN_APPROX_SIMPLE’ was not declared in this scope src/cvgui.cpp: In static member function ‘static void cvgui::computeUnitBlobs(const cv::Mat&, cv::Mat&)’: I am not a C++ developer so its quite tricky for me to understand what is reason of that. Apreciate any help :-) with this ... Best Regards, Andrzej N. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : [email protected] Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp

