libVisionProxy.so: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9'

Asked by Sunil

Hi,

I'm trying to run sikuli-ide.sh in Centos (5.4- 32 bit).
When I execute the script I can see Sikuli interface, but when I try to take a image snapshot using "Take Screenshot" option I'm getting below error.

===========================================================================================================
 ./sikuli-ide.sh
[info] locale: en_US
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError:
/home/sunil/Desktop/Downloads/Sikuli-Tool-Packages/Sikuli-r931-linux-i686/Sikuli-IDE/libs/libVisionProxy.so:
/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by
/home/sunil/Desktop/Downloads/Sikuli-Tool-Packages/Sikuli-r931-linux-i686/Sikuli-IDE/libs/libVisionProxy.so)
===========================================================================================================

Please provide any input to resolve the issue.

Thanks in advance,
Sunil

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

Might be, that you have to build Sikuli from the sources on your system.

Revision history for this message
Sunil (sun-2011-h) said :
#2

I have downloaded the source sikuli-sikuli-699d404.tar.gz from git and tried to complie as per the instruction given in build-linux.txt
When i execute 'make' in sikuli-script/build directory, I'm getting below errors.

======================================================================================
Linking CXX shared module ../../../../target/lib/libVisionProxy.so
[ 50%] Built target VisionProxy
/home/sunil/Desktop/Downloads/Sikuli-Tool-Packages/sikuli-sikuli-699d404_BKP/sikuli-script/src/main/native/vision.cpp:222: warning: converting to âintâ from âfloatâ
----------
1. ERROR in org/sikuli/script/LinuxUtil.java (at line 18)
        Debug.history("switchApp: " + appName);
              ^^^^^^^
The method history(String, Object[]) in the type Debug is not applicable for the arguments (String)
----------
2. ERROR in org/sikuli/script/LinuxUtil.java (at line 24)
        Debug.error("switchApp: " + e.toString());
              ^^^^^
The method error(String, Object[]) in the type Debug is not applicable for the arguments (String)
----------
3. ERROR in org/sikuli/script/LinuxUtil.java (at line 35)
        Debug.history("openApp: " + appName);
              ^^^^^^^
...........
........................

150 problems (146 errors, 4 warnings)make[2]: *** [src/main/java/CMakeFiles/sikuli-script.classes] Error 255
make[1]: *** [src/main/java/CMakeFiles/sikuli-script.classes.dir/all] Error 2
make: *** [all] Error 2

======================================================================================

Thanks,
Sunil

Revision history for this message
RaiMan (raimund-hocke) said :
#3

I do not know where you got this, but this is the latest official source:
https://github.com/sikuli/sikuli/tarball/X1.0-rc3

from
https://github.com/sikuli/sikuli

Revision history for this message
Sunil (sun-2011-h) said :
#4

Hi,

I have downloaded the file [sikuli-sikuli-X1.0-rc3-0-g615ed86.tar.gz] from the link given by you.
Still I'm getting the same error.

Thanks,
Sunil

Revision history for this message
RaiMan (raimund-hocke) said :
#5

Ok, was worth a try ;-)

I am sorry, that I cannot help you further (I have only basic knowledge about Linux and even more basic knowledge about C/C++ based development).

You have to ask the net for a solution (need not be together with Sikuli, but perhaps together with openCV and Java/JNI).
Might be that you need some additional dev packages or newer ones.

Hope you come to a positive end finally.

Revision history for this message
Remi (centoclaus) said :
#6

I have the same issue. Has a solution ever been found for this?

Can you help with this problem?

Provide an answer of your own, or ask Sunil for more information if necessary.

To post a message you must log in.