Ask Your Question
0

Eclipse project creation error

asked 2013-08-09 09:05:29 -0500

AlphaSierra gravatar image

updated 2014-01-28 17:17:37 -0500

ngrennan gravatar image

I just got eclipse kepler installed and it seems to work fine. However I went to create an eclipse project for a package and got this error:

rosbox@rosbox-VirtualBox:~/catkin_ws/src/beginner_tutorials$ make eclipse-project

`make: *** No rule to make target `eclipse-project'.  Stop.

I'm using ROS groovy on ubuntu 12.04. I tried looking around this thread: http://answers.ros.org/question/11367/problem-integrating-ros-with-eclipse-indigo/ but I didn't really find anything that worked. They were talking about the cmake files in one of the comments but I didn't quite follow what they were talking about.

Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-08-09 10:19:33 -0500

BennyRe gravatar image

make eclipse-project does not work anymore with catkin.

Use this instead:

catkin_make --force-cmake -G"Eclipse CDT4 - Unix Makefiles"

See: http://www.ros.org/wiki/IDEs

edit flag offensive delete link more

Comments

I'm getting a little confused here. The article keeps referring to "the MakeFile" that needs to have an include edited in. Is it referring to each individual makefile for each project under catkin_ws/build, or is it talking about the main one in catkin_ws/build?

AlphaSierra gravatar image AlphaSierra  ( 2013-08-09 15:25:51 -0500 )edit

So I tried running the command. The article says the project files should end up under catkin_ws/build. I found one entry: Project@build in that location. It seems however to just contain all the files in that directory and none of the code from catkin_ws/src. Is this correct?

AlphaSierra gravatar image AlphaSierra  ( 2013-08-09 21:30:09 -0500 )edit

I got it. I found the source directory link, guess I just kept missing it. This thread finally clued me in: http://answers.ros.org/question/52013/catkin-and-eclipse/ Thanks for pointing me in the right direction!

AlphaSierra gravatar image AlphaSierra  ( 2013-08-10 14:20:25 -0500 )edit

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: 2013-08-09 09:05:29 -0500

Seen: 2,281 times

Last updated: Aug 09 '13