0
$\begingroup$

I need to build ROS 2 Humble from source on a Beaglebone Black. When I do so, I get build errors. I followed the instructions on the ROS website.

As shown in the screenshot below, warning occur indicating some C++ expressions changed with gcc 7.1. Is there a specific compiler version required to build ROS 2 from source?

I also tried building with 'colcon build --symlink-intall --continue-on-error' and the build stops after 6 failures and 130 successful package builds. The output of this can also be found as the second screenshot provided.

If anyone has experience building ROS 2 Humble from source on armhf architecture or is aware of what is causing this issue, please let me know. If more information is required, please let me know as I am new to Linux and ROS.

Thank you Build output without continue on error

Build with continue on error

$\endgroup$

1 Answer 1

1
$\begingroup$

First: don't post text output as screenshots. Instead: copy-paste it in a code block, between ``` delimiters, e.g.:

```

[copy - paste]

```

Now, wrt the error: it is about RViz (rviz_ogre_vendor). I assume you don't need to run RViz on the Beaglebone. So I suggest to use colcon graph to check the dependencies of rviz_ogre_vendor, and just remove that package and all its dependencies from your source tree.

$\endgroup$
3
  • $\begingroup$ Thank you for the response, I will ensure the terminal output is added as text moving forward. As for removing packages from the build process, Ideally I would build the core packages and only build additional packages as required. Is there a way with colcon to build only the core packages? Or would I have to find the name of each core package and omit all others? $\endgroup$
    – elegresl
    Commented Nov 13, 2023 at 16:05
  • $\begingroup$ I don't know unfortunately.. I found this thread in which the part on rosinstall_generator seems th most promising, but I have no experience with that. $\endgroup$
    – JRTG
    Commented Nov 13, 2023 at 17:08
  • $\begingroup$ Thank you, I appreciate your help. $\endgroup$
    – elegresl
    Commented Nov 13, 2023 at 17:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.