eclipse-cdt

Compile C++ in Eclipse?

How can I compile C++ .cpp files in the Eclipse IDE. I have CDT installed but when I try to execute it, I get a "Launch Failed. Binary not found." I do not want to install CYGWIN unless it is absolutely necessary. ...

Eclipse CDT indicates syntax error for operator defines.

Hi At my company we use C defines like this: #define AND && #define bwAND & When using this eclipse underlines the expression as if it had a syntax error. How do I make it understand our logic operator defines? ...

Eclipse CDT static resources under build folder

This should be a silly question, but after a hour of implementing following idea I ended up here. So, I'm building my C++ project under Eclipse and my release folder should include a static folder with some files inside it, that are required by executable during runtime. The problem is that before actual build this release folder is com...

Grouping Files in Project Explorer in Eclipse

Hi, I am newbie to Eclipse, I am planning to use it for AVR development with WinAVR and gcc. The feature I am looking for is the grouping of different files in the project, like all headers together, all source files together and all files excluded from the build together etc. I tried AVR Studio from Atmel, it has this grouping feature ...

g++ produces big binaries despite small project

Probably this is a common question. In fact I think I asked it years ago... but I can't remember the answer. The problem is: I have a project that is composed of 6 source files. All of them no more than 200 lines of code. It uses many STL containers, stdlib.h and iostream. Now the executable is around 800kb in size.... I guess I shouldn...

Eclipse-C++-Debugging: see content of an Array

Is it possible to see the content of a dynamically allocated array, as in: int *array = new int[dimension]; I only see the value of the pointer. edit: just found the option "display as an array", but I always have to manually enter the size of the array. Is it possible to get that automagically? ...

Comment Template variables in Eclipse

I have a comment template in Eclipse (CDT) that I use for function calls which looks like: //**************************************************************************** // // Function: ${enclosing_method} // // Purpose: // // Parameters: // //**************************************************************************** My problem is...

Unable to run c/c++ exe from eclipse RCP

I am trying to run my c/c++ .exe from eclipse RCP (Java API). Code: package com.jkt.rcp.texteditor.handlers; import java.io.IOException; import org.eclipse.core.commands.AbstractHandler; import org.eclipse.core.commands.ExecutionEvent; import org.eclipse.core.commands.ExecutionException; //import com.jkt.runner.utils.Test; public c...

Error Launching external scanner info generator - gcc link problem on MingGW

Error Launching external scanner info generator - gcc link problem on MingGW Error launching external scanner info generator (sh -c 'g++ -E -P -v -dD C:/Documents and Settings/user1/workspace123/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp ') Error launching external scanner info generator (sh -c 'gcc -E -P -v -dD C:/Document...

Is the Eclipse CDT Refactoring Project Dead?

I've been over to the site lately and nothing much seems to work (aside from the main page) ...

Is there any way to have eclipse recognise virtual defines per build configuration?

I am working on an inherited Borland C/C++ project and a lot of the project's functionality is hidden away behind #ifdefs which rely on defines passed to the compiler. I have been trying to get eclipse to activate these sections by using per-configuration symbols however when i view the source files, large sections are still greyed out. ...

Importing list of source files into an Eclipse project

We have a topdirectory containing code for lots of different projects. I would like to create an Eclipse CDT-project that contains only the source needed to work on and compile a specific project. I used SlickEdit before, and there I could just import a list of sources and headers. Is it possible to achieve something similar in Eclipse? ...

(Cannot run program "make": Launching failed) .iam using here MinGW-5.1.6 but not cygwin in eclipse-SDK-3.2.2-win32

**** Build of configuration Release for project helloworld **** **** WARNING: The "Release" Configuration may not build **** **** because it uses the "Cygwin GCC" **** **** tool-chain that is unsupported on this system. **** **** Attempting to build... **** (Cannot run program "make": Launching failed) iam using here MinGW-5....

C/C++ IDEs that come with/without the compiler

I'm getting started with C and usually use eclipse for other development. But it turned out that the eclipse CDT plugin doesn't come with the compiler and therefore installing a compiler separately is required (since I'm on windows vista). What C/C++ IDEs do you use that you know already come with the compiler. I've been told Microsoft ...

Qt designer plugin does not load in Eclipse CDT

Hi, I have installed the Qwt widgets and they run fine in Qt Creator and QT 4 Designer; however when I run the QT Designer via Eclipse CDT they don't show up. Any ideas what is wrong? I am on x32 Ubuntu 9.04 (Jaunty Jackalope) and running Eclipse CDT 3.4.2 (Ganymede). Note the Qt add in otherwise is working fine and I can create and de...

How do i create a GNU Autotool Project in Eclipse CDT from existing C++ source code?

Hi, I have an existing C++ source code that is built using autotools and i wish to use in Eclipse CDT. I'm a beginner with Eclipse CDT. I've installed the Autotools plugin for eclipse but don't know how to create a project from existing code. May you please guide me in the right direction so that i can create an eclipse project that us...

Importing third-party library source files into Eclipse CDT

I've got a project set up very nicely with eclipse-cdt. I'm not building from eclipse, but the indexer works and all my makefile settings were picked up, including third party libraries headers. What I would like, however, is to be able to view the actual source of those libraries - say, if I want to see some code in Qt or libc I'd like...

Eclipse CDT & TM/RSE

Hi all, how can eclipse cdt manage and build remote file with TM/RSE?? There is an example of usage of project that use Eclipse CDT from windows and source and compiler in Linux? TNX ...

Resources for extending and enhancing Eclipse CDT C++ Support

Where are good and current resources for anyone hacking on the CDT (C/C++ development toolkit) for Eclipse? In particular, I would like to know more about the internal architecture and structure of the C++ parser, and how the AST, DOM, PDOM, Models, and UI interrelate and interact. My interest is in adding support for extensions to C++ t...

Eclipse CDT Editor support for altivec C++ extensions?

Does the Eclipse CDT C++ editor have a means of supporting the Altivec C++ language extensions, as implemented for example in the GNU g++ compilers when compiling with -maltivec? Specifically, can it be made to stop reporting the vector data types as syntax errors? e.g. vector unsigned char foo; declares a 128-bit vector variable nam...