Skip to content
Snippets Groups Projects
  1. Mar 19, 2017
  2. Feb 22, 2017
    • Dmitry Rozhkov's avatar
      kdl-parser: add explicit dependency on libeigen · d3d4634f
      Dmitry Rozhkov authored
      
      libeigen is an interface dependency needed by orocos-kdl and
      orocos-kdl does export this dependency, but it does so with
      a hardcoded absolute path pointing to the sysroot where
      orocos-kdl was built. In case the sysroot doesn't exist
      the compiler can't find libeigen's headers.
      
      Unfortunately orocos-kdl's CMakeList.txt doesn't use
      per-target include dirs, but global ones. I don't know
      an easy way how to make them relocatable.
      
      The easiest way to fix it is to add the explicit dependency
      on libeigen to kdl-parser's CMakeList.txt. Anyway it's already
      been declarated as a dependency in kdl-parser's recipe.
      
      Signed-off-by: default avatarDmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
      d3d4634f
    • Dmitry Rozhkov's avatar
      catkin: relocate dependency's headers to current sysroot · b0be1fc4
      Dmitry Rozhkov authored
      If a package (A) depends on another package (B) and the package
      B depends on Boost then it might happen that B produces BConfig.cmake
      file where absolute paths to Boost's headers are put (because CMake's
      standard FindBoost.cmake module reports absolute paths). In case of
      Yocto it means that BConfig.cmake will contain something like
      /path/to/build/tmp-glibc/work/i586/package_B/0.0.1/recipe-sysroot/usr/include.
      The path may not exist at the moment when the package A is being built.
      And that leads to the failure of the check this patch switches off.
      
      The problem has been reported to catkin's issue tracker:
      https://github.com/ros/catkin/issues/851
      
      
      
      This patch "relocates" required headers from dependencies' sysroots
      to the current sysroot by removing sysroot prefix from include dirs
      in *Config.cmake files at the moment the files get created and
      by prepending the include dirs again with the current sysroot prefix.
      
      Signed-off-by: default avatarDmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
      b0be1fc4
    • Dmitry Rozhkov's avatar
  3. Feb 08, 2017
Loading