cdt

Preventing eclipse from building a project?

I have a workspace that contains many projects (CDT projects, to be specific). Each project has 4 configurations, but in the future they may have more. Project B depends on Project A. In some configurations, I need to prevent Project A from being built. Is there a way to tell Eclipse not to build Project A for a particular configura...

Anyone know how to make the eclipse cdt debugger ... work

I have noticed alot of buggy behavior and problems when attempting to debug within the eclipse cdt using the MinGW GCC toolchain. Whenever I try to step along in my program in the debugger, it usually walks along fine but then pulls up a screen with red text saying No source available for "ntdll!DbgUiConnectToDbg() at 0x7c90120f". The ...

Eclipse CDT using MinGW does not output in console

Hi, I have a Windows 7 64-bit PC and I am trying to install a free C++ IDE, so I chose to install Eclipse Helios with CDT. For g++, make and gdb I installed msys and mingw according to this tutorial: http://wiki.wxwidgets.org/HowTo:_Install_MSYS_and_MinGW_for_use_with_Eclipse_CDT The versions are: make: GNU make 3.81 g++: 4.5.0 gdb: ...

How to make Eclipse CDT detect MinGW toolchain in Linux?

I've built mingw32 for Linux and would like to use it with Eclipse IDE. However, the CDT plugin uses some predefined way to auto-detect toolchains (which, for mingw, seems to only work for Windows) and doesn't have a way to locate them manually. Is there any way to make it detect mingw under Linux? ...

Eclipse CDT "Path must include project and resource name"

Hi there, I've been banging my head against a brick wall with this, so any help will be much appreciated :) I have created two projects with the following structure. There is one source folder under C:\ide\xxx\source There is a project folder under C:\ide\xxx\build1 There is a project folder under C:\ide\xxx\build2 Both build1 and bu...

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

Hi all, 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 it works. However, for some reason I cannot compile my C project. I don't get bi...

How to set up an environment in Eclipse CDT by script per project?

I have got several projects in my workspace. I have a script which set a different environment for each project. How can i get Eclipse CDT to use this script to set up the environment instead of setting everything by hand for each project? Thanks. ...

how to let eclipse cdt show runtime error (e.g. segmentation fault)

I develop and run C++ program in Eclipse CDT on Linux. The problem is that Eclipse CDT does't show any runtime error message (e.g. segmentation fault) in console, while I can get such error message when running program directly with command line. ...

Eclipse CDT: can I use the parameters defined in Project Settings from a custom makefile ?

Eclipse CDT: can I use the parameters defined in Project Settings from a custom makefile ? I would like to graphically edit the include paths, library paths... and use them inside my custom Makefile. ...

Problem using GMP with Eclipse C++ (CDT Helios)

I would like to compile my code in CDT: #include <iostream> #include <gmpxx.h> using namespace std; int main (void) { mpz_class a, b, c; a = 1234; b = "-5678"; c = a+b; cout << "sum is " << c << "\n"; cout << "absolute value is " << abs(c) << "\n"; cin >> a; return 0; } When I compiled, there were som...

Eclipse CDT Source->Implement Method generates code not following defined code style

I am using Source->Implement Method sometimes, but I noticed that the generated code does not follow the defined code style from the preferences (the style is applied when I use Source->Format correctly) - Is there some setting I missed or is that a bug? Using Eclipse Version 3.5.2 and CDT 6.0.2 on Ubuntu Linux 10.04 LTS. Example: we d...

C++/Eclipse CDT code completion problem (Wascana,mingw)

Hi, I've a problem with my CDT. Code completion doesn't work for standard library classes. For example in this code after entering x. and presing ctrl+space IDE doesn't display the list of API elements. #include void f() { string x = "sss"; x. } String and vector header files are available in Includes directories. When I press ...

Eclipse CDT Debugging (An External Process) and Finding Its Source Code

When I attempt to debug a external process with Eclipse CDT, I'm able to attach to it, but I cannot get the debug configuration to find the original C source. When I launch the debugger with the process running within Eclipse, I can get the debugger to find the source code. It is only when attaching to an external process that CDT doesn...

How to do C++ development on Windows with Eclipse and CDT?

I would like to do some C++ development on Windows using Eclipse and the CDT plugin. I use Eclipse Helios and have installed the CDT plugin. But after that I can still not create a C++ project from File > New > Project, there is still only Java Project available there. How to solve this? and do I have to install anything more for C++ de...

Getting Eclipse CDT to use relative include paths in generated Makefiles

Hello, I am using the Eclipse CDT. I have configured the "external Builder" and I am generating the Makefiles automatically. Unfortunately, the generated Makefiles contain the absolute include path. I would like to use the generated Makefiles on other systems (where Eclipse is not installed) - is there a way to make Eclipse use relative...