Cannot do “make eclipse-project” in an existing ROS package

asked 2015-12-17 07:15:33 -0600

updated 2016-03-09 20:55:01 -0600

When I create a new ROS package using:

$ roscreate-pkg test std_msgs rospy roscpp

and then I proceed to it, typing:

$ make eclipse-project

Everything is OK.

But when I roscd into an existing ROS package and type the above command, it returns :

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

Is it because the package isn't created by roscreate-pkg?

edit retag flag offensive close merge delete

Comments

Now I've fixed that. When you want to import ROS project you have only two options:

1.Import a single package(It must be created by "roscreate-pkg")

2.Import a whole build directory as a project into eclipse. For more information, refer to here.

Clack gravatar image Clack  ( 2016-01-27 00:14:45 -0600 )edit