-
Notifications
You must be signed in to change notification settings - Fork 562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make rtabmap_ros_INSTALL_PREFIX relative to current install directory #813
Comments
Those absolute paths are populated from upstream |
Work on progress here (mostly work, though not tested with all dependencies yet) on rtabmap library to use cmake targets: introlab/rtabmap#904 You may try this new version if it fixes your issue. However, I saw that because of this: Line 164 in 26a9715
catkin will add a lot of absolute directories. You may remove that line to remove all absolute paths, however, the package won't be usable directly by another package without
|
In the install generated file install/share/rtabmap_ros/cmake/rtabmap_rosConfig.cmake there are hard-coded absolute paths to the install directory of the build system:
(and a few more)
If these could be made to only refer to
install/
then it would be possible to build in one location, zip up the whole ofinstall/
and use it on another system- in this case this github action https://github.com/lucasw/ros_from_src/blob/core/.github/workflows/ubuntu_22_04.yml with the deploy target being a different github action that doesn't want to rebuild rtabmap every build.I can solve this for now with a search and replace sed command on the deploy target, or by creating the same /home/runner/work/ros_from_src... path and extracting into that
but I suspect with a little digging the cmake commands that generated the above could be modified to fix that, have the generated file use CMAKE_CURRENT_LIST_DIR or similar.
The text was updated successfully, but these errors were encountered: