[Rock-dev] Fwd: Re: [Ric-spacebot] image_processing/frame_helper failed to build

Jakob Schwendner jakob.schwendner at dfki.de
Thu Sep 5 08:31:14 CEST 2013



---------- Original Message ----------
From: Anna Born <anna.born at dfki.de>
To: ric-spacebot at dfki.de
Date: September 4, 2013 at 6:45 PM
Subject: Re: [Ric-spacebot] image_processing/frame_helper failed to build
Hi,

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’

With best regards,
Anna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/pipermail/rock-dev/attachments/20130905/cbccf364/attachment.htm 


More information about the Rock-dev mailing list