<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body 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 class="moz-txt-link-freetext" href="http://www.ros.org/debbuild/indigo.html?q=visp">http://www.ros.org/debbuild/indigo.html?q=visp</a><br>
    <br>
    According to
<a class="moz-txt-link-freetext" href="http://jenkins.ros.org/view/IbinT32/job/ros-indigo-visp_binarydeb_trusty_i386/lastFailedBuild/console">http://jenkins.ros.org/view/IbinT32/job/ros-indigo-visp_binarydeb_trusty_i386/lastFailedBuild/console</a><br>
    the error is:<br>
    <br>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <pre class="console-output">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>
    <meta name="qrichtext" content="1">
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><!--StartFragment--><span style=" color:#808000;">include</span>(<span style=" color:#800000;">${CMAKE_ROOT}</span>/Modules/GNUInstallDirs.cmake)<!--EndFragment--></pre>
    <style type="text/css">
p, li { white-space: pre-wrap; </style><br>
    <meta name="qrichtext" content="1">
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><!--StartFragment--><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 class="console-output"></pre><!--EndFragment--></pre>
    <style type="text/css">
p, li { white-space: pre-wrap; }
</style><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<br>
    <br>
    Fabien<br>
    <br>
  </body>
</html>