You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I do a symlink install and then try to cpack: ament_cmake_symlink_install.cmake fails.
When cpack runs CMAKE_CURRENT_BINARY_DIR is not set. This casuses ament to try to create symlink_install_manifest.txt in the root directory which causes it (and cpack) to fail.
Error message:
CMake Error at /.../.../ament_cmake_symlink_install/ament_cmake_symlink_install.cmake:5 (file):
file failed to open for writing (Permission denied):
/symlink_install_manifest.txt
Work around:
manually create /symlink_install_manifest.txt that way ament will find the file and write to it and cpack will not fail.
Welp. Turns out while this does get me an install file the install file doesn't have any content. I gues CMake/CPack aren't capable of following symlinks...
When I do a symlink install and then try to
cpack
:ament_cmake_symlink_install.cmake
fails.When cpack runs CMAKE_CURRENT_BINARY_DIR is not set. This casuses ament to try to create symlink_install_manifest.txt in the root directory which causes it (and cpack) to fail.
Error message:
Work around:
manually create /symlink_install_manifest.txt that way ament will find the file and write to it and cpack will not fail.
better yet: ln -s /dev/null /symlink_install_manifest.txt
The text was updated successfully, but these errors were encountered: