Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » can't browse C++ code
can't browse C++ code [message #219096] Thu, 10 July 2008 05:27 Go to next message
Eclipse UserFriend
Originally posted by: ehgtjb.gmail.com

I "imported" a new c++ project based on the existing code. But when I try
to browse the code, it would not work at all. It won't go to the
definition of the function and it won't show the call graph. I read the
FAQ about how to bring the existing code to eclipse, followed directions,
tried different ways, but none of them worked.

Please help. I was able to browse imported java code before (of course I
was using the java version of eclipse).
Re: can't browse C++ code [message #219173 is a reply to message #219096] Thu, 10 July 2008 16:18 Go to previous messageGo to next message
Michael Schulte is currently offline Michael SchulteFriend
Messages: 38
Registered: July 2009
Member
OK - I think a little more information would be needed to help you...

- what did you try in particular? The FAQ says all and nothing...
- did you add the include directories to your C/C++ settings? (Project
settings / Paths and symbols / Add... -> check all languages)
- did you try to use full indexing instead of fast indexing? (in the
project settings or in the window preferences, type index in the type
filter text)
- what kind of CDT/Eclipse do you use?
- did you open the c/c++-file with the C/C++-Editor (right-click on
file, open with C/C++-Editor)?
- did you look at the Problem's view or the Error Log window?

regards
Michael


> I "imported" a new c++ project based on the existing code. But when I
> try to browse the code, it would not work at all. It won't go to the
> definition of the function and it won't show the call graph. I read the
> FAQ about how to bring the existing code to eclipse, followed
> directions, tried different ways, but none of them worked.
>
> Please help. I was able to browse imported java code before (of course I
> was using the java version of eclipse).
>
Re: can't browse C++ code [message #219235 is a reply to message #219096] Thu, 10 July 2008 20:40 Go to previous message
David is currently offline DavidFriend
Messages: 8
Registered: July 2009
Junior Member
Please post if you get this working. Your problem sounds an awful lot like
what I was running into.
Previous Topic:Can .cproject and .project be placed in a directory other than the project root?
Next Topic:compile only? without linking?
Goto Forum:
  


Current Time: Fri Sep 27 02:50:47 GMT 2024

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

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

Back to the top