Re: [Sikuli-driver] [Question #293145]: Can Sikuli detect if a App or WindowClass is focused or not? if not, is there any workaround?n
Question #293145 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/293145 Status: Open => Answered RaiMan proposed the following answer: Not with features of SikuliX. You can only bring the respective apps to front by intention (App.focus()) -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #292731]: UnicodeDecodeError: 'unicodeescape' codec can't decode
Question #292731 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/292731 Status: Needs information => Answered RaiMan proposed the following answer: looks like some part of a filename or path \xXX, that is not properly escaped with respect to contained \ -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #293077]: [1.1.0] Linux: trying to build with OpenCV 3.1.0
Question #293077 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/293077 Status: Answered => Solved Shuxin Zhang confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #292731]: UnicodeDecodeError: 'unicodeescape' codec can't decode
Question #292731 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/292731 lydia posted a new comment: My sikuli version is 1.1.0. And I can't find any place for setting the encode type? -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Bug 1576472] Re: UnicodeDecodeError: 'unicodeescape' codec can't decode
I can't find any place for setting the script encode type. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1576472 Title: UnicodeDecodeError: 'unicodeescape' codec can't decode Status in Sikuli: Invalid Bug description: The full error is like below: [error] script [ test ]] stopped with error at line --unknown-- [error] Could not evaluate error source nor reason. Analyze StackTrace! [error] UnicodeDecodeError: 'unicodeescape' codec can't decode bytes in position 30-32: truncated \xXX To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1576472/+subscriptions ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Bug 1576472] Re: UnicodeDecodeError: 'unicodeescape' codec can't decode
My sikuli version is 1.1.0. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1576472 Title: UnicodeDecodeError: 'unicodeescape' codec can't decode Status in Sikuli: Invalid Bug description: The full error is like below: [error] script [ test ]] stopped with error at line --unknown-- [error] Could not evaluate error source nor reason. Analyze StackTrace! [error] UnicodeDecodeError: 'unicodeescape' codec can't decode bytes in position 30-32: truncated \xXX To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1576472/+subscriptions ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #293127]: Script to run every 5 minutes
Question #293127 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/293127 Status: Open => Solved RonG confirmed that the question is solved: The code is actually working. The problem was that time.sleep(360) not properly indented. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #293145]: Can Sikuli detect if a App or WindowClass is focused or not? if not, is there any workaround?n
New question #293145 on Sikuli: https://answers.launchpad.net/sikuli/+question/293145 Hi can SIkuli detect if there is an App or WindowClass is focused or not? if not, is there any workaround? I want to send CTRL Y keys if the focused window is Excel or Firerfox, whenever I press CTRL Shift Z I have the script to do that, except the part of telling if Excel or Firefox are focused. Thanks Advanced. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #293127]: Script to run every 5 minutes
Question #293127 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/293127 Description changed to: Im new to Sikuli and so so with python. I created a script in Sikuli and working properly and called it Test.sikuli. I want this script to run every 5 minutes? I tried below and seems to not work. Can you please help? import time def executeTest(): #my code here time.sleep(360) # 360 sec = 5 minutes while True: executeTest() I get [error] script [Test]] stopped with error at line --unknown-- The error is on the line where time.sleep(360) -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #293127]: Script to run every 5 minutes
Question #293127 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/293127 RonG posted a new comment: i meant def executeTest() not define executeTest() -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #293127]: Script to run every 5 minutes
New question #293127 on Sikuli: https://answers.launchpad.net/sikuli/+question/293127 Im new to Sikuli and so so with python. I created a script in Sikuli and working properly and called it Test.sikuli. I want this script to run every 5 minutes? I tried below and seems to not work. Can you please help? import time define executeTest(): #my code here time.sleep(360) # 360 sec = 5 minutes while True: executeTest() I get [error] script [Test]] stopped with error at line --unknown-- The error is on the line where time.sleep(360) -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #293077]: [1.1.0] Linux: trying to build with OpenCV 3.1.0
Question #293077 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/293077 RaiMan proposed the following answer: ok, I was not aware of this limitation. version 2 will not be final before end of the year, but nightly will start in the summer. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #293077]: [1.1.0] Linux: trying to build with OpenCV 3.1.0
Question #293077 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/293077 Shuxin Zhang posted a new comment: Okay,:). I have to give up ,download the opencv2.4.9 . now it is instlling. thanks!!! >>BTW,I think it is a good way to specify this version limitation. when will the version 2 release? -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #293077]: [1.1.0] Linux: trying to build with OpenCV 3.1.0
Question #293077 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/293077 Status: Open => Answered RaiMan proposed the following answer: I am in the moment also checking about useability of version 3.1. 1st impression: only a litle chance to get it running with 1.1.x. You might play around with the created build script (just use it standalone, outside of setup) until you get it working or have to give up. The fallback, that should work is 2.4.12 If you only use OpenCV with SikuliX, then this step back is ok (still the most used version). Only version 2 will work with OpenCV 3+, because it does not contain anymore C++ code, but uses the OpenCV Java API. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #293077]: [1.1.0] Linux: trying to build with OpenCV 3.1.0
Question #293077 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/293077 Description changed to: i have followed steps on here :http://www.sikulix.com/quickstart.html i have installed all the prerequires. NOTICE ,opencv(ecommended version 2.4+),so i installed the latest version 3.1. when i run "java -jar sikulixsetup-1.1.0.jar" it didn't finish ,so,i check the SikuliX-1.1.0-SetupLog.txt . this is the log: ... more ... [debug (16-5-2 16:19:25)] RunSetup: checking usability of bundled/provided libs [debug (16-5-2 16:19:25)] RunTimeSETUP: exists libs folder at: /home/zsx/.Sikulix/SikulixLibs_201510061722 [error (16-5-2 16:19:25)] RunTimeSETUP: loadLib: libVisionProxy.so not usable: java.lang.UnsatisfiedLinkError: /home/zsx/.Sikulix/SikulixLibs_201510061722/libVisionProxy.so: libopencv_core.so.2.4: cannot open shared object file: No such file or directory ,but i have libopencv_core.so.3.1 [error (16-5-2 16:19:25)] RunTimeSETUP: loadLib: libVisionProxy.so not usable: java.lang.UnsatisfiedLinkError: /home/zsx/.Sikulix/SikulixLibs_201510061722/libVisionProxy.so: libopencv_core.so.2.4: cannot open shared object file: No such file or directory ,but i have libopencv_core.so.3.1 [debug (16-5-2 16:19:25)] LinuxSupport: we have to build libVisionProxy.so [debug (16-5-2 16:19:25)] LinuxSupport: checking: availability of OpenCV and Tesseract [debug (16-5-2 16:19:25)] LinuxSupport: checking: scanning loader cache (ldconfig -p) [debug (16-5-2 16:19:25)] RunTimeSETUP: ldconfig -p [debug (16-5-2 16:19:25)] LinuxSupport: checking: found OpenCV libs: /usr/local/lib/libopencv_core.so.3.1 /usr/local/lib/libopencv_highgui.so.3.1 /usr/local/lib/libopencv_imgproc.so.3.1 [debug (16-5-2 16:19:25)] LinuxSupport: checking: found Tesseract lib: /usr/local/lib/libtesseract.so.3 [debug (16-5-2 16:19:25)] RunTimeSETUP: wmctrl -m [debug (16-5-2 16:19:25)] LinuxSupport: checking: wmctrl seems to be available [debug (16-5-2 16:19:25)] RunTimeSETUP: xdotool version [error (16-5-2 16:19:25)] RunTimeSETUP: fatal error: java.io.IOException: Cannot run program "xdotool": error=2, 没有那个文件或目录 [error (16-5-2 16:19:25)] LinuxSupport: checking: xdotool not available or not working [debug (16-5-2 16:19:25)] LinuxSupport: buildVision: starting inline build: libVisionProxy.so [debug (16-5-2 16:19:25)] LinuxSupport: buildVision: java.home from java props: /home/zsx/java/jdk1.7/jre [debug (16-5-2 16:19:25)] LinuxSupport: buildVision: JAVA_HOME from environment: /home/zsx/java/nowjdk [debug (16-5-2 16:19:25)] LinuxSupport: buildVision: JDK: found at: /home/zsx/java/jdk1.7 [debug (16-5-2 16:19:25)] RunTimeSETUP: resourceList: enter [debug (16-5-2 16:19:25)] RunTimeSETUP: resourceLocation: (class org.sikuli.setup.RunSetup) /srcnativelibs/Vision [debug (16-5-2 16:19:25)] RunTimeSETUP: resourceList: having jar: jar:file:/home/zsx/simuScript/sikulixlibslux.jar!/srcnativelibs/Vision [debug (16-5-2 16:19:25)] RunTimeSETUP: files exported: 16 from: /srcnativelibs/Vision to: /home/zsx/.Sikulix/sikulixlibs/linux/Build/Source [debug (16-5-2 16:19:25)] LinuxSupport: content of build script: #jdkdir=/usr/lib/jvm/java-7-openjdk-amd64 jdkdir=/home/zsx/java/jdk1.7 opencvinclude= #opencvlib=/usr/lib/x86_64-linux-gnu #opencvcore=$opencvlib/libopencv_core.so.2.4 opencvcore=/usr/local/lib/libopencv_core.so.3.1 #opencvimgproc=$opencvlib/libopencv_imgproc.so.2.4 opencvimgproc=/usr/local/lib/libopencv_imgproc.so.3.1 #opencvhighgui=$opencvlib/libopencv_highgui.so.2.4 opencvhighgui=/usr/local/lib/libopencv_highgui.so.3.1 tesseractinclude= #tesseractlib=/usr/lib/libtesseract.so.3 tesseractlib=/usr/local/lib/libtesseract.so.3 #work=`pwd` work=/home/zsx/.Sikulix/sikulixlibs/linux/Build source=$work/Source buildinclude=$work/Include build=$work/Target stuff=$build/Stuff rm -R -f $build mkdir $build mkdir $stuff if [ "$opencvinclude" != "" ]; then includeplus="-I$opencvinclude " fi if [ "$tesseractinclude" != "" ]; then includeplus="$includeplus -I$tesseractinclude " fi includefinal="-I/usr/include -I/usr/local/include $includeplus -I$buildinclude" echo --- COMPILING for mod in cvgui.cpp finder.cpp pyramid-template-matcher.cpp sikuli-debug.cpp \ tessocr.cpp vision.cpp visionJAVA_wrap.cxx do echo - $mod g++ -c -O3 -fPIC -MMD -MP \ -I$jdkdir/include \ -I$jdkdir/include/linux \ $includefinal \ -MF $stuff/$mod.o.d \ -o $stuff/$mod.o \ $source/$mod mods="$mods $stuff/$mod.o " done echo --- LINKING g++ -shared -s -fPIC -dynamic $mods \ $opencvcore \ $opencvimgproc \ $opencvhighgui \ $tesseractlib \ -o $build/libVisionProxy.so content end [debug (16-5-2 16:19:25)] LinuxSupport: buildVision: running build script [debug (16-5-2 16:19:25)] RunTimeSETUP: /home/zsx/.Sikulix/sikulixlibs/linux/runBuild [debug (16-5-2 16:24:14)] RunTimeSETUP: final cleanup [debug (16-5-2 16:24:14)] FileManager: deleteFileOrFolder: /tmp/Sikulix_989757849 == so , i think the problem
Re: [Sikuli-driver] [Question #293077]: [1.1.0] Linux: trying to build with OpenCV 3.1.0
Question #293077 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/293077 Summary changed to: [1.1.0] Linux: trying to build with OpenCV 3.1.0 -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #292921]: How to make a "bridge" to 2 or 3 script
Question #292921 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/292921 Snoopino confirmed that the question is solved: Thanks Roman Podolyan, that solved my question. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #292921]: How to make a "bridge" to 2 or 3 script
Question #292921 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/292921 Status: Answered => Solved Snoopino confirmed that the question is solved: Dear Roman, thank you very much for your time. Now my script work like a charme. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #293077]: about libopencv_core.so.2.4 in unbuntu 14.04
New question #293077 on Sikuli: https://answers.launchpad.net/sikuli/+question/293077 i have followed steps on here :http://www.sikulix.com/quickstart.html i have installed all the prerequires. NOTICE ,opencv(ecommended version 2.4+),so i installed the latest version 3.1. when i run "java -jar sikulixsetup-1.1.0.jar" it didn't finish ,so,i check the SikuliX-1.1.0-SetupLog.txt . this is the log: [debug (16-5-2 16:18:57)] Debug: setLogFile: /home/zsx/simuScript/SikuliX-1.1.0-SetupLog.txt [debug (16-5-2 16:18:57)] RunSetup: ... starting with no args given [debug (16-5-2 16:18:57)] RunSetup: Setup: 1.1.0 2015-10-06_17:22 in folder: /home/zsx/simuScript [debug (16-5-2 16:18:57)] RunSetup: RunningSystem: Linux 3.13.0-34-generic (0 Ubuntu 14.04) [debug (16-5-2 16:18:57)] RunSetup: parent of jar/classes: /home/zsx/simuScript [debug (16-5-2 16:18:57)] RunSetup: RunningJava: Java 7 (amd64) 1.7.0_60-b19 [debug (16-5-2 16:18:57)] init user preferences [debug (16-5-2 16:19:09)] RunSetup: popAsk: The following file(s) will be downloaded to /home/zsx/simuScript --- Native support libraries for Linux (sikulixlibs...) --- Package 1 --- sikulixsetupIDE-1.1.0-forsetup.jar (IDE/Scripting) sikulixsetupAPI-1.1.0-forsetup.jar (Java API) - with Jython --- Package 2 --- sikulixsetupAPI-1.1.0-forsetup.jar (done in package 1) Only click NO, if you want to terminate setup now! Click YES even if you want to use local copies in Downloads! [debug (16-5-2 16:19:13)] RunSetup: popAsk: You have for Linux native libs /home/zsx/.Sikulix/SikulixDownloads_201510061722/sikulixlibslux-1.1.0.jar Click YES, if you want to use this for setup processing ... or click NO, to ignore it and download a fresh copy [debug (16-5-2 16:19:25)] RunSetup: Copied from Downloads: sikulixlibslux [debug (16-5-2 16:19:25)] RunTimeSETUP: addToClasspath: file:/home/zsx/simuScript/sikulixlibslux.jar *** classpath dump sikulix 0: /home/zsx/simuScript/sikulixsetup-1.1.0.jar 1: /home/zsx/simuScript/sikulixlibslux.jar *** classpath dump end [debug (16-5-2 16:19:25)] RunSetup: checking usability of bundled/provided libs [debug (16-5-2 16:19:25)] RunTimeSETUP: exists libs folder at: /home/zsx/.Sikulix/SikulixLibs_201510061722 [error (16-5-2 16:19:25)] RunTimeSETUP: loadLib: libVisionProxy.so not usable: java.lang.UnsatisfiedLinkError: /home/zsx/.Sikulix/SikulixLibs_201510061722/libVisionProxy.so: libopencv_core.so.2.4: cannot open shared object file: No such file or directory ,but i have libopencv_core.so.3.1 [error (16-5-2 16:19:25)] RunTimeSETUP: loadLib: libVisionProxy.so not usable: java.lang.UnsatisfiedLinkError: /home/zsx/.Sikulix/SikulixLibs_201510061722/libVisionProxy.so: libopencv_core.so.2.4: cannot open shared object file: No such file or directory ,but i have libopencv_core.so.3.1 [debug (16-5-2 16:19:25)] LinuxSupport: we have to build libVisionProxy.so [debug (16-5-2 16:19:25)] LinuxSupport: checking: availability of OpenCV and Tesseract [debug (16-5-2 16:19:25)] LinuxSupport: checking: scanning loader cache (ldconfig -p) [debug (16-5-2 16:19:25)] RunTimeSETUP: ldconfig -p [debug (16-5-2 16:19:25)] LinuxSupport: checking: found OpenCV libs: /usr/local/lib/libopencv_core.so.3.1 /usr/local/lib/libopencv_highgui.so.3.1 /usr/local/lib/libopencv_imgproc.so.3.1 [debug (16-5-2 16:19:25)] LinuxSupport: checking: found Tesseract lib: /usr/local/lib/libtesseract.so.3 [debug (16-5-2 16:19:25)] RunTimeSETUP: wmctrl -m [debug (16-5-2 16:19:25)] LinuxSupport: checking: wmctrl seems to be available [debug (16-5-2 16:19:25)] RunTimeSETUP: xdotool version [error (16-5-2 16:19:25)] RunTimeSETUP: fatal error: java.io.IOException: Cannot run program "xdotool": error=2, 没有那个文件或目录 [error (16-5-2 16:19:25)] LinuxSupport: checking: xdotool not available or not working [debug (16-5-2 16:19:25)] LinuxSupport: buildVision: starting inline build: libVisionProxy.so [debug (16-5-2 16:19:25)] LinuxSupport: buildVision: java.home from java props: /home/zsx/java/jdk1.7/jre [debug (16-5-2 16:19:25)] LinuxSupport: buildVision: JAVA_HOME from environment: /home/zsx/java/nowjdk [debug (16-5-2 16:19:25)] LinuxSupport: buildVision: JDK: found at: /home/zsx/java/jdk1.7 [debug (16-5-2 16:19:25)] RunTimeSETUP: resourceList: enter [debug (16-5-2 16:19:25)] RunTimeSETUP: resourceLocation: (class org.sikuli.setup.RunSetup) /srcnativelibs/Vision [debug (16-5-2 16:19:25)] RunTimeSETUP: resourceList: having jar: jar:file:/home/zsx/simuScript/sikulixlibslux.jar!/srcnativelibs/Vision [debug (16-5-2 16:19:25)] RunTimeSETUP: files exported: 16 from: /srcnativelibs/Vision to: /home/zsx/.Sikulix/sikulixlibs/linux/Build/Source [debug (16-5-2 16:19:25)] LinuxSupport: content of build script: #jdkdir=/usr/lib/jvm/java-7-openjdk-amd64 jdkdir=/home/zsx/java/jdk1.7 opencvinclude= #opencvlib=/usr/lib/x86_64-linux-gnu #opencvcore=$opencvlib/libopencv_core.so.2.4