It's all about the answers!

Ask a question

how to do C++ development with Eclipse CDT and RTC?


Karthik Krishnan (859392134) | asked Apr 07 '16, 10:53 a.m.
We are using Eclipse CDT (Luna 4.4.1) with RTC 5.0.2 for C & C++ development

All our components have .Project file  and most of the components contains c/c++ code and needed for compilation

We load each component as one "Eclipse project". With this, the C++ indexer doesn't run and cannot resolve all links
So what we do is create a dummy C /c++ project and in that folder load the workspace. With this the indexer works but unfortunately the "Team" context menu doesn't show any "RTC related" items. See attachment 
cdt
Are there any tips / best practices on how we can use RTC for C & C++ development?

One answer



permanent link
Geoffrey Clemm (29.4k23035) | answered Apr 09 '16, 1:58 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
In order to have your project root directory under version control, as well as having your project broken up into multiple RTC components, you will need the "nested loading" feature introduces in 6.x.   In 5.0.2, the best you can do is to put all the files and directories in your project root directory under version control, but the project root directory itself cannot be under version control (unless you put your entire project into a single RTC component).

Your answer


Register or to post your answer.