eclipse-cdt

Eclipse CDT: How to clear Problems window without invoking Clean Project or Build Project?

Is there a way to clear the Problems window (and any related source code error/warning annotations) without invoking "Build All/Project/..." or "Clean project" (or deleting the project and then re-creating/re-importing it)? ...

How to organise a C project in Eclipse /w multiple binaries ?

I'm in the process of converting a project to Eclipse CDT, it consists of 2 (static) libraries and produces about 12 binaries, a few of the binaries have 2-3 different build configurations, and is built by scons How should I structure this in an Eclipse workspace ? 1 project for everything ? 1 project for each of the binaries/libs ? Som...

Eclipse CDT: hieroglyphs in console and problem list

Recently, I switched from Visual Studio to Eclipse CDT. I've set it up beautifully such that the G++ compiler from my Cygwin installation can locate and compile my code without ado. There is a minor grievance, however. Each time G++ reports a warning or error, the curly single quotes ‘ and ’ appear as ‘ respectively ’. It seems like...

Eclipse CDT Error Parser for external gcc-based builder

I understand that CDT 7 will have a regular expression error parser included, but I'm using CDT 6 now. I have an external CDT builder which just calls a shell script to trigger my build, (Jam-based). The build uses GCC, and the errors and warnings are streamed to a Console view, but of course no error parser is looking at it so nothing...

boost.test and eclipse

Hi all, I'm using Eclipse CDT and Boost.Test(with Boost.Build). I would like Eclipse to parse output of Boost.Test generated during by run of test suites during build. Does anybody know how to achieve this? Thanks in advance ...

Need help using cdt to create helloworld c/c++ project

The pdf document I find is written at the year 2004,which is seriously out of date Can someone guide me through with the latest cdt how to create a hello world project? I'm already installed the MinGW and have set PATH accordingly ...

Mupltiple Qt project files in one Eclipse project

Is it possible to have multiple Qt project files in a single Eclipse project? The reason that I want to do this, is that I want to generate two different executables that have a large code base in common. If there is a better way to deal with this, please let me know. ...

Eclipse cdt is not giving enough information for error

YYSTYPE yyvsa[YYINITDEPTH]; YYSTYPE *yyvs = yyvsa; register YYSTYPE *yyvsp; For the code above,it just reports: Description Resource Path Location Type syntax error before "yyvsa" yysphinxexpr.c /sp/src line 852 C/C++ Problem Which is far from useful,is it for configuration reasons? ...

Errors in eclipse cdt not sorted?

There are 26 errors in 1 .c file in the Problems window,but all are not sorted. The upmost error happens in the end of the file. What's the matter with cdt? ...

Are there any syntax errors in the code snippet here?

typedef union YYSTYPE { int64_t iConst; // constant value float fConst; // constant value int iAttrLocator; // attribute locator (rowitem for int/float; offset+size for bits) int iFunc; // function id int iNode; // node index } Y...

How to cope with "intrin.h: No such file or directory"?

#include <intrin.h> The above will report: intrin.h: No such file or directory Which seems to be a MSVC header file,but I'm using eclipse cdt,how can I make it available?Is there some libraries needed? cdt uses MinGW for compiling,but there is no intrin.h: D:\Tools\MinGW\lib\gcc\mingw32\3.4.5\include>dir *intrin.h 2006-01-17 21:...

Eclipse goto label not working in C

Hi, I am using the Eclipse CDT and I have a goto label and a FILE definition after it and when I compile the project it gives me the error: Expression expected before FILE. Thanks in advance, Mr. Man EDIT: Ok, so this is what I get from the command line: iOS.c: In function ‘main’: iOS.c:45: error: expected expression before ‘FILE...

More with eclipse cdt

What is done when we import an existing project(maybe a visual studio project)? Which files are used for configuration? ...

eclipse + cdt + mingw, get "undefined reference to libiconv" error

My dev environment is windows xp, eclipse 3.3, cdt 4.0.3, mingw 3.17 (in fact I use easymingwtoolkit) I'd like to use functions like iconv_open() or related in c lanague. I included the , then I build my source file - test.c, and I got errors: gcc -octest.exe test.o test.o: In function code_convert': G:\workspace\ctest\Debug/../test.c:...

Eclipse CDT: cannot debug or terminate application

I have Eclipse set up fairly nicely to run the G++ compiler through Cygwin. Even the character encoding is set up correctly! There still seems to be something wrong with my configuration: I can't debug. The pause button in the debug view is simply disabled, and no threads appear in my application tree. It seems that gdb is simply not co...

CDT Eclipse: customize searching to show function that contain my serch term

In Eclipse editor, if I go Ctrl-H, I can search for files that contain my search term and display it as tree, showing module, file name and searched term with line number in file, but not with function that contain that term. Is it possible to customize Eclipse CDT to show function that contain searched term ? ...

How to use linked resource with eclipse CDT ?

I found it very difficult to configure linked resource in Eclipse CDT. Folder "wspolne" is located somewhere in the system, I'd like to use .cpp .h files from it in my current project, but avoid copying it. From what I read about Linked Resources is a solution, but I can't build a projct :/ I followed instuctions described here with ...

Project with multiple binaries in Eclipse CDT

I think it is quite normal to have more than one binary in a project. However, with Eclipse CDT I don't know how to set up the IDE to get things done. I know I can create several projects - one per binary. And I know I can set the dependencies per project. However, I cannot regard them as one project in Eclipse. If I'd like to share the...

Eclipse CDT: Import source / header files into my new project, without duplicating them

Hi all, Im sure there is a very simple solution for this. I have a bunch of .cpp / .h files from a project, say in directory ~/files On the other hand, I want to create a c++ project using eclipse to work on those files, so I put my workspace on ~/wherever. Then I create a c++ project: ~/wherever/project, and include the source files ...

How to build current project only in Eclipse CDT on "Build project"?

Hi, I am working with Eclipse CDT and I want to build the current project only, not any referenced project. Is this somehow possible? The idea behind this is, that I want to distinguish between "Build Project" and "Build all projects" (in which case, referenced libraries should be built as well). Thanks in advance, Martin ...