micro-ROS / micro-ROS-Agent

ROS 2 package using Micro XRCE-DDS Agent.
Apache License 2.0
97 stars 51 forks source link

Fix superbuild install permission errors #159

Open bjsowa opened 1 year ago

bjsowa commented 1 year ago

I was trying to create a debian package but I was getting permission errors during building. After digging long enough I found out that the Superbuild is trying to install files to CMAKE_INSTALL_PREFIX but it doesn't have access at the time.

With this PR, during the build, the microxrcedds_agent is installed to a temporary directory under project's build directory. Then, during the install step, the files are installed to a proper path. The Micro-XRCE-DDS-Agent is implemented similarly.

pablogs9 commented 1 year ago

If you need binary packages for micro-ROS agent please take a look here: https://docs.vulcanexus.org/en/latest/rst/installation/linux_binary_installation.html

bjsowa commented 1 year ago

I'm aware of the vulcanexus project. I still have reasons for distributing the package myself. I created this PR because I consider this change a bugfix.