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
1 answer

Eclipse CDT: multiple C++ files in single project

I'm on Mac OS Mojave(Version 10.14), using Eclipse Photon. I have a single C++ project(which won't show up in the C++ perspective, only the Java perspective), and I'd like multiple packages/folders for various things. For example: - MyCPPProject …
Sumanth Ratna
  • 33
  • 1
  • 2
  • 10
1
vote
1 answer

Flushing AST CDT

I made some changes in AST via ASTRewrite and applied the changes via Change.perform, the C file has been update correctly with the new changes (insert new node), but in the debug mode AST object doesn't feel those changes ast.getRawSignature();…
Mostafa Hassan
  • 288
  • 1
  • 14
1
vote
1 answer

Cplex Configuration with Eclipse CDT

I am trying to configure the Eclipse CDT with Cplex. I have followed the following steps: Defined the IL_STD preprocessor macro Givent the path of include directories in cplex, opl and concert Given the path of "lib" folder in "concert" "cplex"…
InternetUser
  • 43
  • 1
  • 6
1
vote
1 answer

Make Eclipse CDT properly ignores my GSL span header

I use the Guidelines Support Library's gsl::span (from Neil Macintosh's implementation) - with the header located at /usr/local/src/gsl/include. I also use nVIDIA nSight 9.2, i.e. Eclipse CDT version 8.4.0.nvidia-something. I've added the include…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
1
vote
0 answers

Unable to build CDT product

I have an eclipse based product which uses CDT 8.1. For some project specific reasons we want to patch the CDT plugin and create our own distribution. I followed the steps from here and cloned the source code from the branch cdt_8.1. Then I tried…
user30771
  • 109
  • 6
1
vote
1 answer

How to make eclipse cdt UI Blocking code run in background and show the result in an editor after finishing the run?

In Eclipse CDT at DefaultBinaryFileEditor class, in the method getStorage there is a comment that tells the line objdump.getOutput(limitBytes) is a UI blocking call... How can I make it run in background without UI Blocking to process longer files…
1
vote
0 answers

Eclipse CDT typeid().name()

Whenever I use typeid().name() in Eclipse CDT, Eclipe's Version of IntelliSense would point out that it does not know the function name(). I do include . Although not a major issue, it is annoying that Eclipse always shows an…
Lehks
  • 2,582
  • 4
  • 19
  • 50
1
vote
0 answers

GTK 3 Eclipse error while loading shared libraries: libgtk-3.so.0

I'm currently using Eclipse IDE for C/C++ Developers Version: 2018-09 (4.9.0) to build a simple GTK 3 app. But after I build and then run the app, in Eclipse, I get the following error: Debug/Test: error while loading shared libraries:…
Luke
  • 20,878
  • 35
  • 119
  • 178
1
vote
1 answer

Adding compiler switch to Eclipse CDT Built-In Compiler Settings generation?

I have a Makefile-based Eclipse CDT project, and under Project > Properties > C/C++ General > Preprocessor Include Paths, Macros etc. > GNU C++ > CDT GCC Built-in Compiler Settings > __cplusplus the value is 201402L I have the -std=c++17 flag set in…
Andrew Tomazos
  • 66,139
  • 40
  • 186
  • 319
1
vote
0 answers

Is it necessary to remove "/instance/" keyword that exists in eclipse preferences epf file to set Eclipse plugin_customization.ini?

In our RCP I changed some preferences then I exported the preferences via Export... button. In the exported .epf file I found the line that reflects my preferences change. The line in epf file starts with /instance/org.eclipse.ui.workbench... My…
1
vote
1 answer

Can I run a post-build step after a makefile build in Eclipse?

I am trying to get a post-build step to run after building a makefile target from Eclipse. Since it's a makefile project, there are no Post-Build options. I am aware of similar questions to this (such as this one), but unfortunately none of the…
jfowkes
  • 1,495
  • 9
  • 17
1
vote
2 answers

Eclipse doxygen style when using /*!

I am using eclipse photon 4.8 on Ubuntu 18.04. When I start a doxygen comment block with /*! and hit Enter, eclipse is unable to change the general style of parameters like @brief, @param or @return to another scheme like \brief, \param or \return. …
Zack
  • 11
  • 3
1
vote
0 answers

Unable to Build OpenCV project in eclipse CDT C++

Hello I am having issues getting my opencv setup and working with Eclipse and C++. I have my paths linked correctly and included libraries set up correctly, I have it working on my laptop so I am sure of this. When I try and build a project with…
1
vote
1 answer

Eclipse IDE for C/C++ Developers: "invalid arguments" error displayed by mistake?

I'm getting an error of invalid arguments in the Eclipse IDE for C/C++ Developers Photon (4.8.0) at map_name.insert(make_pair("string_name", int_name);. I am using GCC 8.2.0. I'm trying some simple stuff with STL. Tried either both…
topcat
  • 177
  • 3
  • 17
1
vote
1 answer

OpenCV - Why this build error?

I have typed the following program from Learning OpenCV book: #include "highgui.h" int main(int argc, char *argv[]) { IplImage *img = cvLoadImage(argv[1]); cvNamedWindow("Example1", CV_WINDOW_AUTOSIZE); cvShowImage("Example1", img); …
Simplicity
  • 47,404
  • 98
  • 256
  • 385