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
57
votes
4 answers

Eclipse: how to hide custom files in Project Explorer

I have a custom builder in CDT, which adds alot of files into project directory. I want those files to be filtered out from Project Explorer, but cannot figure out how (the file mask is *.ooj). Is it possible to add a custom filter by file mask into…
rmflow
  • 4,445
  • 4
  • 27
  • 41
54
votes
5 answers

How to create a user dictionary in eclipse?

When I use eclipse and see my name in the javadocs as the author, I also find the spellchecker marking my name as it does not understand that it is a proper name. Thus, I get the option of: Add {word} to dictionary but when I click on it, It says…
MozenRath
  • 9,652
  • 13
  • 61
  • 104
52
votes
3 answers

The program can't start because cygwin1.dll is missing... in Eclipse CDT

I've had Eclipse for Java on my computer for a few years, and decided to install the CDT and learn C. I installed both MinGW and Cygwin and the CDT detects and tries to use them when I make a new project. I choose File > New C++ Project and choose…
Shawn Walton
  • 1,714
  • 2
  • 14
  • 23
52
votes
6 answers

How to see my Eclipse version?

How do I find out which version of Eclipse is currently installed on my system?
vin-zhao
  • 703
  • 1
  • 5
  • 4
51
votes
1 answer

Generate interface from solid class file in Eclipse

Is there any plugin in Eclipse that auto generates interface based on solid class/impl concrete class? Currently I hand code interfaces.
cometta
  • 35,071
  • 77
  • 215
  • 324
45
votes
2 answers

How to use clang/llvm with Eclipse CDT

Is it possible to use Clang/LLVM with Eclipse CDT and if so, how is it configured to actually make it work?
Alexander Battisti
  • 2,178
  • 2
  • 19
  • 24
45
votes
6 answers

Using custom Makefile with Eclipse/CDT

I have a project of multiple .c and .h files and I write my own makefile. How can I configure Eclipse to use my makefile and my source files from their original locations?
Stoiko
  • 451
  • 1
  • 4
  • 3
45
votes
11 answers

Eclipse CDT: no rule to make target all

My Eclipse CDT keeps complaining "make: *** no rule to make target all" when I am trying to compile the piece of code below: #include using namespace std; int main() { cout << "Hello World!!!" << endl; // prints Hello World!!! …
Mark Z.
  • 655
  • 2
  • 9
  • 12
44
votes
9 answers

Eclipse CDT Invalid Project Path

I have a C project that is built using a makefile, Eclipse constantly warns about "Invalid project path: Duplicate path entries", but I cannot figure out what the hell it wants me to do. I would like to disable this warning and continue with my…
David Martin
  • 1,045
  • 2
  • 11
  • 14
43
votes
3 answers

Eclipse CDT Autocomplete not working

I remember from some time ago that Eclipse had auto-complete when you type, and now I can only get it when pressing Ctrl + Space. I already checked and don't have any unresolved dependencies, I can see all the auto-complete choices when pressing…
Délisson Junio
  • 1,296
  • 4
  • 21
  • 43
42
votes
6 answers

Getting Clang to work on windows

I have followed the following step by step guide and I've managed, after a bit of fiddling, to get clang to compile using code:blocks and MinGW. Great, so now I could add the Clang module to eclipse (why have one IDE when you can have four) and…
Luther
  • 1,786
  • 3
  • 21
  • 38
42
votes
5 answers

How to enable gdb pretty printing for C++ STL objects in Eclipse CDT?

I'm trying to add pretty printing for STL objects in eclipse cdt. I tried to follow the steps described here: http://sourceware.org/gdb/wiki/STLSupport I checked out the python folder, but I can't seem to get this done... I created a gdbinit and…
AlejandroVK
  • 7,373
  • 13
  • 54
  • 77
40
votes
5 answers

Eclipse C++: How do you quickly switch between header and implementation files?

How do you switch between header (.h) and implementation files (.cpp) in Eclipse when using the C++/CDT environment with a keyboard shortcut? In XCode you can quickly switch between headers and implementation with applekey option and up/down arrow…
xmr
  • 403
  • 1
  • 4
  • 5
38
votes
11 answers

Eclipse C++: Symbol 'std' could not be resolved

I am getting this error in the TestExecute.cpp - "Symbol 'std' could not be resolved" CODE #include using namespace std; I just created a executable project in Eclipse (in Windows 7) as shown below. It seems like I am selecting a…
LCJ
  • 22,196
  • 67
  • 260
  • 418
37
votes
7 answers

How to configure Eclipse CDT for cmake?

How to configure Eclipse "Helios" with plugin CDT for cmake? cmake all CMake Error: The source directory "D:/javaworkspace/workspace/Planner/Debug/all" does not exist. Eclipse always wants to use 'all' option and I don't know how to stop its to…
kspacja
  • 4,648
  • 11
  • 38
  • 41