Eclipse with ROS stil not working

asked 2015-03-23 21:49:44 -0500

lilouch gravatar image

updated 2015-03-23 21:51:52 -0500


I have a problem with the IDE eclipse. I read and did all the instruction on this tutorial: I did like twice but i have a problem at the step 5: runing and debugging with eclipse.

"Create a new launch configuration, by clicking on Run --> Run configurations... --> C/C++ Application (double click or click on New). Select the correct binary on the main tab (Search project should work when your binary was already built). Then in the environment tab, add (at least)"

The problem is that i dont have any binary file. I read differents posts on the internet and did others tutorials but i wasn't able to find a solution. Here the screenshot (i tried "search project" but it's empty)

Can someone help me ?

Thank you

edit retag flag offensive close merge delete


just to make sure: have you build your project before you try to create a Run configuration?

gvdhoorn gravatar image gvdhoorn  ( 2015-03-24 03:38:14 -0500 )edit

Yes i click on build project. I also click on index -> rebuild index

lilouch gravatar image lilouch  ( 2015-03-24 03:43:57 -0500 )edit

And after building, you have nothing under Targets? The index is only for source code completion, it should not have anything to do with your current problem.

gvdhoorn gravatar image gvdhoorn  ( 2015-03-24 04:01:52 -0500 )edit

I have only two things: [lib] gtest and [lib] gtest_main . should have I something else ?

lilouch gravatar image lilouch  ( 2015-03-24 04:13:14 -0500 )edit

And again, just to be sure: which of the sections of did you follow? The rosbuild based one (first section) will not work properly for catkin projects.

gvdhoorn gravatar image gvdhoorn  ( 2015-03-24 04:38:37 -0500 )edit

Yes i did the part with CatKin project...I really don't understand what is the problem. Are you agree that i have to do the catkin command at the root of the package ?

lilouch gravatar image lilouch  ( 2015-03-24 09:45:50 -0500 )edit

Hey man I have the same problem. Let's see if we can figure this out. For a work around, I created a new run configuration with the binaries from catkin_workspace/devel/lib/<project>. These are the binaries that catkin_make generates. so you have to use catkin_make in terminal, before using run

raghav.rao32 gravatar image raghav.rao32  ( 2015-06-25 12:37:35 -0500 )edit

I was able to run it, I directly selected the binary fin in the bin folder generated by the compiler ! Thanks

lilouch gravatar image lilouch  ( 2015-06-25 20:14:33 -0500 )edit