Ask Your Question
0

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

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

anilmullapudi gravatar image

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

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 imageahendrix ( 2016-06-02 20:26:25 -0600 )edit

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

anilmullapudi gravatar imageanilmullapudi ( 2016-06-03 12:16:35 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

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

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-06-02 12:11:15 -0600

Seen: 652 times

Last updated: Jun 04 '16