eclipse-cdt

Eclipse plugin to find the error on Double Click the file

Hi, I need the help in console view of eclipse. When i build my project all my errors and warnings are displayed in console window and if i need to find the place where it showing those errors i need have to go into that file and find those information. I feel its much iritating to find when errors are huge. So is there any plugin avail...

Eclipse - how to simultaneously switch working set for project explorer, call hierarchy, and search?

Hi all, Whenever I switch working sets in the project explorer, the working set does not switch for the search and call hierarchy views, so I end up with search results from the wrong working set if I forget to switch those over manually. Is there a shortcut for switching working sets in all those tools simultaneously? Thanks! ...

How can I enable breakpoints in Eclipse/CDT.

I am using Eclipse 3.5.1 on Ubuntu 9.10, with CDT 1.0.0.200909110608 If I right-click the left margin for a context menu, 'Toggle Breakpoint', 'Enable Breakpoint' and 'Breakpoint Properties' are all greyed-out. How can I enable these? (Apart from breakpoints, the debugger and the rest of CDT are working fine.) Thanks, Chris. ...

How to shrink the Eclipse PDOM file?

I understand that the PDOM file is a flat text database containing binary data. But my issue is that I daily archive (via winzip) my workspaces to ensure I can get back to a working configuration in case something goes bad (which unfortunately seems to happen weekly). The problem is the PDOM file gets HUGE (e.g. 64 MB). So creating da...

How to check value of defined symbols (Eclipse->Paths & Symbols) in a makefile?

We have a project that used to be an Eclipse-managed CDT project. However, I am trying to change it to a standard makefile project. One of them has a couple of symbols defined in Project Properties->C/C++ General->Paths & Symbols->Symbols. The makefiles generated by Eclipse used to automatically get the value when it was managed. Th...

Eclipse CDT Debugger Issue, v. .metadata does not exist

I am attempting to use the gdb/mi debugger in the Eclipse CDT version 6.02. While I am debugging I can step through the program with ease up until I reach the following snippet of a block of code. ENUM_START_TYPE My_Class::some_function( const char * c, const char * e) { ENUM_START_TYPE result = GENERIC_ENUM_VALUE; if ( c[0] ...

How to filter the Eclipse Outline View to show only Functions

I want to have the 'Outline view' in Eclipse show me only function names. So no enums, include files, macros, etc... There are some options in the 'Filters...' menu, but none that make it possible to only show functions. Can anybody help me? ...

How to index the code under macro in eclipse

Hi I have a code snapshot #if XXX1 typedef XCC { .... }XCC; .... #endif eclipse doesn't index this structure? How can I make eclipse index this? ...

Using Eclipse CDT under Windows with Cygwin

I am trying to use Eclipse CDT with Cygwin, but I have problems with the debugger. I have done the following: - installed Eclipse CDT - installed Cygwin with gcc, g++ make and gdb - added c:\cygwin\bin to PATH - created a new Hello World application in Eclipse Compiling went well from Eclipse. The first problem was that I had to set the...

Eclipse IDE for C/C++ Developers Compile Question

I am using Eclipse IDE for C/C++ Developers, and i am using the gcc to compile at the moment. How can i change it to compile with a Green Hills compiler? Any help will be appreciated. Thanks! ...

Clean Eclipse Index, it is out of sync with code

I'm using Eclipse with C++ code via linked resources on Linux. The code analysis index seems to be corrupted (Goto definition lands the cursor close to, but not on, the definition) Refreshing resources doesn't fix it, neither does restarting Eclipse. Is there a way to flush the index and rebuild it? ...

Managing build configurations

I would like to create a build configuration with a selected set of source files to include for build. How do i do that in eclipse-cdt? ...

Managing complex Make-based project tree in Eclipse

I have a very complex source tree containing multiple projects for multiple platforms, all managed by several makefiles. The most obvious problem to me is that Eclipse wants .project files at the root of all the project's files. My tree structure is something like this: Makefile (recursively makes foo, bar, baz and biff) arm/ arm/lib/.....

How can I do the instruction level debugging with CDT

I am using CDT for developing C programs. When the debugger stops on a break point and I do "Step Over" or "Step Into" the debugger behaviour is based on the source line level but not on the instruction level. Can I do debugging on the instruction level in CDT? ...

How to exclude files from Eclipse's clean command

Hi there. I want to exclude files from being removed by Eclipse's Project Clean. I'm working on an SDL application and I therefore need to have the SDL.dll file present in the Debug folder. Is it possible to exclude for example *.dll files from being removed by the clean operation? If so, how do I do that? I don't have a makefile prese...

Where does opencv install it's libs in ubuntu

I have ubuntu 10 installed. I installed all the opencv packages I could find in the software center. I expect that it installs some .lib files somewhere that I can reference in my project, but I can't find them. Where does it put them? I want to use eclipse as the ide programming in c++, but I am having problems finding out how to ge...

How to launch a script prior to running a project in Eclipse CDT

I am building a client application in c++. So I need to run the server prior to running the project and if possible shut it down when the client exits. I could not find such option in Eclipse CDT. Anybody knows how? I'm actually new to eclipse. ...

cannot find -lmysqlclient collect2: ld returned 1 exit status

Invoking: Cygwin C++ Linker g++ -nostartfiles -L"E:\cygwin\lib\mysql\lib" -lmysqlclient -lz -shared -o"final.so" ./src/one.o ./src/two.o ./src/three.o ./src/four.o ./src/five.o /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status ...

Using Eclipse to remotely debug with gdbserver

Does anyone know why I can't use Eclipse CDT to remotely debug a device when I manage it on the command-line with gdb using target remote command? I do get a warning when connecting, but other than that it seems to work fine. With Eclipse I should have the correct settings and gdbserver informs me on the remote machine that a connection...

Eclipse C++ (CDT) and build target directories

I have a problem to find where I change the build directory for my Eclipse (Helios) C++ project. It has a fairly simple structure; MyProject/ MyProject/src MyProject/headers MyProject/data/ MyProject/data/common MyProject/data/debug MyProject/data/release MyProject/target MyProject/target/debug MyProject/target/elease As you've proba...