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

Eclipse copy code with syntax highlighting

I'm writing a document of programming guidelines for my developers team. I use MS Word. We work with Eclipse CDT (C++). I need to copy-paste C++ code with syntax highlighting from Eclipse to Word. I've tried Notepad++ and it can export text with…
Alessandro Pezzato
  • 8,603
  • 5
  • 45
  • 63
20
votes
5 answers

As of 2011: Netbeans 7 or Eclipse Indigo for C++?

This is basically a duplicate of: Netbeans or Eclipse for C++? But, that question as 3+ years old, and a lot has changed since then. I have a large code base with a custom (but Makefile based) build system. The areas I am specifically wondering…
nonot1
  • 2,788
  • 4
  • 25
  • 41
20
votes
4 answers

Eclipse CDT (for C++/C development) how to invoke content assist automatically while typing

Eclipse CDT (for C++/C development) how to invoke content assist automatically while typing like in Visual Assist for Visual Studio. In other words how to give triggers as all keyboard characters to invoke content assist. Please help me..
Nadith Pathirage
  • 201
  • 1
  • 2
  • 3
20
votes
5 answers

make: *** No rule to make target `all'. Stop. Eclipse error

I've just downloaded Eclipse CDT developer kit (87MB) for Windows. I've also installed MinGW, and msys. I also added this to PATH: C:\msys\1.0\bin;C:\mingw\bin. and restarted computer after that. I've checked by type "make --version" in cmd and…
chepukha
  • 2,371
  • 3
  • 28
  • 40
20
votes
1 answer

Is it possible to have CDT and Java IDE together in Eclipse?

I have an Eclipse CDT environment up and running and customised just the way I like it. I'm also going to be heavily dealing with Java. I don't want to install a separate version of Eclipse just to get the Java features, as I'll be switching…
hhafez
  • 38,949
  • 39
  • 113
  • 143
20
votes
3 answers

Optimal Eclipse CDT (C++) experience in March of 2010

I am a student who will be using C++ next quarter. I really enjoyed using the Galileo release of Eclipse with Java and I would like to continue using Eclipse for for C++ development. I am now experimenting with C++ development on Eclipse. I am…
ahoffer
  • 6,347
  • 4
  • 39
  • 68
19
votes
3 answers

What's the recommended Eclipse CDT configuration for big C++ project (indexer takes forever)

I'm working on some legacy C++ code written using "vi" and "emacs" and I am trying to build an eclipse CDT setup to maintain it (on linux). The two main problems I've been facing are that the indexing takes very long (over 4h) and that even once…
krico
  • 5,723
  • 2
  • 25
  • 28
19
votes
3 answers

C++, Eclipse CDT code analysis?

Are there any good plugins for static code analysis for Eclipse CDT? I found two so far: Cppcheck plugin, but this still needs the original cppcheck executable CppChecker, but this didn't work (it didn't do anything) Are there any more that are…
blubberbernd
  • 3,641
  • 8
  • 35
  • 46
19
votes
1 answer

Permission Denied Opening ligEGL shader cache file

As I mention in the title, my app built successful but show a blank screen and quit after a few second when I run it on device (SS GLX Tab3 Intel). And the logcat showed error opening cache file…
Nikel Arteta
  • 548
  • 1
  • 6
  • 25
19
votes
5 answers

How to disable Eclipse CDT code formatter for a code block

The CDT code formatter has a pretty decent selection of options, but it doesn't seem to have to a feature that allows one to tell it to ignore a block of code. This feature exists in the Java code formatter: // @formatter:off ... // code that…
Freerobots
  • 772
  • 1
  • 6
  • 20
19
votes
2 answers

How can I enter commands to a gdb prompt while debugging with Eclipse CDT?

I'm using Eclipse (Helios SR1) CDT for my C++ development. Eclipse interfaces with GDB for debugging, but I can't figure out how to manually enter commands to GDB while debugging through the Eclipse interface. For example, it would be nice to be…
synaptik
  • 8,971
  • 16
  • 71
  • 98
18
votes
4 answers

Eclipse CDT: Unresolved inclusion of stl header

I'm trying to use Eclipse to edit sources, compiled under C++ Builder, but stuck with Unresolved inclusion problem. For example, code like: #include Gives Unresolved inclusion: error in Eclipse IDE. C++ Builder indeed has no…
rmflow
  • 4,445
  • 4
  • 27
  • 41
18
votes
4 answers

How to compile and run C++ with MinGW using Eclipse and CDT?

I would like to do some C++ development on Windows using Eclipse and the CDT plugin. I use Eclipse Helios SR1 and have installed the CDT plugin. I have also installed MinGW and now I wrote a simple "Hello World" in Eclipse. hello.cpp #include…
Jonas
  • 121,568
  • 97
  • 310
  • 388
18
votes
4 answers

Eclipse CDT: How to clear Problems window without invoking Clean Project or Build Project?

Is there a way to clear the Problems window (and any related source code error/warning annotations) without invoking "Build All/Project/..." or "Clean project" (or deleting the project and then re-creating/re-importing it)?
user87362
  • 263
  • 1
  • 3
  • 8
18
votes
1 answer

Using Maven to build c++ in eclipse

My Project consists of multiple Java-Projects, one Java-JNI-C++ Project as a Bridge and one pure C++ Project keeping an algorithm library. I managed to write Maven build configurations for all 3 project kinds. So when I'm calling them on the…
Lukas Lentner
  • 370
  • 3
  • 11