Ask Your Question
0

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

asked 2016-02-01 10:15:44 -0600

RosUser gravatar image

updated 2016-02-25 06:13:00 -0600

gvdhoorn gravatar image

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 flag offensive close merge delete

Comments

@RosUser: please don't post answers unless you actually want to answer a question. For updates / to tell us what you've tried, please use the edit button/link. I've already merged your update into your question for you.

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

gvdhoorn gravatar imagegvdhoorn ( 2016-02-25 06:15:32 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-02-01 11:39:58 -0600

ahendrix gravatar image

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

edit flag offensive delete link more
0

answered 2016-02-19 06:21:01 -0600

longforgotten gravatar image

updated 2017-05-02 14:45:11 -0600

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-02-01 10:15:44 -0600

Seen: 164 times

Last updated: May 02 '17