Cannot do “make eclipse-project” in an existing ROS package
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?
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.