Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » installing the CDT
installing the CDT [message #78766] Thu, 21 August 2003 06:57 Go to next message
Eclipse UserFriend
Originally posted by: rb200m.doc.ic.ac.uk

someone help me please, i cannot get the CDT installed in my Eclipse 2.1.
I suspect it might have something to do with Cygwin installed on my
machine. Any alterations i should make to the PATH env variable after i
install Cygwin.
Cheers :)
Re: installing the CDT [message #78780 is a reply to message #78766] Thu, 21 August 2003 09:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rb200m.doc.ic.ac.uk

ali wrote:

> someone help me please, i cannot get the CDT installed in my Eclipse 2.1.
> I suspect it might have something to do with Cygwin installed on my
> machine. Any alterations i should make to the PATH env variable after i
> install Cygwin.
> Cheers :)

nvm guys, managed to do it. :-)Now the problem seems to be with building a
simple C++ project. I get:
Build Error
(Exec error:Launching failed)
Any idea what it might be .Cheers
Re: installing the CDT [message #78835 is a reply to message #78780] Fri, 22 August 2003 05:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rb200m.doc.ic.ac.uk

ali wrote:

> ali wrote:


> nvm guys, managed to do it. :-)Now the problem seems to be with building a
> simple C++ project. I get:
> Build Error
> (Exec error:Launching failed)
> Any idea what it might be .Cheers

Ok, i managed to get it to compile just looking at previous posts. I'll
make sure i'll do that first thing next time. Cheers :-)
Re: installing the CDT [message #79282 is a reply to message #78835] Thu, 28 August 2003 15:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: BlackBsd.Mountain.Net

hi,
Newbie qustion. i cannot get the simple project to compile either i am
getting the same errors as you were, any advice? How or where can i set
or change the path variable?? and do i have to have cywig installed?
if so where can i download it?
Re: installing the CDT [message #79530 is a reply to message #79282] Mon, 01 September 2003 05:03 Go to previous message
Eclipse UserFriend
Originally posted by: rb200m.doc.ic.ac.uk

Brian Black wrote:

> hi,
> Newbie qustion. i cannot get the simple project to compile either i am
> getting the same errors as you were, any advice? How or where can i set
> or change the path variable?? and do i have to have cywig installed?
> if so where can i download it?

Yes, you do have to have either Cygwin or MinGW installed on ur host.
Here's where u can download then from http://sources.redhat.com/cygwin/
http://www.mingw.org/
After u install u can set the path variable to include the bin
subdirectory of ur installation path or instead just have the full path to
ur make.exe and g++.exe in ur makefile.
On Windows, u set the path by the command "SET
PATH=<cygwin_path/bin>:%PATH%

Anyway, here's what my makefile for the example tutorial looks like after
modification
CXX = C:\Program Files\Cygwin\bin\g++.exe
CXXFLAGS = -g

all : main.o
${CXX} ${CXXFLAGS} -o hello.exe main.o

clean :
rm -rf hello.exe main.o


U should also change the Build Command for the project to ur make.exe. U
do this by right clicking the project->properties->C/C++ project then type
in the path to ur make.exe in the Build Command box. Hope this helps
Gd luck!!
Previous Topic:Plz Post CDT's Latest Build
Next Topic:JBuilder to Eclipse Migration
Goto Forum:
  


Current Time: Thu May 08 04:12:52 EDT 2025

Powered by FUDForum. Page generated in 0.03371 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top