Home | Tutorials | Wiki | Issues
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I got same error because I sourced the workspace before I run catkin_make. I used ROS Hydro and Gazebo 1.9.

Solution ; Backup the src folder of workspace, delete the workspace folder and create it again.

source /opt/ros/hydro/setup.bash cd ~/catkin_ws/src catkin_init_workspace cd catkin_make

and copy src folder to ~/catkin_ws/src

I got same error because I sourced the workspace before I run catkin_make. I used ROS Hydro and Gazebo 1.9.

Solution ; Backup the src folder of workspace, delete the workspace folder and create it again.

source /opt/ros/hydro/setup.bash
cd ~/catkin_ws/src
catkin_init_workspace
cd 
catkin_make

cd ~/catkin_ws catkin_make

and copy src folder to ~/catkin_ws/src

I got same error because I sourced the workspace before I run catkin_make. I used ROS Hydro and Gazebo 1.9.

Solution ; Backup the src folder of workspace, delete the workspace folder and create it again.

source /opt/ros/hydro/setup.bash
cd ~/catkin_ws/src
catkin_init_workspace
cd   cd ~/catkin_ws
catkin_make

and copy src folder to ~/catkin_ws/src~/catkin_ws/src. Do not forget source your workspace in /.bashrc with

source ~/catkin_ws/devel/setup.bash

I got same error because I sourced the workspace before I run catkin_make. I used ROS Hydro and Gazebo 1.9.

Solution ; Backup the src folder of workspace, delete the workspace folder and create it again.

source /opt/ros/hydro/setup.bash
cd ~/catkin_ws/src
catkin_init_workspace
cd   cd ~/catkin_ws
catkin_make

and copy src folder to ~/catkin_ws/src. Do not forget source your workspace in /.bashrc with

source ~/catkin_ws/devel/setup.bash