<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 05.09.2013 19:34, Anna Born wrote:
    <blockquote cite="mid:5228C088.5080304@dfki.de" type="cite">
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      <div class="moz-cite-prefix">Hallo Matthias,<br>
        <br>
        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.<br>
        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.<br>
        <br>
        -&gt; afaik should not needed<br>
        <br>
        Why I don't need to override and use external package? Could you
        explain me please?<br>
        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.<br>
      </div>
    </blockquote>
    <br>
    This make no sense.<br>
    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). <a class="moz-txt-link-freetext" href="http://packages.ubuntu.com/quantal/libopencv-dev">http://packages.ubuntu.com/quantal/libopencv-dev</a><br>
    <br>
    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).<br>
    <br>
    <br>
    <blockquote cite="mid:5228C088.5080304@dfki.de" type="cite">
      <div class="moz-cite-prefix"> <br>
        Here is output, if I compile with override:<br>
        ldd libframe_helper.so <br>
        libopencv_core.so.2.3 =&gt;
        /home/linki/DFKI/ROCK/install/lib/libopencv_core.so.2.3
        (0x00007fd08a386000)<br>
        libopencv_imgproc.so.2.3 =&gt;
        /home/linki/DFKI/ROCK/install/lib/libopencv_imgproc.so.2.3
        (0x00007fd089f17000)<br>
        libopencv_highgui.so.2.3 =&gt;
        /home/linki/DFKI/ROCK/install/lib/libopencv_highgui.so.2.3
        (0x00007fd089ccf000)<br>
        libopencv_calib3d.so.2.3 =&gt;
        /home/linki/DFKI/ROCK/install/lib/libopencv_calib3d.so.2.3
        (0x00007fd089a37000)<br>
        <br>
        And without override:<br>
        ldd libframe_helper.so <br>
        libopencv_calib3d.so.2.4 =&gt;
        /usr/local/lib/libopencv_calib3d.so.2.4 (0x00007f4a202d6000)<br>
        libopencv_core.so.2.4 =&gt; /usr/local/lib/libopencv_core.so.2.4
        (0x00007f4a1fe8b000)<br>
        libopencv_highgui.so.2.4 =&gt;
        /usr/local/lib/libopencv_highgui.so.2.4 (0x00007f4a1fc39000)<br>
        libopencv_imgproc.so.2.4 =&gt;
        /usr/local/lib/libopencv_imgproc.so.2.4 (0x00007f4a1f75e000)<br>
        <br>
        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.<br>
        <br>
        Thank you for your help and have a nice evening.<br>
        <br>
        With best regards,<br>
        Anna<br>
        <br>
        <br>
        Am 05.09.2013 18:39, schrieb Anna Born:<br>
      </div>
      <blockquote cite="mid:5228B421.1000302@dfki.de" type="cite">
        <blockquote cite="mid:5228B3B5.8000809@dfki.de" type="cite">
          <meta content="text/html; charset=UTF-8"
            http-equiv="Content-Type">
          <div class="moz-cite-prefix">Thank you. I will come tomorrow.<br>
            <br>
            The external/opencv is selected, because I added the
            override "Autoproj.add_osdeps_overrides 'opencv', :package
            =&gt; 'external/opencv', :force =&gt; true". <br>
          </div>
        </blockquote>
        <br>
        Why you do this? -&gt; afaik should not needed, then you don't
        have to come...<br>
        The Repository is already updated for master and will catch a
        newer opencv version<br>
        <br>
        <br>
        <blockquote cite="mid:5228B3B5.8000809@dfki.de" type="cite">
          <div class="moz-cite-prefix"> </div>
          <blockquote cite="mid:5228B236.2070802@dfki.de" type="cite">
            <meta content="text/html; charset=UTF-8"
              http-equiv="Content-Type">
            <div class="moz-cite-prefix">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<br>
              <br>
              Greetings,<br>
              Matthias<br>
              <br>
              Am 05.09.2013 17:11, schrieb Anna Born:<br>
            </div>
            <blockquote cite="mid:52289F25.6000303@dfki.de" type="cite">
              <meta content="text/html; charset=UTF-8"
                http-equiv="Content-Type">
              Hello,<br>
              <br>
              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.<br>
              <br>
              Here some additional information:<br>
              rock-flavor: master<br>
              last-update: yesterday at 18:00<br>
              <br>
              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.<br>
              <br>
              I wrote the previous email  just to take your attention to
              this issue, that can occur by other rock users.<br>
              <br>
              Thank you a lot.<br>
              <br>
              With best regards,<br>
              Anna<br>
              <br>
              <b>autoproj-show opencv</b><br>
              source package external/opencv<br>
                imported from<br>
                  type: archive<br>
                  url: <a moz-do-not-send="true"
                class="moz-txt-link-freetext"
