← Back to team overview

sikuli-driver team mailing list archive

[Bug 1183324] Re: [1.0 tempFix] Linux/Unix: libVisionProxy.so does not work --- library load errors

 

I'm trying to build it on Ubuntu 13.10 (xubuntu actually) using the
instruction in the README. This is the error I receive when compiling:

./makeVisionProxy 
--- The active JDK seems to be in /usr/lib/jvm/java-7-oracle
--- OpenCV libs seem to be in /usr/lib
compiling cvgui
compiling finder
In file included from /usr/include/opencv2/core/core.hpp:4786:0,
                 from src/opencv.hpp:9,
                 from src/pyramid-template-matcher.h:13,
                 from src/finder.h:9,
                 from src/finder.cpp:10:
/usr/include/opencv2/core/operations.hpp: In function ‘void cv::sort(std::vector<_Tp>&, _LT) [with _Tp = FindResult; _LT = bool (*)(FindResult, FindResult)]’:
/usr/include/opencv2/core/operations.hpp:3203:40: internal compiler error: in estimate_move_cost, at tree-inline.c:3303
 template<typename _Tp, class _LT> void sort( vector<_Tp>& vec, _LT LT=_LT() )
                                        ^
Please submit a full bug report,
with preprocessed source if appropriate.


The caret is actually suppose to be under 'sort', so gcc is identifying that as the problem.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1183324

Title:
  [1.0 tempFix] Linux/Unix: libVisionProxy.so does not work --- library
  load errors

Status in Sikuli:
  In Progress

Bug description:
  *** a possible solution: try to build it yourself
  download the helper package here:
  https://launchpad.net/sikuli/sikuli-api/1.0.0/+download/Sikuli-1.0.0-Supplemental-LinuxVisionProxy.zip

  -----------------------------------------------------------------------

  Sikuli-1.0.0-Supplemental-LinuxVisionProxy
  ==========================================

  If you encounter any problems with the bundled libVisionProxy.so, then
  you might try to build it on your Linux/Unix system using this
  package.

  1. put the unzipped stuff in any folder
  2. in terminal session cd into that folder

  3. run ./makeVisionProxy <your Java JDK>
  where <your Java JDK> has to be the path to your default Java JDK
  … the one that containes the folder include/
  (e.g. on Ubuntu 12.10+ 64-Bit: /usr/lib/jvm/java-7-openjdk-amd64 )

  4. hopefully you see some compile messages and one link message without any additional error messages
  5. if no errors: replace the libVisionProxy.so in your Sikuli installation with the new one from folder dist
  6. if there are any error messages: ok, you have to solve them ;-) and start again at step 3

  --- the prerequisites
  - you need a valid g++ installation
  - you need a valid Java JDK installation
  - OpenCV must be installed (preferably version 2.4 with png and jpeg support, but at least 2.2)
  - Tesseract must be installed (must be version 3.0+ incl. Leptonica)
  - on some Linux installations additional dev packages might be needed to satisfy the includes during compile
  - if you get any include problems in compile steps, you might have to add/modify -I.... entries on the includeFolder= line
  - the command script expects the libraries in /usr/lib (change the variable libFolderO/libFolderT accordingly if you have other situation)

  good luck ;-)

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1183324/+subscriptions


References