Skip to content
Snippets Groups Projects
  1. Jan 03, 2023
  2. May 03, 2017
  3. May 01, 2017
  4. Apr 12, 2017
  5. Apr 11, 2017
  6. Apr 06, 2017
  7. Apr 01, 2017
  8. Mar 29, 2017
  9. Mar 22, 2017
  10. Mar 20, 2017
  11. Mar 19, 2017
  12. Mar 18, 2017
  13. Mar 17, 2017
  14. Feb 23, 2017
  15. 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
    • 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
Loading