catkin_make command isn't recognized after building catkin_ws from Qt

asked 2017-05-15 01:44:29 -0500

nir gravatar image

updated 2017-05-15 01:47:39 -0500

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?

edit retag flag offensive close merge delete


What does the terminal report when you run catkin_make? Can you also post the output of echo $PATH? It seems like there is a problem with your environment.

rbbg gravatar image rbbg  ( 2017-05-15 02:10:01 -0500 )edit

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


I also noticed that roslaunch command is not recognized too

nir gravatar image nir  ( 2017-05-15 08:17:34 -0500 )edit

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?

rbbg gravatar image rbbg  ( 2017-05-15 08:44:04 -0500 )edit