An error with building ros2 and a question about rviz

asked 2018-08-01 15:51:19 -0500

LiamNelson gravatar image

updated 2018-08-01 17:36:07 -0500

jayess gravatar image

I am currently trying to setup ros2 in a virtual box running ubuntu with an end goal of taking the completed image and putting it on a pi zero w with arch linux. Currently, we are having the following error:

<== Command '. /home/artc/rviz2_ws/build/rviz_ogre_vendor/cmake__build.sh && /usr/bin/make -j4 -l4' failed in '/home/artc/rviz2_ws/build/rviz_ogre_vendor' with exit code '2'
<== Command '. /home/artc/rviz2_ws/build/rviz_ogre_vendor/cmake__build.sh && /usr/bin/make -j4 -l4' failed in '/home/artc/rviz2_ws/build/rviz_ogre_vendor' with exit code '2'

My question is, is rviz necessary for ros2 to run? I don't need the visual display for my build and it looks like rviz is the last error before I can get the system up and running. If it's not required, how do I remove it from the overall build?

Thanks!

edit retag flag offensive close merge delete

Comments

At least with ROS 1, rviz is not necessary to run ROS. I'd imagine that it's the same with ROS 2.

jayess gravatar image jayess  ( 2018-08-01 17:38:47 -0500 )edit

If you don't want to build rviz you can simply remove it (as well as dependencies if desired) from your workspace.

Dirk Thomas gravatar image Dirk Thomas  ( 2018-08-01 17:48:31 -0500 )edit