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

Catkin and Eclipse - builds but indexing errors stop autocompletion

asked 2013-10-10 15:49:11 -0500

updated 2014-01-28 17:18:12 -0500

ngrennan gravatar image


I'm just getting started with Catkin and want to use eclipse for its autocomplete features.

The project has no problems building but still wont recognise symbols in code. It will recognise the header declarations, but not the symbols declared in those headers. Here is a screen shot:

image description

To import I followed the directions and also in the ros answer linked by that page.

I've tried reindexing, opening and closing the project, deleting and reimporting the project and it is being imported perfectly (by perfect I mean drags in all includes, binaries, and compiles in eclipse). I've also closed all other C++ projects in the workspace in case they were interferring with my includes.

But I can't seem to see the errors Eclipse finds. In the project settings there is no tab for importing libraries perhaps this is an issue that eclipse cannot see these. Though they are included in the cmakelists.txt and used for the build?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-10-10 16:39:44 -0500

just broke the source away into hmmv4.cpp and the auto complete started working. as Colonel Klink would say: ECLIPSE!

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2013-10-10 15:49:11 -0500

Seen: 471 times

Last updated: Oct 10 '13