href="http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.3.1/OpenCV-2.3.1a.tar.bz2">http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.3.1/OpenCV-2.3.1a.tar.bz2</a><br>
                  update_cached_file: false<br>
                  first match: in rock<br>
                    type: archive<br>
                    url: <a moz-do-not-send="true"
                class="moz-txt-link-freetext"
href="http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.3.1/OpenCV-2.3.1a.tar.bz2">http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.3.1/OpenCV-2.3.1a.tar.bz2</a><br>
                    update_cached_file: false<br>
                is not directly selected by the manifest<br>
                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<br>
                selected by way of<br>
                 
spacebot&gt;simulation/orogen/mars_core&gt;simulation/mars/gui&gt;external/opencv<br>
                 
drivers/orogen/camera_prosilica&gt;drivers/orogen/camera_base&gt;image_processing/frame_helper&gt;external/opencv<br>
                  image_processing/object_detection&gt;external/opencv<br>
                 
image_processing/orogen/object_detection&gt;image_processing/object_detection&gt;external/opencv<br>
                 
slam/orogen/graph_slam&gt;slam/graph_slam&gt;image_processing/stereo&gt;external/opencv<br>
                directly depends on: <br>
              <br>
              <b>autoproj-show external/opencv</b><br>
              source package external/opencv<br>
                imported from<br>
                  type: archive<br>
                  url: <a moz-do-not-send="true"
                class="moz-txt-link-freetext"
href="http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.3.1/OpenCV-2.3.1a.tar.bz2">http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.3.1/OpenCV-2.3.1a.tar.bz2</a><br>
                  update_cached_file: false<br>
                  first match: in rock<br>
                    type: archive<br>
                    url: <a moz-do-not-send="true"
                class="moz-txt-link-freetext"
href="http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.3.1/OpenCV-2.3.1a.tar.bz2">http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.3.1/OpenCV-2.3.1a.tar.bz2</a><br>
                    update_cached_file: false<br>
                is not directly selected by the manifest<br>
                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<br>
                selected by way of<br>
                 
spacebot&gt;simulation/orogen/mars_core&gt;simulation/mars/gui&gt;external/opencv<br>
                 
drivers/orogen/camera_prosilica&gt;drivers/orogen/camera_base&gt;image_processing/frame_helper&gt;external/opencv<br>
                  image_processing/object_detection&gt;external/opencv<br>
                 
image_processing/orogen/object_detection&gt;image_processing/object_detection&gt;external/opencv<br>
                 
slam/orogen/graph_slam&gt;slam/graph_slam&gt;image_processing/stereo&gt;external/opencv<br>
                directly depends on: <br>
              <br>
              <br>
              <br>
               <br>
              <blockquote
                cite="mid:lrfte695eccyaycod6j4dmwu.1378391956757@email.android.com"
                type="cite"><br>
                <br>
                -------- Original message --------<br>
                From: Matthias Goldhoorn <a moz-do-not-send="true"
                  class="moz-txt-link-rfc2396E"
                  href="mailto:matthias.goldhoorn@dfki.de">&lt;matthias.goldhoorn@dfki.de&gt;</a>
                <br>
                Date: <br>
                To: <a moz-do-not-send="true"
                  class="moz-txt-link-abbreviated"
                  href="mailto:anna.born@dfki.de">anna.born@dfki.de</a>
                <br>
                Subject: Re: [Rock-dev] Fwd: Re: [Ric-spacebot]
                image_processing/frame_helper failed to build <br>
                <br>
                <br>
                Please add also to your mail the result of<br>
                <br>
                autoproj-show opencv<br>
                autoproj-show external/opencv<br>
                <br>
                Greetings<br>
                <br>
                On 05.09.2013 09:13, Matthias Goldhoorn wrote:
                <blockquote cite="mid:52282F1D.1020300@dfki.de"
                  type="cite">
                  <meta content="text/html; charset=UTF-8"
                    http-equiv="Content-Type">
                  So why you are using opencv as a external dependency?.<br>
                  <br>
                  It's a long time ago rock uses the external opencv
                  version, standard should be the system dependency...<br>
                  <br>
                  Matthias<br>
                  <br>
                  P.S. some additional infos woud be great:<br>
                  <br>
                  Operating System including version<br>
                  rock-flavor<br>
                  last-update of rock<br>
                  <br>
                  <br>
                  On 05.09.2013 08:31, Jakob Schwendner wrote:
                  <blockquote
