ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Build rViz on top of Melodic

asked 2020-08-31 03:14:33 -0500

bgraysea gravatar image

updated 2022-03-04 06:44:09 -0500

lucasw gravatar image

I am trying to build rViz on top of melodic; but think I have some of the setup incorrect. I have cloned rViz to


I then ran

cd /home/brent/rosbuild_ws
rosws init . /opt/ros/melodic
rosdep install rviz
rosmake rviz

I see the below output which is generated in under 1 second; so I don't think anything is actually getting built.

Any tips on what is wrong with my setup would be most appreciated.

[ rosmake ] rosmake starting...                                                                                                                                                                                    
[ rosmake ] Packages requested are: ['rviz']                                                                                                                                                                       
[ rosmake ] Logging to directory /home/user/.ros/rosmake/rosmake_output-20200831-080058                                                                                                                            
[ rosmake ] Expanded args ['rviz'] to:
[rosmake-0] Starting >>> catkin [ make ]                                                                                                                                                                           
[rosmake-1] Starting >>> urdf [ make ]                                                                                                                                                                             
[rosmake-0] Finished <<< catkin ROS_NOBUILD in package catkin
 No Makefile in package catkin                                                                                                                       
[rosmake-1] Finished <<< urdf ROS_NOBUILD in package urdf
 No Makefile in package urdf                                                                                                                             
[rosmake-0] Starting >>> genmsg [ make ]                                                                                                                                                                           
[rosmake-1] Starting >>> cpp_common [ make ]                                                                                                                                                                       
[rosmake-9] Starting >>> ros_environment [ make ]                                                                                                                                                                  
[rosmake-4] Starting >>> cmake_modules [ make ]                                                                                                                                                                    
[rosmake-5] Starting >>> rosmake [ make ]                                                                                                                                                                          
[rosmake-6] Starting >>> rosgraph [ make ]                                                                                                                                                                         
[rosmake-7] Starting >>> rosclean [ make ]                                                                                                                                                                         
[rosmake-4] Finished <<< cmake_modules ROS_NOBUILD in package cmake_modules
 No Makefile in package cmake_modules                                                                                                  
[rosmake-2] Starting >>> media_export [ make ]                                                                                                                                                                     
[rosmake-9] Finished <<< ros_environment ROS_NOBUILD in package ros_environment
 No Makefile in package ros_environment                                                                                            
[rosmake-0] Finished <<< genmsg ROS_NOBUILD in package genmsg
 No Makefile in package genmsg                                                                                                                       
[rosmake-7] Finished <<< rosclean ROS_NOBUILD in package rosclean
 No Makefile in package rosclean                                                                                                                 
[rosmake-1] Finished <<< cpp_common ROS_NOBUILD in package cpp_common
 No Makefile in package cpp_common                                                                                                           
[rosmake-5] Finished <<< rosmake ROS_NOBUILD in package rosmake
 No Makefile in package rosmake                                                                                                                    
[rosmake-4] Starting >>> class_loader [ make ]                                                                                                                                                                     
[rosmake-13] Starting >>> rospack [ make ]                                                                                                                                                                         
[rosmake-2] Finished <<< media_export ROS_NOBUILD in package media_export
 No Makefile in package media_export                                                                                                     
[rosmake-14] Starting >>> genlisp [ make ]                                                                                                                                                                         
[rosmake-15] Starting >>> genpy [ make ]                                                                                                                                                                           
[rosmake-12] Starting >>> gencpp [ make ]                                                                                                                                                                          
[rosmake-9] Starting >>> geneus [ make ]                                                                                                                                                                           
[rosmake-0] Starting >>> gennodejs [ make ]                                                                                                                                                                        
[rosmake-7] Starting >>> rostime [ make ]                                                                                                                                                                          
[rosmake-16] Starting >>> roslang [ make ]                                                                                                                                                                         
[rosmake-14] Finished <<< genlisp ROS_NOBUILD in package genlisp
 No Makefile in package genlisp                                                                                                                   
[rosmake-4] Finished <<< class_loader ROS_NOBUILD in package class_loader
 No Makefile in package class_loader                                                                                                     
[rosmake-9] Finished <<< geneus ROS_NOBUILD in package geneus
 No Makefile in package geneus                                                                                                                       
[rosmake-0] Finished <<< gennodejs ROS_NOBUILD in package gennodejs
 No Makefile in package gennodejs                                                                                                              
[rosmake-16] Finished <<< roslang ROS_NOBUILD in package roslang
 No Makefile in package roslang                                                                                                                   
[rosmake-12] Finished <<< gencpp ROS_NOBUILD in package gencpp
 No Makefile in package gencpp                                                                                                                      
[rosmake-6] Finished <<< rosgraph ROS_NOBUILD in package rosgraph
 No Makefile in package rosgraph                                                                                                                 
[rosmake-15] Finished <<< genpy ROS_NOBUILD in package genpy
 No Makefile in package genpy                                                                                                                         
[rosmake-7] Finished <<< rostime ROS_NOBUILD in package rostime
 No Makefile in package rostime                                                                                                                    
[rosmake-13] Finished <<< rospack ROS_NOBUILD in package rospack
 No Makefile in package rospack                                                                                                                   
[rosmake-6] Starting >>> rosparam [ make ]                                                                                                                                                                         
[rosmake-1] Starting >>> rosmaster [ make ]                                                                                                                                                                        
[rosmake-24] Starting >>> message_generation [ make ]                                                                                                                                                              
[rosmake-18] Starting >>> roscpp_traits [ make ]                                                                                                                                                                   
[rosmake-37] Starting >>> xmlrpcpp [ make ]                                                                                                                                                                        
[rosmake-21] Starting >>> roslib [ make ]                                                                                                                                                                          
[rosmake-39] Starting >>> rosbash [ make ]                                                                                                                                                                         
[rosmake-37] Finished <<< xmlrpcpp ROS_NOBUILD in package xmlrpcpp
 No Makefile in package xmlrpcpp                                                                                                                
[rosmake-18] Finished <<< roscpp_traits ROS_NOBUILD in ...
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2020-08-31 04:27:11 -0500

gvdhoorn gravatar image

updated 2020-08-31 04:29:33 -0500

I then ran

cd /home/brent/rosbuild_ws
rosws init . /opt/ros/melodic
rosdep install rviz
rosmake rviz

RViz has not been a rosbuild package for quite some time now.

You'll need to use Catkin to build RViz in a Catkin workspace.

In general the use of rosbuild has been deprecated for a long time. See also wiki/rosbuild.

I would recommend you always assume you have to use Catkin these days, unless the instructions specifically tell you otherwise.

edit flag offensive delete link more


Ok great And it did seem strange to me; but I was following from Section 2.2 Build from source Are there updated build instructions anywhere that you are aware of?

bgraysea gravatar image bgraysea  ( 2020-08-31 04:33:52 -0500 )edit

I can't point you to anything RViz specific right now, but #q252478 should provide generic how-to-build-a-package-from-source-with-catkin instructions.

gvdhoorn gravatar image gvdhoorn  ( 2020-08-31 04:54:25 -0500 )edit

Question Tools

1 follower


Asked: 2020-08-31 03:14:33 -0500

Seen: 182 times

Last updated: Aug 31 '20