sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #18304
Re: [Question #229353]: [1.0] Eclipse shared library error on Ubuntu 64Bit
Question #229353 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/229353
Status: Answered => Open
Southy is still having a problem:
g++ was not finding the iclude files because the OpenCV installation was incorrect (it installed in /usr/local/include but the #include directives had part of the path structure where it was built from). I hand edited all the affected files (yes there were a lot) and it finally started to compile wihout file not found errors.
However, it fails now for lots of other reasons .....
An example:-
./makeVisionProxy /usr/lib/jvm/java-1.7.0-openjdk-amd64
compiling cvgui
src/cvgui.cpp: In static member function ‘static void Util::rgb2grayC3(const cv::Mat&, cv::Mat&)’:
src/cvgui.cpp:81:23: 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>&)’:
src/cvgui.cpp:156:104: error: ‘CV_FILLED’ was not declared in this scope
src/cvgui.cpp: In static member function ‘static void cvgui::linkLineBlobsIntoPagagraphBlobs(std::vector<LineBlob>&, std::vector<ParagraphBlob>&)’:
src/cvgui.cpp:399:30: error: no matching function for call to ‘sort(std::vector<LineBlob>&, bool (&)(Blob, Blob))’
src/cvgui.cpp:399:30: note: candidates are:
/usr/local/include/core.hpp:421:19: note: void cv::sort(cv::InputArray, cv::OutputArray, int)
/usr/local/include/core.hpp:421:19: note: candidate expects 3 arguments, 2 provided
/usr/include/c++/4.6/bits/stl_algo.h:5430:5: note: template<class _RAIter, class _Compare> void std::sort(_RAIter, _RAIter, _Compare)
/usr/include/c++/4.6/bits/stl_algo.h:5394:5: note: template<class _RAIter> void std::sort(_RAIter, _RAIter)
src/cvgui.cpp: In static member function ‘static void cvgui::mergeLineBlobs(std::vector<LineBlob>&, std::vector<LineBlob>&)’:
src/cvgui.cpp:434:30: error: no matching function for call to ‘sort(std::vector<LineBlob>&, bool (&)(Blob, Blob))’
src/cvgui.cpp:434:30: note: candidates are:
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.