ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

what could be the reason for my project is missing in .project file?

asked 2016-06-02 12:11:15 -0500

anilmullapudi gravatar image

updated 2016-06-02 15:48:39 -0500

I have created a project from terminal and i was able to run successfully. When try to configure eclipse for the same project, but the project is not visible in eclipse. Hence, i am not able open and run my project in eclipse.

here is the steps i followed.

cd path/to/catkin/workspace

catkin_make --force-cmake -G"Eclipse CDT4 - Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_ECLIPSE_MAKE_ARGUMENTS=-j8

After running the above command, .project and .cproject files are created in the <catkin_workspace>/build directory. then i tried to import my project Click File -> Import -> Existing Projects into Workspace (Next) -> Browse (browse to catkin_workspace -> My project is not visible here :-( ,

i noticed my project is not appearing in the .project file. why my project is missing in .project and how can i open it in eclipse. Can anyone please help me on this?

edit retag flag offensive close merge delete

Comments

I assume you're following the instructions in http://wiki.ros.org/IDEs

ahendrix gravatar image ahendrix  ( 2016-06-02 20:26:25 -0500 )edit

Yes, i followed instructions in http://wiki.ros.org/IDEs . But project was not visible to import from eclipse.

anilmullapudi gravatar image anilmullapudi  ( 2016-06-03 12:16:35 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-06-04 01:30:17 -0500

anilmullapudi gravatar image

I followed this link http://www.cnblogs.com/freedomshe/arc... After following this link, problem solved. ROS source packages can be found in build directory that was imported in eclipse. we can not find the packages directly in eclipse existing projects while importing. we have to first import build directory, it has a source directory for all our packages. It is important to build the project in eclipse (ctrl+b) immediately after importing to avoid semantic errors.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-06-02 12:11:15 -0500

Seen: 1,216 times

Last updated: Jun 04 '16