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
1
vote
0 answers

Eclipse: While in C/C++ Perspective "No applicable Items" when trying to create a new project

I am trying to create a new C project in eclipse but when I go to New, it tells me "No applicable items". Upon googling the problem I ran into the solution of making sure you are in a perspective. When im in JAVA perspective I am able to create new…
Lagging
  • 19
  • 2
1
vote
1 answer

Context sensitive help in eclipse cdt / g++

I know how to use CTRL+click or F3 to open declarations of classes in my code for ex, but I would like to have C++ reference help when using Eclipse CDT / g++, something like using F1 on Visual Studio. I want to get contextual help on C++ keywords,…
Bob Yoplait
  • 2,421
  • 1
  • 23
  • 35
1
vote
1 answer

Eclipse Oxygen does not show using directive in the Outline section

As shown in the screenshot from a valid C/C++ include file the using directive is not shown in the Outline section: How can I enable this? My Eclipse version: Eclipse IDE for C/C++ Developers Version: Oxygen.2 Release (4.7.2) Build id:…
Peter VARGA
  • 4,780
  • 3
  • 39
  • 75
1
vote
1 answer

Gtkmm in Eclipse makefile project: "could not be resolved"

I am trying to migrate a custom C++ project which uses Gtkmm3.0 to Eclipse (Oxygen) on Ubuntu 16.04. The project has its own Makefile and builds fine from the terminal within Eclipse. What I have not been able to do so far is tell the indexer about…
BobMorane
  • 3,870
  • 3
  • 20
  • 42
1
vote
0 answers

Why does Eclipse CDT "Open Type Hierarchy" show old class names and duplicates?

Can some tell me what I have to do to straighten out Eclipse CDT's Type Hierarchy display? I have C++ classes that I've refactored, changed their names, and moved around in the same file and/or into different files. When I click on "Open Type…
DaveR
  • 1,295
  • 1
  • 13
  • 35
1
vote
1 answer

eclipse - how to add more info to tooltip of a variable/object/class

When I place my mouse over a variable like this one msgProcessedCount++; the tooltip contains BYTE msgProcessedCount = 0; This is ok but could be better. QUESTION Is there a way to add more info like: file in which it's defined class in which it's…
Bob
  • 4,576
  • 7
  • 39
  • 107
1
vote
1 answer

Eclipse cdt debugger only step through dessembly code and not my own

Recently I asked a question and one of the guys here really tore into me about not using a debugger. Someone else was nice and suggested Visual Studio C++. I have been trying to work with it and it was really nice until I tried more complex code.…
Mae Davis
  • 120
  • 2
  • 10
1
vote
1 answer

How to add specific header folders to Eclipse?

I have a c++ project in a unix environment, that has a CMakeLists.txt. I used Cmake to convert it into an Eclipse project and import it in Eclipse CDT. Now, it says it can't find files in #include "file.h" statements. This project has more than 20…
Alexandru Pupsa
  • 1,798
  • 4
  • 21
  • 40
1
vote
4 answers

Why do IDEs stick to old code after an error?

What is it about IDEs - be it Flash Develop, Flash Builder, Visual Studio or even Eclipse - that makes them stick to the old error even when you delete all the code and start afresh they point out the error that was there previously as though it is…
1
vote
1 answer

Simple C program not showing output in eclipse

A few days back I installed Eclipse ide and also the CDT plugin therein for C and C++ development. Also made the necessary settings. Also tried a simple C program of adding two integers. Surprisingly, no output was shown in the terminal, but when…
Sandip Nath
  • 622
  • 2
  • 8
  • 18
1
vote
0 answers

"syntax error" for the rapidjson namespace

I'm using Eclipse for a C++ project. I've been using Eclipse for this same project for a long time, but now I've reinstalled my Ubuntu, and installed Eclipse Oxygen and set it up again. The project compiles, there are no unresolved includes. But…
lehoo
  • 21
  • 3
1
vote
0 answers

Cordova-Tizen studio project build error

During project build in tizen studio i got error like "Errors occurred during the build. Errors running builder 'CDT Builder' on project 'cordova-tizen-basic'. Please select a rootstrap again Please select a rootstrap again"…
1
vote
1 answer

POCO C++ libraries on CDT

I am working with CDT (C/C++ for eclipse) on windows, and I need to start using POCO C++ libraries The current package distribution for POCO requires MS Visual Studio 7/8/9 for compiling the libs. Does anyone know a solution for compiling in a CDT…
Yuval Adam
  • 161,610
  • 92
  • 305
  • 395
1
vote
1 answer

eclipse - how to open a text-like file type if it's registered with another application

I like using Eclipse to open up certain text-based files that are huge - 140MB - because unlike notepad++, Eclipse can open larger files. With notepad++, I could drag-drop a file into an open instance and it'd open it. With Eclipse, whether I do…
Bob
  • 4,576
  • 7
  • 39
  • 107
1
vote
1 answer

eclipse - is there a "duplicate file to other view" option like notepad++

Notepad++ has a feature to allow two simultaneous views of the same file in the same instance. This is useful if you want to view two different regions of a file side-by-side. Does Eclipse have this feature?
Bob
  • 4,576
  • 7
  • 39
  • 107
1 2 3
99
100