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

Revision history [back]

click to hide/show revision 1
initial version

You are most likely mixing official packages (ie: distributed via packages.ros.org) with UpstreamPackages.

Catkin for ROS Melodic would be ros-melodic-catkin, not catkin.

You cannot mix these two package sources.

Please read UpstreamPackages and install ros-melodic-catkin (but you most likely already have it installed).

hwlee@hwlee:~/catkin_ws$ catkin_make
Command 'catkin_make' not found

Have you remembered to source /opt/ros/melodic/setup.bash before trying to run catkin_make?

hwlee@hwlee:~/catkin_ws$ catkin_make
Command 'catkin_make' not found

You Have you remembered to source /opt/ros/melodic/setup.bash before trying to run catkin_make?

As to this:

hwlee@hwlee:~/catkin_ws$ sudo apt install catkin
Reading package lists... Done
Building dependency tree       
Reading state information... Done

Some packages could not be installed. This may mean that you have requested an impossible situation or if you are most likely using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.

This is caused by mixing official packages (ie: distributed via packages.ros.org) with UpstreamPackages.

Catkin for ROS Melodic would be ros-melodic-catkin, not catkin.

You cannot mix these two package sources.

Please read UpstreamPackages and install ros-melodic-catkin (but you most likely already have it installed).

hwlee@hwlee:~/catkin_ws$ catkin_make
Command 'catkin_make' not found

Have you remembered to source /opt/ros/melodic/setup.bash before trying to run catkin_make?