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

Anna Born anna.born at dfki.de
Thu Sep 5 17:11:33 CEST 2013


Hello,

I am using Ubuntu quantal, 12.10, and OpenCV 2.4.6, manual installation. 
I am working with my private notebook, therefore the installation is 
different as one that is used in DFKI. To ensure the compatibility of 
the spacebot module, that depends on opencv, with the whole spacebot 
system, I wanted to use external opencv package (2.3.1) instead of two 
opencv installations on the os.

Here some additional information:
rock-flavor: master
last-update: yesterday at 18:00

I suspect the outputs of autoproj-show will not help you further. 
Because I changed the link of external package from 2.3.0 to 2.3.1 
locally. image_processing/frame_helper could be built and installed 
successfully in this case.

I wrote the previous email  just to take your attention to this issue, 
that can occur by other rock users.

Thank you a lot.

With best regards,
Anna

*autoproj-show opencv*
source package external/opencv
   imported from
     type: archive
     url: 
http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.3.1/OpenCV-2.3.1a.tar.bz2
     update_cached_file: false
     first match: in rock
       type: archive
       url: 
http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.3.1/OpenCV-2.3.1a.tar.bz2
       update_cached_file: false
   is not directly selected by the manifest
   reverse dependencies: bundles/spacebot, drivers/orogen/camera_base, 
drivers/orogen/camera_prosilica, gui/rock_widget_collection, 
image_processing/frame_helper, image_processing/object_detection, 
image_processing/orogen/object_detection, 
image_processing/orogen/stereo, image_processing/segmentation, 
image_processing/stereo, simulation/mars/graphics, simulation/mars/gui, 
simulation/orogen/mars_core, simulation/orogen/spacebot_simulation, 
slam/graph_slam, slam/orogen/graph_slam, 
spacebot/orogen/spacebot_deployments
   selected by way of
spacebot>simulation/orogen/mars_core>simulation/mars/gui>external/opencv
drivers/orogen/camera_prosilica>drivers/orogen/camera_base>image_processing/frame_helper>external/opencv
     image_processing/object_detection>external/opencv
image_processing/orogen/object_detection>image_processing/object_detection>external/opencv
slam/orogen/graph_slam>slam/graph_slam>image_processing/stereo>external/opencv
   directly depends on:

*autoproj-show external/opencv*
source package external/opencv
   imported from
     type: archive
     url: 
http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.3.1/OpenCV-2.3.1a.tar.bz2
     update_cached_file: false
     first match: in rock
       type: archive
       url: 
http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.3.1/OpenCV-2.3.1a.tar.bz2
       update_cached_file: false
   is not directly selected by the manifest
   reverse dependencies: bundles/spacebot, drivers/orogen/camera_base, 
drivers/orogen/camera_prosilica, gui/rock_widget_collection, 
image_processing/frame_helper, image_processing/object_detection, 
image_processing/orogen/object_detection, 
image_processing/orogen/stereo, image_processing/segmentation, 
image_processing/stereo, simulation/mars/graphics, simulation/mars/gui, 
simulation/orogen/mars_core, simulation/orogen/spacebot_simulation, 
slam/graph_slam, slam/orogen/graph_slam, 
spacebot/orogen/spacebot_deployments
   selected by way of
spacebot>simulation/orogen/mars_core>simulation/mars/gui>external/opencv
drivers/orogen/camera_prosilica>drivers/orogen/camera_base>image_processing/frame_helper>external/opencv
     image_processing/object_detection>external/opencv
image_processing/orogen/object_detection>image_processing/object_detection>external/opencv
slam/orogen/graph_slam>slam/graph_slam>image_processing/stereo>external/opencv
   directly depends on:




>
>
> -------- Original message --------
> From: Matthias Goldhoorn <matthias.goldhoorn at dfki.de>
> Date:
> To: anna.born at dfki.de
> Subject: Re: [Rock-dev] Fwd: Re: [Ric-spacebot] 
> image_processing/frame_helper failed to build
>
>
> Please add also to your mail the result of
>
> autoproj-show opencv
> autoproj-show external/opencv
>
> Greetings
>
> On 05.09.2013 09:13, Matthias Goldhoorn wrote:
>> So why you are using opencv as a external dependency?.
>>
>> It's a long time ago rock uses the external opencv version, standard 
>> should be the system dependency...
>>
>> Matthias
>>
>> P.S. some additional infos woud be great:
>>
>> Operating System including version
>> rock-flavor
>> last-update of rock
>>
>>
>> On 05.09.2013 08:31, Jakob Schwendner wrote:
>>>
>>> ---------- 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
>>>
>>>
>>>
>>> _______________________________________________
>>> Rock-dev mailing list
>>> Rock-dev at dfki.de
>>> http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
>>
>>
>> -- 
>>   Dipl.-Inf. Matthias Goldhoorn
>>   Space and Underwater Robotic
>>
>>   Universität Bremen
>>   FB 3 - Mathematik und Informatik
>>   AG Robotik
>>   Robert-Hooke-Straße 5
>>   28359 Bremen, Germany
>>
>>   Tel.:     +49 421 178 45-4193
>>   Zentrale: +49 421 178 45-6550
>>   Fax:      +49 421 178 45-4150
>>   E-Mail:matthias.goldhoorn at uni-bremen.de
>>
>>   Weitere Informationen:http://www.informatik.uni-bremen.de/robotik
>>
>>
>> _______________________________________________
>> Rock-dev mailing list
>> Rock-dev at dfki.de
>> http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
>
>
> -- 
>   Dipl.-Inf. Matthias Goldhoorn
>   Space and Underwater Robotic
>
>   Universität Bremen
>   FB 3 - Mathematik und Informatik
>   AG Robotik
>   Robert-Hooke-Straße 5
>   28359 Bremen, Germany
>
>   Tel.:     +49 421 178 45-4193
>   Zentrale: +49 421 178 45-6550
>   Fax:      +49 421 178 45-4150
>   E-Mail:matthias.goldhoorn at uni-bremen.de
>
>   Weitere Informationen:http://www.informatik.uni-bremen.de/robotik

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/pipermail/rock-dev/attachments/20130905/89401a53/attachment-0001.htm 


More information about the Rock-dev mailing list