sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #38355
Re: [Question #294479]: ubuntu/linux command line execution failures
Question #294479 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/294479
Nathan posted a new comment:
Ok, silly me for not checking the SetupLog first. I was missing JDK,
xdotools, and g++. But it still doesn't get any further. It might be a
problem with building libVisionProxy.so, but I don't see any helpful
errors anymore. Here's the latest log:
[debug (28/05/16 22:12:58)] Debug: setLogFile: /home/mate/Downloads/SikuliUpdate/SikuliX-1.1.1-SetupLog.txt
[debug (28/05/16 22:12:58)] RunSetup: ... starting with no args given
[debug (28/05/16 22:12:58)] RunSetup: Setup: 1.1.1 2016-05-28_01:00nightly in folder:
/home/mate/Downloads/SikuliUpdate
[debug (28/05/16 22:12:58)] RunSetup: RunningSystem: Linux 4.4.0-22-generic (0 Ubuntu 16.04)
[debug (28/05/16 22:12:58)] RunSetup: parent of jar/classes: /home/mate/Downloads/SikuliUpdate
[debug (28/05/16 22:12:58)] RunSetup: RunningJava: Java 8 (amd64) 1.8.0_91-8u91-b14-0ubuntu4~16.04.1-b14
[debug (28/05/16 22:12:58)] init user preferences
[debug (28/05/16 22:13:02)] RunSetup:
popAsk: --------------------
The following file(s) will be downloaded to
/home/mate/Downloads/SikuliUpdate
--- Native support libraries for Linux (sikulixlibs...)
--- Package 1 ---
sikulixsetupIDE-1.1.1-20160527.231644-35-forsetup.jar (IDE/Scripting)
sikulixsetupAPI-1.1.1-20160527.231510-37-forsetup.jar (Java API)
- with Jython
--- Additions ---
tessdata-eng (Tesseract)
Only click NO, if you want to terminate setup now!
Click YES even if you want to use local copies in Downloads!
--------------------
[debug (28/05/16 22:13:06)] RunSetup:
popAsk: --------------------
You have for Linux native libs
/home/mate/.Sikulix/SikulixDownloads_201605280100/sikulixlibslux-1.1.1-20160527.230943-45.jar
Click YES, if you want to use this for setup processing
... or click NO, to ignore it and download a fresh copy
--------------------
[debug (28/05/16 22:13:08)] RunSetup: Copied from Downloads: sikulixlibslux
[debug (28/05/16 22:13:08)] RunTimeSETUP: addToClasspath:
file:/home/mate/Downloads/SikuliUpdate/sikulixlibslux.jar
*** classpath dump sikulix
0: /home/mate/Downloads/SikuliUpdate/sikulixsetup-1.1.1-20160527.231304-37-forsetup.jar
1: /home/mate/Downloads/SikuliUpdate/sikulixlibslux.jar
*** classpath dump end
[debug (28/05/16 22:13:08)] RunSetup: checking usability of bundled/provided libs
[debug (28/05/16 22:13:08)] RunTimeSETUP: exists libs folder at: /home/mate/.Sikulix/SikulixLibs_201605280100
[error (28/05/16 22:13:08)] RunTimeSETUP: loadLib: libVisionProxy.so not usable:
java.lang.UnsatisfiedLinkError: /home/mate/.Sikulix/SikulixLibs_201605280100/libVisionProxy.so: libtesseract.so.3: cannot open shared object file: No such file or directory
[error (28/05/16 22:13:08)] RunTimeSETUP: loadLib: libVisionProxy.so not usable:
java.lang.UnsatisfiedLinkError: /home/mate/.Sikulix/SikulixLibs_201605280100/libVisionProxy.so: libtesseract.so.3: cannot open shared object file: No such file or directory
[debug (28/05/16 22:13:08)] LinuxSupport: we have to build libVisionProxy.so
[debug (28/05/16 22:13:08)] LinuxSupport: checking: availability of OpenCV and Tesseract
[debug (28/05/16 22:13:08)] LinuxSupport: checking: scanning loader cache (ldconfig -p)
[debug (28/05/16 22:13:08)] RunTimeSETUP: ldconfig -p
[debug (28/05/16 22:13:08)] LinuxSupport: checking: found OpenCV libs:
/usr/lib/x86_64-linux-gnu/libopencv_core.so.2.4
/usr/lib/x86_64-linux-gnu/libopencv_highgui.so.2.4
/usr/lib/x86_64-linux-gnu/libopencv_imgproc.so.2.4
[debug (28/05/16 22:13:08)] LinuxSupport: checking: found Tesseract lib:
[debug (28/05/16 22:13:08)] RunTimeSETUP: wmctrl -m
[debug (28/05/16 22:13:08)] LinuxSupport: checking: wmctrl seems to be available
[debug (28/05/16 22:13:08)] RunTimeSETUP: xdotool version
[debug (28/05/16 22:13:08)] LinuxSupport: checking: xdotool seems to be available
[debug (28/05/16 22:13:08)] LinuxSupport: buildVision: starting inline build: libVisionProxy.so
[debug (28/05/16 22:13:08)] LinuxSupport: buildVision: java.home from java props: /usr/lib/jvm/java-8-openjdk-amd64/jre
[debug (28/05/16 22:13:08)] LinuxSupport: buildVision: JAVA_HOME from environment: null
[debug (28/05/16 22:13:08)] LinuxSupport: buildVision: JDK: found at: /usr/lib/jvm/java-8-openjdk-amd64
[debug (28/05/16 22:13:08)] LinuxSupport: buildVision: opencv-include: not found - using the bundled include files
[debug (28/05/16 22:13:08)] LinuxSupport: buildVision: tesseract-include: not found - using the bundled include files
[debug (28/05/16 22:13:08)] RunTimeSETUP: resourceList: enter
[debug (28/05/16 22:13:08)] RunTimeSETUP: resourceLocation: (class org.sikuli.setup.RunSetup) /srcnativelibs/Vision
[debug (28/05/16 22:13:08)] RunTimeSETUP: resourceList: having jar: jar:file:/home/mate/Downloads/SikuliUpdate/sikulixlibslux.jar!/srcnativelibs/Vision
[debug (28/05/16 22:13:08)] RunTimeSETUP: files exported: 16 from: /srcnativelibs/Vision to:
/home/mate/.Sikulix/sikulixlibs/linux/Build/Source
[debug (28/05/16 22:13:08)] RunTimeSETUP: resourceList: enter
[debug (28/05/16 22:13:08)] RunTimeSETUP: resourceLocation: (class org.sikuli.setup.RunSetup) /srcnativelibs/Include/OpenCV
[debug (28/05/16 22:13:08)] RunTimeSETUP: resourceList: having jar: jar:file:/home/mate/Downloads/SikuliUpdate/sikulixlibslux.jar!/srcnativelibs/Include/OpenCV
[debug (28/05/16 22:13:09)] RunTimeSETUP: files exported: 145 from: /srcnativelibs/Include/OpenCV to:
/home/mate/.Sikulix/sikulixlibs/linux/Build/Include
[debug (28/05/16 22:13:09)] RunTimeSETUP: resourceList: enter
[debug (28/05/16 22:13:09)] RunTimeSETUP: resourceLocation: (class org.sikuli.setup.RunSetup) /srcnativelibs/Include/Tesseract
[debug (28/05/16 22:13:09)] RunTimeSETUP: resourceList: having jar: jar:file:/home/mate/Downloads/SikuliUpdate/sikulixlibslux.jar!/srcnativelibs/Include/Tesseract
[debug (28/05/16 22:13:09)] RunTimeSETUP: files exported: 27 from: /srcnativelibs/Include/Tesseract to:
/home/mate/.Sikulix/sikulixlibs/linux/Build/Include
[debug (28/05/16 22:13:09)] LinuxSupport: **** content of build script:
#jdkdir=/usr/lib/jvm/java-7-openjdk-amd64
jdkdir=/usr/lib/jvm/java-8-openjdk-amd64
opencvinclude=
#opencvlib=/usr/lib/x86_64-linux-gnu
#opencvcore=$opencvlib/libopencv_core.so.2.4
opencvcore=/usr/lib/x86_64-linux-gnu/libopencv_core.so.2.4
#opencvimgproc=$opencvlib/libopencv_imgproc.so.2.4
opencvimgproc=/usr/lib/x86_64-linux-gnu/libopencv_imgproc.so.2.4
#opencvhighgui=$opencvlib/libopencv_highgui.so.2.4
opencvhighgui=/usr/lib/x86_64-linux-gnu/libopencv_highgui.so.2.4
tesseractinclude=
#tesseractlib=/usr/lib/libtesseract.so.3
tesseractlib=
#work=`pwd`
work=/home/mate/.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 (28/05/16 22:13:09)] LinuxSupport: buildVision: running build script
[debug (28/05/16 22:13:09)] RunTimeSETUP: /home/mate/.Sikulix/sikulixlibs/linux/runBuild
[debug (28/05/16 22:13:53)] LinuxSupport: buildVision: checking created libVisionProxy.so
[debug (28/05/16 22:13:53)] RunTimeSETUP: ldd -r /home/mate/.Sikulix/sikulixlibs/linux/Build/Target/libVisionProxy.so
[error (28/05/16 22:13:54)] LinuxSupport: checking: might not work, has undefined symbols: libVisionProxy.so
[debug (28/05/16 22:13:54)] LinuxSupport: _ZN9tesseract11TessBaseAPID1Ev:
[error (28/05/16 22:13:54)] LinuxSupport: ------- output of the build run
0
----------- COMPILING
----- cvgui.cpp
----- finder.cpp
----- pyramid-template-matcher.cpp
----- sikuli-debug.cpp
----- tessocr.cpp
----- vision.cpp
----- visionJAVA_wrap.cxx
----------- LINKING
[error (28/05/16 22:13:54)] RunTimeSETUP: Problematic lib: /home/mate/.Sikulix/SikulixLibs_201605280100/libVisionProxy.so (...TEMP...)
[error (28/05/16 22:13:54)] RunTimeSETUP: libVisionProxy.so loaded, but it might be a problem with needed dependent libraries
ERROR: ...TEMP...: libtesseract.so.3: cannot open shared object file: No such file or directory
[error (28/05/16 22:13:54)] RunTimeSETUP: *** terminating: problem with native library: libVisionProxy.so
[debug (28/05/16 22:13:54)] RunTimeSETUP: final cleanup
[error (28/05/16 22:13:54)] RunTimeSETUP: loadLib: libVisionProxy.so not usable:
java.lang.UnsatisfiedLinkError: /home/mate/.Sikulix/SikulixLibs_201605280100/libVisionProxy.so: libtesseract.so.3: cannot open shared object file: No such file or directory
[error (28/05/16 22:13:54)] RunTimeSETUP: Problematic lib: /home/mate/.Sikulix/SikulixLibs_201605280100/libVisionProxy.so (...TEMP...)
[error (28/05/16 22:13:54)] RunTimeSETUP: libVisionProxy.so loaded, but it might be a problem with needed dependent libraries
ERROR: ...TEMP...: libtesseract.so.3: cannot open shared object file: No such file or directory
[error (28/05/16 22:13:54)] RunTimeSETUP: *** terminating: problem with native library: libVisionProxy.so
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.