Questions tagged [eclipse-cdt]

CDT is an Eclipse component that provides an IDE for C and C++. Use this tag for questions which are specific to CDT.

The Eclipse CDT project provides an IDE for C and C++ on top of Eclipse.

Features include: support for project creation and managed build for various toolchains, standard make build, source navigation, various source knowledge tools, such as type hierarchy, call graph, include browser, macro definition browser, code editor with syntax highlighting, folding and hyperlink navigation, source code refactoring and code generation, visual debugging tools, including memory, registers, and disassembly viewers.

Useful links

3342 questions
37
votes
20 answers

Eclipse CDT shows semantic errors, but compilation is ok

I have installed Eclipse Indigo for C/C++ Linux developers on Ubuntu 10.04 x86. When I use common predefined macro __BASE_FILE__ Eclipse says Symbol '__BASE_FILE__' could not be resolved, but compilation is OK. I have to use it so often in my code…
fasked
  • 3,555
  • 1
  • 19
  • 36
37
votes
5 answers

Build several CDT C++ projects from commandline

What is the best solution to build several CDT C++ projects from the command line? The projects have references and so it is not possible to just build single projects.
Rüdiger Stevens
37
votes
9 answers

Eclipse CDT using MinGW does not output in console

I have a Windows 7 64-bit PC and I am trying to install a free C++ IDE, so I chose to install Eclipse Helios with CDT. For g++, make and gdb I installed msys and mingw according to this…
Guillaume
  • 485
  • 1
  • 5
  • 10
37
votes
13 answers

Eclipse dark theme highlight issue

I just switched from geany to eclipse and I have a little problem How can I change that highlight color which is VERY annoying As you can see, whenever I highlight anything and click somewhere else, it changes like this. How can fix this little…
Mert ÇELEN
  • 493
  • 1
  • 4
  • 5
37
votes
1 answer

Enable C++11 in Eclipse CDT (Juno/Kepler/Luna) indexer

How do I enable support for the new C++ standard on the Eclipse CDT indexer in Juno/Kepler/Luna?
35
votes
4 answers

How to use the GDB console in Eclipse CDT?

Is there a way how I can access gdb's console in Eclipse? I would like to just be able to set breakpoints with the mouse and then use the console for debugging.
Nils
  • 13,319
  • 19
  • 86
  • 108
35
votes
16 answers

Eclipse CDT project built but "Launch Failed. Binary Not Found"

Windows 7, Eclipse CDT, Juno Service Release 2, Cross compiler. Projects do compile executables generated, but Eclipse can't see them; therefore 'Run' fails. Executables are placed in Debug directory. Double click or command prompt call on compiled…
Nenad Bulatović
  • 7,238
  • 14
  • 83
  • 113
34
votes
3 answers

Additional Refactoring for Eclipse CDT

Is there any way to configure or are there any 3rd party plug-ins available for Eclipse CDT (any version) that provide a rich set of refactorings? My refactoring menu only provides the following in Eclipse Indigo CDT: Rename Extract…
PatrickV
  • 2,057
  • 23
  • 30
34
votes
1 answer

Debugging a Python Extension in Eclipse

I have a Python extension that I have successfully built and used on Windows, OSX, and linux. I now need to be able to debug this Python extension. I am averse to the use of gdb at the command line, so I would really like to get this to work in…
Ian Bell
  • 471
  • 4
  • 6
33
votes
4 answers

Where is the Makefile generated by the Eclipse CDT?

I've built a hello world C++ project with Eclipse(helios) CDT. It compiled fine. But I would like to take a look at the Makefile CDT generated. I can't find it in project folder/debug/release folders or in the src folders. Where can I find this…
firsttestcdt
  • 341
  • 1
  • 3
  • 4
31
votes
5 answers

Change doxygen comment style in Eclipse

Does anyone know how to edit the style used for Doxygen comments in Eclipse CDT? In other words type /** and pressing enter on a line before a function currently gives me something like: /** * * @param one * @param two * @return */ Foo(int…
deuberger
  • 3,578
  • 6
  • 31
  • 33
31
votes
4 answers

Passing C/C++ #defines to makefile

I develop C/C++ using the Eclipse IDE. Eclipse also generates a makefile which I don't want to edit as it will simply be overwritten. I want to use that makefile for nightly build within Hudson. How do I pass #defines which are made in the project…
Mawg says reinstate Monica
  • 38,334
  • 103
  • 306
  • 551
31
votes
5 answers

How to show more than 100 tasks //TODOs at once in Eclipse?

As the title says, how do I display more than 100 tasks at once in Tasks window in Eclipse? Alternatively, how do I browse tasks past 100? I have a lot of .c files in my project with many //TODOs When I go to Tasks window, it shows: Filter matched…
Sint
  • 1,580
  • 3
  • 21
  • 38
30
votes
13 answers

Eclipse CDT "Symbol NULL could not be resolved"

I just installed Eclipse CDT with MinGW. All the environment variables are set, includes, etc. Tried running a hello world and everything seems to be fine. I tried loading a C project that I had before in my computer, it seems to load everything…
Alex
  • 363
  • 1
  • 4
  • 6
30
votes
2 answers

Can Eclipse hover tips display Doxygen comments from header file?

I'm using Eclipse CDT to write C++ code. Having read several discussions here on StackOverflow about whether to place doxygen documentation in the header file or the implementation file, it seems the majority of developers favour putting doxygen…
Jack Kelly
  • 2,214
  • 2
  • 22
  • 32