rosdep install --from-paths src --ignore-src -r -y
Then you build with either catkin build or catkin make...
catkin build
source ~/catkin_ws/devel/setup.bash
And then run the launch file...
roslaunch sm_ur5 sm_ur5.launch
rosrun smacc_viewer smacc_viewer_node.py
If you don't have the SMACC Viewer installed, click here for instructions.