<div dir="ltr">Currently you can not use <span style="white-space:pre-wrap">GNUInstallDirs for catkin packages since the arch specific locations are not supported in a catkin workspace.</span><div><span style="white-space:pre-wrap">The files would just not be found by downstream package due to there non standard location.</span></div>
<div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">- Dirk</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 9, 2014 at 9:34 AM, Fabien Spindler <span dir="ltr"><<a href="mailto:Fabien.Spindler@inria.fr" target="_blank">Fabien.Spindler@inria.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Hi,<br>
    <br>
    I'm trying to release visp on indigo. The release process works well
    for Saucy, but fails for Trusty:
    <a href="http://www.ros.org/debbuild/indigo.html?q=visp" target="_blank">http://www.ros.org/debbuild/indigo.html?q=visp</a><br>
    <br>
    According to
<a href="http://jenkins.ros.org/view/IbinT32/job/ros-indigo-visp_binarydeb_trusty_i386/lastFailedBuild/console" target="_blank">http://jenkins.ros.org/view/IbinT32/job/ros-indigo-visp_binarydeb_trusty_i386/lastFailedBuild/console</a><br>

    the error is:<br>
    <br>
    
    <pre>dpkg-shlibdeps: error: couldn't find library libvisp.so.2.9 needed by debian/ros-indigo-visp/opt/ros/indigo/share/visp/demo/wireframe-simulator/servoSimu4Points</pre>
    <br>
    In the CMakeLists.txt I use CMAKE_INSTALL_LIBDIR<span style="color:#800000"></span> to determine the installation path :<br>
    <br>
    
    <pre style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#808000">include</span>(<span style="color:#800000">${CMAKE_ROOT}</span>/Modules/GNUInstallDirs.cmake)</pre>

    <br>
    
    <pre style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#808000">install</span>(TARGETS<span style="color:#c0c0c0"> </span><span style="color:#800000">${VISP_INTERN_LIBRARY} </span><span style="color:#c0c0c0"></span>LIBRARY<span style="color:#c0c0c0"> </span>DESTINATION<span style="color:#c0c0c0"> </span><span style="color:#800000">${CMAKE_INSTALL_LIBDIR}</span><span style="color:#c0c0c0"> </span>COMPONENT<span style="color:#c0c0c0"> </span>libraries<span style="color:#c0c0c0"></span>)

On Trusty the library is installed in /opt/ros/indigo/lib/i386-linux-gnu/libvisp.so.2.9.0
rather than in /opt/ros/indigo/lib/ as it seems expected by the build farm.
<pre></pre></pre>
    <br>
    I can modify my CMakeLists.txt to set manually
    CMAKE_INSTALL_LIBDIR=lib before including GNUInstallDirs.cmake but
    it will be then an horrible hack.<br>
    <br>
    Is there a more elegant way to fix that ?<br>
    <br>
    Thanks<span class="HOEnZb"><font color="#888888"><br>
    <br>
    Fabien<br>
    <br>
  </font></span></div>

<br>_______________________________________________<br>
ros-release mailing list<br>
<a href="mailto:ros-release@code.ros.org">ros-release@code.ros.org</a><br>
<a href="http://lists.ros.org/mailman/listinfo/ros-release" target="_blank">http://lists.ros.org/mailman/listinfo/ros-release</a><br>
<br></blockquote></div><br></div>