cdt

Visual C++ 2008 Express Or Eclipse Ganymede With CDT

I'm learning C++, and I want to know from those who are very good developers now: What is the best IDE, Visual C++ 2008 Express or Eclipse Ganymede with CDT? Remember that I'm using Microsoft Windows Vista Ultimate. Thanks! The book that I'm reading is from Deitel: C++ How to Program, 5/e, because I don't know if the code of the book su...

Eclipse CDT 5.x and cmake 2.6.x

Hi, According to what I see, cmake 2.6.x supports CDT 4.x. We already have CDT 6.x. Is CDT 5.x and cmake 2.6.x are compatible at least? Thanks Dima ...

Eclipse C++ compilation warning problem

Hi, Here a code to demonstrate an annoying problem: class A { public: A(): m_b(1), m_a(2) {} private: int m_a; int m_b; }; This is an output on Console view: make all Building file: ../test.cpp Invoking: GCC C++ Compiler g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"test.d" -MT"test.d" -o"test.o" "...

Eclipse CDT: Make a project rebuild when a library built in another project was rebuild

We have several C projects in Eclipse, using CDT (CodeSourcery++). There are two projects that build libraries for use in the "main" project that builds the final application. Now we find that rebuilding one of the libraries does not cause the main project to be also rebuild. Obviously, there is no dependency in the makefile to cause t...

how to add a tool to eclipse-cdt to automatically generate a header file during make

I have a tool that converts an data file into a C header file for inclusion into my project. Now I would like to have this tool run automatically during make whenever the data file changes. Where can I tell Eclipse CDT which tool to run and what data file the header depends on? ...

eclipse cdt tools installing error

I am trying to install the CDT plugin on an exisitng 32-bit installation of Eclipse on Ubuntu Jaunty. I've tried both web-update and standalone-package install and both fail with the following error- Application Started: 4000 !SESSION 2009-10-05 21:24:55.947 ----------------------------------------------- eclipse.buildId=I20090611-1540 ...

Get Eclipse CDT + boost::shared_ptr<T> to work with syntax completion?

How to get Eclipse CDT to treat shared_ptr as T * for syntax completion? I'm using windows in this instance. I have 1.39 in the "Program Files" folder. I am about to try 1.37. I am using the Galileo release of Eclipse. Also, I am only editing and browsing the source in Eclipse and building in VC++ Express. (but that is another story) ...

Eclipse CDT Workspace Multiple Project Library Management

I have projects in eclipse workspace. I can build the related projects. But when i invoke the project the libraries in the project can not be seen by the main process. I must copy the libraries to the /usr/lib or /usr/local/lib but i don't want my system know my libraries. How can i solve this problem. How can i say to eclipse "run my ma...

CDT 6 (eclipse galileo) snow leopard debugging issue

I upgrade to snow leopard and xcode 3.2 this week, and since that I'm having problems with CDT. I tryed this in CDT 5 (ganymede) and CDT 6 (galileo). If I try to debug the application using launcher "Standard Create Process Launcher", it delays about 10 seconds to actually get in the debugging breakpoint, which is very odd. If I use as...

Using C++ with Eclipse

I'm figuring out that there's two ways of writing C++ in Eclipse: either download the Eclipse IDE for C/C++ Developers or download the regular Eclipse for java and add the CDT plugin. What is the difference between these two? (Note that I'm already exstensively using Eclipse for Java) Thank you ...

Debugging with Eclipse CDT and GDB

Hy, I have Eclipse CDT C++ application project that uses shared library. This library is compiled with debug info and its' source is available at the right path. Now I try to debug my application with Eclipse and GDB. If I put breakpoints in my application source code, everything is fine. Then I open a source file of the included shar...

How to show more than 100 tasks //TODOs at once in Eclipse?

As the title says, how do I display more than 100 tasks at once in Tasks window in Eclipse? Alternatively, how do I browse tasks past 100? I have a lot of .c files in my project with many //TODOs When I go to Tasks window, it shows: Filter matched 100 of 158 items I can't find a sane way to go past item 100... that is, I don't se...

novice asks: How to do "cvs release" in Eclipse CDT

I'm a novice to Eclipse CDT and its UI for CVS. In command-line CVS, "cvs release" undoes the effect of "cvs checkout". http://ximbiot.com/cvs/manual/cvs-1.11.23/cvs_16.html#SEC156 How do I "release" a checkout in Eclipse CDT? Thanks! EDIT: I guess you could do it like this: 1. Eclipse: Delete project 2. In shell, run % cvs rele...

"Export" button in Eclipse CDT "Paths and Symbols" dialog?

On the Includes tab of the Paths and Symbols section of the Project Properties dialog in the Eclipse CDT, there is an "Export" button: The best documentation I have found says that this "toggles whether the selected include path is exported or not." If I click it, it changes to "Unexport" and "[exp]" is appended to the selected inclu...

Eclipse CDT setup for remote build

Is there a better way to setup Eclipse CDT for local editing and remote building? I am working on a C++ project that uses GNU make in Linux. The code is under CVS on a Linux server. When I'm in the lab, I use Eclipse CDT on a Linux-x64 PC. The project is built on a Linux-x86 PC. All the computers in the lab (including the CVS server) h...

Install eclipse JDT on top of CDT

I have the eclipse CDT installed, and I would like to install Java development functionality (JDT) on top of my CDT installation. I've been Googling from an hour but I can't figure out how to do this. Any ideas? What plugin do I need to install? What update site do I need to use? Thanks. ...

Using custom Makefile with Eclipse/CDT.

I have a project of multiple .c and .h files and i write my own Makefile. How to configure Eclipse to use my Makefile and my source files from their original locations? ...

In Eclipse CDT shared resource folder that is built differently for the project

Hi, I have a set of Eclipse c projects that will all refer to a common shared base of code (a mix of .c and .h files in the same folder) but will be built that code differently on a per project basis. The common code base may be edited from within each project but these edits will be fixes to be carried across all the projects. The com...

Eclipse: choosing a default debugger for all new C projects

Whenever I start a new project, I have to go through setting up the debugger with Eclipse time and time again before I can use it. Isn't there a default setting for all new C projects I can change? ...

Eclipse CDT - Copy static resource file to bin_dir

So my problem: I have a C++ project in CDT 6.0 on Eclipse 3.5, and I now have a static resource file (a .properties for log4cxx) that needs to be copied to the build folder. This file is accessed at runtime to configure the log4cxx subsystem, and it needs to be available in the same directory as the executable. For example, the Debug/ fo...