<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
</head><body style="">
<div>
 
</div>
<div>
<br/>---------- Original Message ----------
<br/>From: Anna Born <anna.born@dfki.de>
<br/>To: ric-spacebot@dfki.de
<br/>Date: September 4, 2013 at 6:45 PM
<br/>Subject: Re: [Ric-spacebot] image_processing/frame_helper failed to build
<br/>Hi,
<br/>
<br/>I had the problem to compile image_processing/frame_helper with the
<br/>OpenCV 2.3.0, that have been installed by rock as an external source
<br/>package. (url:
<br/>http://downloads.sourceforge.net/project/opencvlibrary/opencv-unix/2.3/OpenCV-2.3.0.tar.bz2).
<br/>
<br/>
<br/>The problem is in cpp-constants COLOR_XXX2XXX, that have been added
<br/>since OpenCV 2.3.1.
<br/>
<br/>/home/linki/DFKI/ROCK/image_processing/frame_helper/src/FrameHelper.cpp:
<br/>In member function ‘void frame_helper::FrameHelper::convertColor(const
<br/>base::samples::frame::Frame&, base::samples::frame::Frame&)’:
<br/>/home/linki/DFKI/ROCK/image_processing/frame_helper/src/FrameHelper.cpp:363:48:
<br/>error: ‘COLOR_BGR2RGB’ is not a member of ‘cv’
<br/>/home/linki/DFKI/ROCK/image_processing/frame_helper/src/FrameHelper.cpp:372:48:
<br/>error: ‘COLOR_BGR2GRAY’ is not a member of ‘cv’
<br/>/home/linki/DFKI/ROCK/image_processing/frame_helper/src/FrameHelper.cpp:414:48:
<br/>error: ‘COLOR_RGB2BGR’ is not a member of ‘cv’
<br/>/home/linki/DFKI/ROCK/image_processing/frame_helper/src/FrameHelper.cpp:564:84:
<br/>error: ‘COLOR_RGB2BGR’ is not a member of ‘cv’
<br/>
<br/>With best regards,
<br/>Anna
<br/>
<br/>
</div>
</body></html>