I am trying to figure out how to use the upcoming C++ release 0x. It should be available in GCC 4.3+ with using the gcc std=gnu++0x option.
My simple thread program using 0x compiles in Eclipse CDT with std=gnu++0x added in Project > properties > C/C++ Build > Settings > Miscellaneous > Other flags.
#include <iostream>
#include <thread...
Existing eclipse expects a C/C++ source file to be present and then it compiles/builds the project on hitting the build button.
Case in hand: I generate a C code from an AST using my own created plugin. Then this code has to be executed using CDT (i.e. I would directly like to call the interface (API) that CDT uses to call the build the ...
Has anyone else had this problem? I just downloaded 3.6 (the CDT for linux flavor), and this isn't working. In the Profile Configurations --> Valgrind --> "Arguments" tab, it doesn't seem to be passing the arguments into the executable. When I debug the same code, it works perfectly. I am not that familiar with Valgrind or the plugin...
I am running Eclipse CDT (Helios) for C/C++ on Windows 7 x64. At first I was having the problem of output not appearing when run in the Eclipse console until the program exited, even though it did while running in a Windows console. I discovered this had to do with buffering on the stdout stream. I was able to disable the buffering with ...
We are developing a project that has a fair amount of shared 'library' code, and application code specific for each product. We have makefiles for each product, and we have started to set up working sets that show only the files that are pulled in from the common lib code, but doing this by hand is slow and repetitive, and could be hard ...
This is the first time that this error has come up. I am using Cygwin with Eclipse 3.5 and my Path variable is set to: %CommonProgramFiles%\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Prog...
Hi,
I'm developing a library in c++ using the android NDK. Actually i created my project in android with both java and c++ sources. I can compile and run my project and all works fine.
Now i would like to force eclipse to reinstall the apk on the phone even if the java code is unchanged but something changed on the c++ side. Infact if ...
I'm using Eclipse 3.5 Galileo with CDT for embedded C development.
I adjusted some workspace preferences (e.g. common environment vars for the toolchain) and would like to optimize the deployment within our team. Currently, I export the preferences into a .epf file and users, which have to setup a new projects/workspace, have to import ...
Hi,
I have been using Eclipse CDT for some time now, and I love it, but there are a few tedious things that I would like to fix up about it.
When you create a new file, one of the options is "New"->"Class". I was wondering if anyone knows of a way to edit the "${declarations}" section of this "Class" template.
To be more specific, I h...
Hi,
I'm making a DLL (and probably a Linux port at some later date) in C++ using eclipse. The situation is as follows: I am trying to make two separate build configurations, one that will build a DLL and one that will build an executable CppUnit test. Currently I have all of the DLL build working, and I can make a separate project to te...
Hi stackoverflow,
Recently I started doing a C++ project, and started it using the internal building tools of eclipse, which seemed the easiest approach to this.
However, because this project will need to be built on more than one architecture, I figured it was best to have some other approach of building this on the other architecture...
I have a doubt related to errors and warnings ........
For example i wrote a simple code in c (eclipse IDE) then i compiled. i got some errors and warnings in problem tab.This is the scenerio just think like this.
My doubt is where is errors and warnings are stored (in my computer) file.I want to know location of the file (which inclu...
I am using Eclipse CDT (Helios release) to edit the source code of an (old) C application, which also uses ESQL. In this project, by convention, files containing ESQL code have a .sc extension (instead of the default .c)
All ESQL sections e.g. starting with EXEC SQL keywords are flagged as “syntax error” (vertical ruler, overview ruler ...
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...
I hope this is an OK question to ask here. It's programming related so I thought it would be better here than superuser. So I'm using the CDT C++ eclipse plugin. I know how to change the colors the editor uses for certain things. But is there a way to make it so all variables are DIFFERENT colors? For example in KDevelop, it sets local v...
I need to debug a program on Linux with Eclipse (gdb). The program run as root and is quite large. The binary with debug symbols is about 250MB large and has more than 60 running threads after startup.
I'm thinking about the best solution:
Use gdbserver
Run Eclipse as root
Set gdb suid
I think number 1 (gdbserver) would be the bes...
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 ...
I've got a CMake project that contains code and a few data files (images to be precise).
My directory structure is like this:
src
data
src contains the source code, data the data files. CMake suggests out of source builds, so when I invoke make, I have the executable program, but not the data files, thus I cannot execute the program...
Hi,
I downloaded Eclipse for C++ v 3.6 32-bit version on my WIndows 7 64-bit OS.
I can build and run my code, but I cannot debug.
I am using MingW32 compiler v5.1.6 with GDB v7.1 .
When try to "debug" my application, the progress tab shows "Launching: Configuraing GDB" at 86% for infinite time. The stop button beside the progress bar...
I'm using Eclipse-CDT to develop and compile projects for Linux. As host both Linux or Windows may be used.
The project is created as Makefile project with a special build command, so I changed the build-command from make to our special one and the "Build" and "Clean" commandline approbriately. The build command uses a gcc from a direct...