[Rock-dev] [rock] #334: image_processing/frame_helper failed to build with the external opencv package
rock
noreply at opendfki.de
Thu Sep 5 17:16:35 CEST 2013
#334: image_processing/frame_helper failed to build with the external opencv
package
-------------------------+--------------------------------------
Reporter: anna.born@… | Owner: rock-dev-mailing-list
Type: defect | Status: new
Priority: major | Milestone:
Component: base | Keywords: opencv, external package
-------------------------+--------------------------------------
Hello,
I had the problem to compile image_processing/frame_helper with the
OpenCV 2.3.0, that have been installed by rock as an external source
package. (url: http://downloads.sourceforge.net/project/opencvlibrary
/opencv-unix/2.3/OpenCV-2.3.0.tar.bz2).
The problem is in cpp-constants COLOR_XXX2XXX, that have been added
since OpenCV 2.3.1.
/home/linki/DFKI/ROCK/image_processing/frame_helper/src/FrameHelper.cpp:
In member function ‘void frame_helper::FrameHelper::convertColor(const
base::samples::frame::Frame&, base::samples::frame::Frame&)’:
/home/linki/DFKI/ROCK/image_processing/frame_helper/src/FrameHelper.cpp:363:48:
error: ‘COLOR_BGR2RGB’ is not a member of ‘cv’
/home/linki/DFKI/ROCK/image_processing/frame_helper/src/FrameHelper.cpp:372:48:
error: ‘COLOR_BGR2GRAY’ is not a member of ‘cv’
/home/linki/DFKI/ROCK/image_processing/frame_helper/src/FrameHelper.cpp:414:48:
error: ‘COLOR_RGB2BGR’ is not a member of ‘cv’
/home/linki/DFKI/ROCK/image_processing/frame_helper/src/FrameHelper.cpp:564:84:
error: ‘COLOR_RGB2BGR’ is not a member of ‘cv’
Thank you a lot.
With best regards,
Anna Born
--
Ticket URL: <http://rock.opendfki.de/ticket/334>
rock <http://rock.opendfki.de>
rock: the robot construction kit
More information about the Rock-dev
mailing list