catkin_make command isn't recognized after building catkin_ws from Qt
Hi all
catkin_make command is not recognized after running the next steps (ros kinetic on ubuntu 16.04):
1) configured a new catkin_ws.
2) added "source ~/catkin_ws/devel/setup.bash" to ~/.bashrc
3) Cloned a new package (ros_control_boilerplate)
4) catkin_make
5) import catkin_ws into Qt as suggested in ROS IDE tutorials
6) building catkin_ws from Qt
7) reopened the terminal
8) trying to catkin_make from terminal with no success
Any suggestion?
What does the terminal report when you run
catkin_make
? Can you also post the output ofecho $PATH
? It seems like there is a problem with your environment.nlevi@lenovo:~/catkin_ws$ catkin_make
The program 'catkin_make' is currently not installed. You can install it by typing: sudo apt install catkin
nlevi@lenovo:~/catkin_ws$ echo $ROS_PACKAGE_PATH
/opt/ros/kinetic/share
I also noticed that roslaunch command is not recognized too
It really looks like your environment is not correctly sourced. Does it work after running
source ~/catkin_ws/devel/setup.bash
? Can you verify the existence of the setup.bash file? Also, can you echo$PATH
rather than$ROS_PACKAGE_PATH
?