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

Revision history [back]

I noticed two things which are strange in your output:

  1. You talk about Electric, but your paths show Diamondback. Do the errors persist after running the following command?

    source /opt/ros/electric/setup.bash
    
  2. Probably unrelated to your specific problem, but still important: You seem to be running make eclipse-project in a directory outside of your home directory, specifically /opt/ros/diamondback/.... This is evil. This directory tree should not be writable by a normal user, because it is managed by the Debian package manager (in the best case, Linux will simply refuse to let you change files there; in the worst case, you have changed the permissions or run the commands as root to bypass that security precaution). Debian updates will silently overwrite your changes, and more importantly, if you mess up something there, the resulting bugs are hard to track. If you have already changed something there, please remove all ROS-related Debian packages, delete /opt/ros/... and start over. Whenever you feel the need to edit something in /opt/..., instead copy the package/stack over to your home directory first.

Just to make sure, I don't mean to sound rude or impatient; non-writability of /opt/ros/... is a concept that many people get wrong, but I've seen it to cause pain a lot. :-)