cite="mid:1001471105.6002.1378362674931.JavaMail.open-xchange@ox6.dfki.de"
                    type="cite">
                    <meta content="text/html; charset=UTF-8"
                      http-equiv="Content-Type">
                    <div>   </div>
                    <div> <br>
                      ---------- Original Message ---------- <br>
                      From: Anna Born <a moz-do-not-send="true"
                        class="moz-txt-link-rfc2396E"
                        href="mailto:anna.born@dfki.de">&lt;anna.born@dfki.de&gt;</a>
                      <br>
                      To: <a moz-do-not-send="true"
                        class="moz-txt-link-abbreviated"
                        href="mailto:ric-spacebot@dfki.de">ric-spacebot@dfki.de</a>
                      <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>
                      <a moz-do-not-send="true"
                        class="moz-txt-link-freetext"
href="http://downloads.sourceforge.net/project/opencvlibrary/opencv-unix/2.3/OpenCV-2.3.0.tar.bz2">http://downloads.sourceforge.net/project/opencvlibrary/opencv-unix/2.3/OpenCV-2.3.0.tar.bz2</a>).







                      <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&amp;,
                      base::samples::frame::Frame&amp;)’: <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>
                    <br>
                    <fieldset class="mimeAttachmentHeader"></fieldset>
                    <br>
                    <pre wrap="">_______________________________________________
Rock-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Rock-dev@dfki.de">Rock-dev@dfki.de</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev">http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev</a>
</pre>
                  </blockquote>
                  <br>
                  <br>
                  <pre class="moz-signature" cols="72">-- 
 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:   <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:matthias.goldhoorn@uni-bremen.de">matthias.goldhoorn@uni-bremen.de</a>

 Weitere Informationen: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.informatik.uni-bremen.de/robotik">http://www.informatik.uni-bremen.de/robotik</a></pre>
                  <br>
                  <fieldset class="mimeAttachmentHeader"></fieldset>
                  <br>
                  <pre wrap="">_______________________________________________
Rock-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Rock-dev@dfki.de">Rock-dev@dfki.de</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev">http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev</a>
</pre>
                </blockquote>
                <br>
                <br>
                <pre class="moz-signature" cols="72">-- 
 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:   <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:matthias.goldhoorn@uni-bremen.de">matthias.goldhoorn@uni-bremen.de</a>

 Weitere Informationen: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.informatik.uni-bremen.de/robotik">http://www.informatik.uni-bremen.de/robotik</a></pre>
              </blockquote>
              <br>
            </blockquote>
            <br>
            <br>
            <pre class="moz-signature" cols="72">-- 
 -- 
 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: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:robotik@dfki.de">robotik@dfki.de</a>
 
 Weitere Informationen: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.dfki.de/robotik">http://www.dfki.de/robotik</a>
 -----------------------------------------------------------------------
 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 
 -----------------------------------------------------------------------


</pre>
          </blockquote>
          <br>
        </blockquote>
        <br>
        <br>
        <pre class="moz-signature" cols="72">-- 
 -- 
 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: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:robotik@dfki.de">robotik@dfki.de</a>
 
 Weitere Informationen: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.dfki.de/robotik">http://www.dfki.de/robotik</a>
 -----------------------------------------------------------------------
 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 
 -----------------------------------------------------------------------


</pre>
      </blockquote>
      <br>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
 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:   <a class="moz-txt-link-abbreviated" href="mailto:matthias.goldhoorn@uni-bremen.de">matthias.goldhoorn@uni-bremen.de</a>

 Weitere Informationen: <a class="moz-txt-link-freetext" href="http://www.informatik.uni-bremen.de/robotik">http://www.informatik.uni-bremen.de/robotik</a></pre>
  </body>
</html>