Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » getting started
getting started [message #144632] Thu, 05 May 2005 13:59 Go to next message
Eclipse User
Originally posted by: vadikmironoff.mtu-net.ru

Hi!

I recently import CDT from CVS and have one question concerning
compilation. Namely, in many places I found followings:

MakeUIPlugin.getDefault().getWorkbench().getHelpSystem().set Help(getControl(),
IMakeHelpContextIds.MAKE_EDITOR_PREFERENCE_PAGE);

But in my version of eclipse (3.0.2) IWorkbench interface does not
export such method as getHelpSystem(). I believe in the end we have to
get access to org.eclipse.ui.help.WorkbenchHelp since I saw no other
possible candidates. Am I right or did I miss something?

With best regards,
Vadik Mironov
Re: getting started [message #144641 is a reply to message #144632] Thu, 05 May 2005 14:29 Go to previous messageGo to next message
Eclipse User
Originally posted by: devin_steffler.ca.ibm.com

If you're working with CDT from CVS HEAD then you'll need to use Eclipse
3.1M6.

Hope this helps,
Devin

"Vadik Mironov" <vadikmironoff@mtu-net.ru> wrote in message
news:d5d97n$4s1$1@news.eclipse.org...
> Hi!
>
> I recently import CDT from CVS and have one question concerning
> compilation. Namely, in many places I found followings:
>
>
MakeUIPlugin.getDefault().getWorkbench().getHelpSystem().set Help(getControl(
),
> IMakeHelpContextIds.MAKE_EDITOR_PREFERENCE_PAGE);
>
> But in my version of eclipse (3.0.2) IWorkbench interface does not
> export such method as getHelpSystem(). I believe in the end we have to
> get access to org.eclipse.ui.help.WorkbenchHelp since I saw no other
> possible candidates. Am I right or did I miss something?
>
> With best regards,
> Vadik Mironov
Re: getting started [message #986840 is a reply to message #144641] Wed, 21 November 2012 21:49 Go to previous messageGo to next message
Paul Bußmann is currently offline Paul Bußmann
Messages: 17
Registered: October 2012
Junior Member
Hi,

I'd like to get in touch with CDT developing, so I took a look to http://www.eclipse.org/cdt/.

my 2 cents about the docs:
1. Starting at http://www.eclipse.org/cdt/: There is still "CVS", but at http://wiki.eclipse.org/CDT/Developer/FAQ there is "CDT has moved from CVS repository to Git.". Seems to be little outdated, "Git" may be better there.

2. http://www.eclipse.org/cdt/developers.php
- First item "Getting started with CDT Development" sounds interesting. I guess this is where I should start reading. Smile
- Second item "Download CDT 7.0 - Be a beta tester for newest CDT release" is a broken link and seems outdated.

3. http://wiki.eclipse.org/Getting_started_with_CDT_development
- Do I really need a second Eclipse (-> "The very first thing ... is install an Eclipse SDK ... Eclipse Project")? Isn't it possible to modify the freshly downloaded CDT 8.1.1 to debug itself ("Creating a runtime patch")? Which plugins are needed for this?

Would be nice if you could fix the sites/links stated above.

Best regards,
Paul
Re: getting started [message #987020 is a reply to message #986840] Thu, 22 November 2012 22:33 Go to previous messageGo to next message
Paul Bußmann is currently offline Paul Bußmann
Messages: 17
Registered: October 2012
Junior Member
I am following http://wiki.eclipse.org/Getting_started_with_CDT_development but can't get it running.

1. Downloaded CDT 8.1.1

2. Searched for "Eclipse Project" or "SDK" on http://www.eclipse.org/downloads/packages/release/juno/sr1 . Not available. I guess it's "Eclipse for RCP and RAP Developers" according to the package description. Downloaded, installed and started with its own workspace.

3. Cloned the Git repo with EGit as described in http://wiki.eclipse.org/Getting_started_with_CDT_development#Clone_the_Repo .

4. A lot of errors raised. So I connected the API baseline as described in http://wiki.eclipse.org/CDT/policy#Using_API_Tooling and allowed auto-rebuilding of the workspace when Eclipse asked so.

5. But I still get errors like: "BadParseException cannot be resolved to a type" in /org.eclipse.cdt.core.lrparser/src/org/eclipse/cdt/internal/core/dom/lrparser/c99/C99ExpressionParser.java . When I chose "Fix project setup" from the quick fix suggestions, this is not possible. Sad

Does anybody know how to solve this?

Best regards,
Paul
Re: getting started [message #987750 is a reply to message #987020] Tue, 27 November 2012 21:52 Go to previous message
Thomas   is currently offline Thomas
Messages: 12
Registered: October 2012
Junior Member
Note: Not a CDT dev, and I haven't ever worked on the codebase, I just read the mailing list.

It looks like BadParseException is part of LPG which is mentioned under the additional dependencies on the getting started page.

http://dev.eclipse.org/mhonarc/lists/cdt-dev/msg25099.html

That looks to be the same problem that you are having. The suggested resolution being to not import that particular project unless you need it.

Overall, the developers are a lot more responsive if you ask on the mailing list.
Previous Topic:include *.pch
Next Topic:gcov fails to annotate when using static libs
Goto Forum:
  


Current Time: Wed Oct 01 06:04:49 GMT 2014

Powered by FUDForum. Page generated in 0.01920 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software