# How to use ROS in Eclipse when make eclipse-project did not worked ?

Hi I want to run the beginner_tutorials in Eclipse. I have installed Eclipse for c++ and ROS is working fin, but I can not make the eclipse project! I have copied my beginner tutorial from catkin_ws and past it in Eclipse's workspace then when I try to make it (by following this side http://wiki.ros.org/IDEs#Eclipse ) I get this message: ~/workspace/beginner_tutorials\$ make eclipse-project make: *** No rule to make targeteclipse-project'. Stop.

How can I fix this problem ?

Edit: thanks @ahendrix and @emersonfs for guidance. But unfortunately I did not have success. It mention that "Now you can import your project as existing project into workspace" !

1. Should I copy the beginner_tutorials folder from /catkin_ws/build and past it in Eclipse Workspace, open Eclipse and import the beginner_tutorials project ? Or
2. Should I open Eclipse and then import the project from the /catkin_ws/build ?
edit retag close merge delete

As to your new question: it's option 2: import them, never copy.

( 2016-02-25 06:15:32 -0500 )edit

Sort by » oldest newest most voted

As clearly stated on the IDEs page, the make ecplipse-project command only works for rosbuild. Start with section 2.2 (catkin) instead.

more

If you are using catkin, you have to tell another command rather than make eclipse-project`, 'cause this one is for rosbuild packages only. As @ahendrix said, take a look at section 2.2 of IDEs wiki link.

Alternatively, you can run a little script I've made, that automatically makes Eclipse projects from catkin packages, using the new catkin_tools.

more