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 can not resolve std::vector of template class

I am using eclipse with cdt (Neon.3 Release 4.6.3) as the IDE for C++. Some code of mine is compiling and running fine, but I have issues with configuring eclipse. In a header file, I have a template class, which looks like this template
schorsch312
  • 5,553
  • 5
  • 28
  • 57
1
vote
0 answers

Unresolved inclusion: in Eclipse autotools project

I have an autotools project which detects the location of glib headers in its configure script and appends the needed flags to the CPPFLAGS variable in generated makefiles: CPPFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include How…
basin
  • 3,949
  • 2
  • 27
  • 63
1
vote
2 answers

CMake Eclipse project, make targets not available

I use CMake as a build manager for a C++ project. All my sources are in a src subdirectory, and I created a sibling build directory. Following the directions from https://cmake.org/Wiki/Eclipse_CDT4_Generator, the build commands I use are: cd…
vkubicki
  • 1,104
  • 1
  • 11
  • 26
1
vote
0 answers

How do you connect Eclipse to Valgrind via WSL on Windows 10?

I want to do memcheck on C applications on Windows. My hypothesis is that Valgrind via WSL would also require compiled executable to be done in Linux. Is this setup to be avoided or recommended?
1
vote
1 answer

Arch / Eclipse / C++ / Where to place libraries?

I'm trying my hand at C++, I've got Eclipse on my Arch machine. I'm trying to get an example at Boost.Org working: #include #include #include int main() { …
aSystemOverload
  • 2,994
  • 18
  • 49
  • 73
1
vote
2 answers

creating a define only used by eclipse

I have project that was created in another IDE that is build for a specific microcontroler. In the code faris used quite often and it is comprehended by the IDE and compiler. I would like to use eclipse to edit the code, because it is more…
Kami Kaze
  • 2,069
  • 15
  • 27
1
vote
0 answers

Output from Eclipse CDT on Linux have incorrect permission

I'm having problems with files created from within Eclipse running on Linux. All files (as far as I know) only gets the owner read and write permissions. Build output is the same but with the execute permission added. The "test" file is created in…
Brixington
  • 23
  • 5
1
vote
0 answers

Include external, non-compiled Header/Source in Eclipse/avr-gcc

I have a problem including an external header with the related .c-file ( both in a folder outside the project-folder) to an existing project. I have several projects for Atmel AVR microcontrollers. Some of them are packaged into one Git-Repo as a…
1
vote
1 answer

Eclipse Oxygen error "Bad Character" at the new C++14 digit separator

#define FOO 1'000 triggers this Eclipse Oxygen warning: Bad character sequence encountered: '000 gcc 7.3 compiles it of course fine. I set under Project -> Properties -> C/C++ Build -> Settings -> Dialect -> Other dialect flags the value…
Peter VARGA
  • 4,780
  • 3
  • 39
  • 75
1
vote
1 answer

Custom Eclipse debug configuration

I have a custom build of gcc/gdb that I'm trying to integrate with an Eclipse CDT plugin. I've created a custom Eclipse toolchain and can successfully build with it. What I'm trying to do now is enable remote debugging but I'm not succeeding at the…
Alan Spark
  • 8,152
  • 8
  • 56
  • 91
1
vote
1 answer

Eclipse CDT parser support for c++14

Good old disconnect between what the compiler deems valid and what the IDE thinks... Before you introduce duplicate questions / answers, I must stress that everything available on the issue here and elsewhere I have already tried and distilled to…
Xeren Narcy
  • 875
  • 5
  • 15
1
vote
0 answers

Dynamically created command is disabled on Eclipse Juno (Eclipse RCP development)

I have a class that creates some menu contributions dynamically: public class DynamicHelpMenuFactory extends ExtensionContributionFactory { ... public void createContributionItems(IServiceLocator sl, IContributionRoot ad) { ... ICommandService…
napets
  • 133
  • 1
  • 7
1
vote
1 answer

GDB Version error on Eclipse CDT in Ubuntu 16.04

I installed Eclipse Oxygen CDT on Ubuntu 16.04. I am using the default gdb installed. When I try to launch the debugger in eclipse, I get the following error: Error with command: gdb -version I suspected that this could be because eclipse was…
arun nath
  • 773
  • 1
  • 6
  • 11
1
vote
2 answers

SDL does not show its window if I use a logging library

I'm trying to use log4cplus in conjunction with SDL to make a little graphic application. I'm using minGW and Eclipse CDT on windows. My problem is that whenever I use the library, my SDL window is not shown. Instead I get this on the console [New…
David R.
  • 11
  • 3
1
vote
2 answers

java.lang.IllegalArgumentException thrown at debug launch in Eclipse CDT

I am using Eclipse CDT, with MinGW and under Windows XP, to developp a little C program exporting itself as a JNI-compliant DLL. Debugging the program from the Java calls is not easy, and thus I added a "Debug" configuration to my project and a main…
Dunaril
  • 2,757
  • 5
  • 31
  • 53
1 2 3
99
100