eclipse-cdt

Remote debugging with Eclipse CDT

We're using the Eclipse CDT 5 C++ IDE on Windows to develop a C++ application on a remote AIX host. Eclipse CDT has the ability to perform remote debugging using gdbserver. Unfortunately, gdbserver is not supported on AIX. Is anyone familiar with a way to debug remotely using Eclipse CDT without gdbserver? Perhaps using an SSH shell ...

Why does Eclipse CDT ignores the breakpoints?

Hello! My problem is that I set some breakpoints in my code and some of them aren't working. In some places it complains about "Unresolved Breakpoint". Does anyone have any clue why this is happening?? I am using gdb, by the way. EDIT: Yes, of course is compiled with debug information. It only happens at some classes or points in the...

How Do I Use Eclipse to Debug a C++ Program on Linux?

I don't use Eclipse as an IDE, and have no interest in doing so. However, I do like its source-level debugging. Is there any way I can use it to debug a C++ Linux app without going through the ritual of creating a project? (In effect, can I just use it like a frontend to gdb?) If not, what are the steps I need to follow to create a p...

Search entire project for includes in Eclipse CDT

I have a large existing c++ codebase. Typically the users of the codebase edit the source with gvim, but we'd like to start using the nifty IDE features in Eclipse. The codebase has an extensive directory hierarchy, but the source files use include directives without paths due to some voodoo we use in our build process. When I link th...

Controlling Eclipse CDT debugger output?

When using CDT I would like to have std::string show up in the 'variable' debug window with the string it contains. For instance if it is currently holding the word "history" I would like to see history in the debugger window labeled "variables". I think that there is a general way to have it drill down into objects but I can't put my ...

Eclipse CDT Invalid Project Path

I have a C project that is built using a makefile, Eclipse constantly warns about "Invalid project path: Duplicate path entries", but I cannot figure out what the hell it wants me to do. I would like to disable this warning and continue with my life. My application compiles and runs fine, with not a single warning except this one. Bei...

How do I set different code styles depending on the file type in Eclipse?

We are using CMake to manage our builds and have a rather large project consisting of pretty much everything that is needed to build the software base for our embedded platforms save for the toolchain. When building a CDT project with CMake it puts everything into one large project rather than splitting it into individual projects based ...

Trouble getting started with Eclipse CDT & mingw

Howdie all, I've installed Eclipse CDT and MinGW with GCC. Added the mingw\bin to my path environment variable. When attempting to create a new C++ project with the HelloWorld wizard, I get a build error: make: **** [app.o] Error 127 Error launching external scanner info generator (gcc -E -P -v -dD ... EDIT: OK the make problem ...

Eclipse CDT - problem linking to windows lib files...

Hey! I'm getting the folling linker errors when compiling with gcc: undefined reference to `SetStretchBltMode@8' undefined reference to `StretchDIBits@52' undefined reference to `SetDIBitsToDevi Are these functions defined in the windows libs? If so do they come installed with Vista, or do I need to install them, and if so where c...

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 environment on windows? I am using MinGW for compile/build tools. ...

Eclipse CDT and unknown tags

Currently we are looking at moving our development environment from CodeWright (which has long since been abandonned by Borland) and moving to Eclipse. We are using Eclipse for Perl, PHP and some Windows C++ development with much success. The issue comes up however with our embedded environment which uses - in the makefile - some defi...

How to compile windows base program with eclipse cdt(using VIsual Studio compiler)

i'd like to compile (debugging if possible) windows program in eclipse cdt with microsoft copmiler. It's better to support eclipse tool-chain (in eclipse cdt) It's impossible to find this solution in google, except using mingw's make and Visual Studio Makefile.. Are there anyone to have solution with this problem? ...

Disable automatic horizontal scrolling in Eclipse?

Sometimes when I jump into source code, e.g. from search or when looking up the declaration of something, the Eclipse text editor tries to display nearby long lines by horizontal scrolling. This happens even if the item I jumped to is well within the display without scrolling. I find this rather annoying, so: Is there a way to disable t...

g++ not working on Windows command prompt. Cygwin installed.

I have installed Eclipse and CDT (to use C/C++ in eclipse CDT is needed), as well as installing Cygwin so that I can compile my files. In environment variables I've set Path to include the following: "C:\cygwin\bin;" g++, make and GDC are all installed via Cygwin. I made sure of this by searching for them in the bin folder - they're al...

Hide empty folders and other files in Eclipse CDT

In Eclipse CDT, how can the navigator and project view be filtered to hide empty folders and other undesirable file types? The customize options seem to be a bit limited e.g. hide non-c content also hides makefiles which isn't helpful to me. Is there a plug-in to add this functionality? ...

As a grapical IDE user, should I be interested in traditional editors?

I use full blown graphical IDEs such as Eclipse CDT (Linux) and Visual Studio (Windows) which have features like auto completion, built in debugging, etc. These are features that I feel I can't live without. I keep hearing about how many people use emacs/vim on a daily basis. How come people still use console based editors when graphica...

eclipse indexer problem with cmake project

Hi, I've created the eclipse project with cmake. I use vtk with qt. Dir structure is as follows: parent_dir: source - source.h, source.cpp build - this is where the .project resides I've fired up the eclipse with workspace dir /path/parent . I have followed the instructions described in http://www.cmake.org/Wiki/Eclipse_CDT...

Why does Eclipse CDT say: 'syntax error', but compilation no problem

I am working in existing C code which has a couple of lines with statements similar to this one: struct collect_conn *tc = (struct collect_conn *) ((char *)c - offsetof(struct collect_conn, runicast_conn)); The struct collect_conn goes along the following lines: struct collect_conn { struct runicast_conn runicast_conn; stru...

How to build a c++ project on a remote computer in Eclipse?

I have a Windows pc with Eclipse Ganymede installed, and a Linux pc where my C++ project files are located. I use Eclipse to edit the files through SMB, and would like to build the project using Eclipse as well. Currently I connect using putty to my linux machine, and run ./make from the appropriate directory. How would I run the same co...

Eclipse CDT Debug console not displaying program output

I am using Eclipse IDE for C/C++ Developers (Eclipse Ganymede Package - version 3.4.2) on Windows XP with MinGW GCC 4.2.1 and GDB 6.8-3. I am facing a problem very similar to that mentioned here. A simple hello world program will not print to the console output in the debugger. A run command displays the output correctly. I have checke...