[Rock-dev] [Ric-spacebot] image_processing/frame_helper failed to build
Matthias Goldhoorn
matthias.goldhoorn at dfki.de
Fri Sep 6 08:34:53 CEST 2013
On 05.09.2013 19:34, Anna Born wrote:
> Hallo Matthias,
>
> I have installed OpenCV 2.4.6 manually on my notebook. This version I
> use in most of my projects, also outside rock. Because I installed the
> OpenCV version manually, the rock did not install system-dependency
> opencv, which version is 2.3.1.
> But for the Spacebot I need OpenCV 2.3.1. The override mechanism
> allows me to distinguish between the libraries, that are used outside
> and inside rock, and to prevent the multiple library installation on os.
>
> -> afaik should not needed
>
> Why I don't need to override and use external package? Could you
> explain me please?
> Because if I don't use override, than the rock does not install OpenCV
> 2.3.1 locally and the rock module uses OpenCV 2.4.6.
This make no sense.
If you do not add your osdep override autoproj will instal the osdep for
opencv from ubuntu, which is version 2.3.11 (should be compatible).
http://packages.ubuntu.com/quantal/libopencv-dev
The problem might be related that you have an non-distribution install
of opencv in your /usr/local directory in the end (which is newer, but
don't know why incompatible).
>
> Here is output, if I compile with override:
> ldd libframe_helper.so
> libopencv_core.so.2.3 =>
> /home/linki/DFKI/ROCK/install/lib/libopencv_core.so.2.3
> (0x00007fd08a386000)
> libopencv_imgproc.so.2.3 =>
> /home/linki/DFKI/ROCK/install/lib/libopencv_imgproc.so.2.3
> (0x00007fd089f17000)
> libopencv_highgui.so.2.3 =>
> /home/linki/DFKI/ROCK/install/lib/libopencv_highgui.so.2.3
> (0x00007fd089ccf000)
> libopencv_calib3d.so.2.3 =>
> /home/linki/DFKI/ROCK/install/lib/libopencv_calib3d.so.2.3
> (0x00007fd089a37000)
>
> And without override:
> ldd libframe_helper.so
> libopencv_calib3d.so.2.4 => /usr/local/lib/libopencv_calib3d.so.2.4
> (0x00007f4a202d6000)
> libopencv_core.so.2.4 => /usr/local/lib/libopencv_core.so.2.4
> (0x00007f4a1fe8b000)
> libopencv_highgui.so.2.4 => /usr/local/lib/libopencv_highgui.so.2.4
> (0x00007f4a1fc39000)
> libopencv_imgproc.so.2.4 => /usr/local/lib/libopencv_imgproc.so.2.4
> (0x00007f4a1f75e000)
>
> There is not a problem with override anymore, since a new version of
> opencv is added to rock. I just asked for better understanding of the
> override purpose.
>
> Thank you for your help and have a nice evening.
>
> With best regards,
> Anna
>
>
> Am 05.09.2013 18:39, schrieb Anna Born:
>>> Thank you. I will come tomorrow.
>>>
>>> The external/opencv is selected, because I added the override
>>> "Autoproj.add_osdeps_overrides 'opencv', :package =>
>>> 'external/opencv', :force => true".
>>
>> Why you do this? -> afaik should not needed, then you don't have to
>> come...
>> The Repository is already updated for master and will catch a newer
>> opencv version
>>
>>
>>>> Could you come into my office between (any day) 08.00 and 17.00 i
>>>> don't know why external/opencv is selected on your machine instead
>>>> of the system-dependency opencv
>>>>
>>>> Greetings,
>>>> Matthias
>>>>
>>>> Am 05.09.2013 17:11, schrieb Anna Born:
>>>>> 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
>>>>>
>>>>
>>>>
>>>> --
>>>> --
>>>> Matthias Goldhoorn
>>>> Unterwasserrobotik
>>>>
>>>> Standort Bremen:
>>>> DFKI GmbH
>>>> Robotics Innovation Center
>>>> Robert-Hooke-StraÃe 5
>>>> 28359 Bremen, Germany
>>>>
>>>> Phone: +49 (0)421 218-64100
>>>> Fax: +49 (0)421 218-64150
>>>> E-Mail:robotik at dfki.de
>>>>
>>>> Weitere Informationen:http://www.dfki.de/robotik
>>>> -----------------------------------------------------------------------
>>>> Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
>>>> Firmensitz: Trippstadter StraÃe 122, D-67663 Kaiserslautern
>>>> Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
>>>> (Vorsitzender) Dr. Walter Olthoff
>>>> Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
>>>> Amtsgericht Kaiserslautern, HRB 2313
>>>> Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
>>>> USt-Id.Nr.: DE 148646973
>>>> Steuernummer: 19/673/0060/3
>>>> -----------------------------------------------------------------------
>>>>
>>>>
>>>
>>
>>
>> --
>> --
>> Matthias Goldhoorn
>> Unterwasserrobotik
>>
>> Standort Bremen:
>> DFKI GmbH
>> Robotics Innovation Center
>> Robert-Hooke-StraÃe 5
>> 28359 Bremen, Germany
>>
>> Phone: +49 (0)421 218-64100
>> Fax: +49 (0)421 218-64150
>> E-Mail:robotik at dfki.de
>>
>> Weitere Informationen:http://www.dfki.de/robotik
>> -----------------------------------------------------------------------
>> Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
>> Firmensitz: Trippstadter StraÃe 122, D-67663 Kaiserslautern
>> Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
>> (Vorsitzender) Dr. Walter Olthoff
>> Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
>> Amtsgericht Kaiserslautern, HRB 2313
>> Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
>> USt-Id.Nr.: DE 148646973
>> Steuernummer: 19/673/0060/3
>> -----------------------------------------------------------------------
>>
>>
>
--
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
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: http://www.dfki.de/pipermail/rock-dev/attachments/20130906/f99a0041/attachment-0001.htm
More information about the Rock-dev
mailing list