# An error with building ros2 and a question about rviz

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 close merge delete

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