Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Re: Need help in compiling simple C program
Re: Need help in compiling simple C program [message #209853] Fri, 15 February 2008 14:53 Go to next message
Eclipse UserFriend
You are going to have much better luck getting an answer within the CDT
newsgroup...which I have CCd

HTH
Darins
http://runnerwhocodes.blogspot.com

"lee" <huajie.lee@gmail.com> wrote in message
news:52333391d4bf8297106a200257cc71ca$1@www.eclipse.org...
> Hi,
>
> I have just installed C/C++ eclipse for my Windows Vista.
>
> I created a folder and add a source file (.C) under the C project. When I
> try to perform Build All, there is error of
>
> **** Build of configuration Default for project test ****
>
>
> (Exec error:Launching failed)
>
> I do not have idea what actually went wrong.I could not even Run as a
> result of Build error as above. Please let me know what actually went
> wrong.
>
> My Eclipse version installed is:-3.3.1.1
>
> Please advise. Thanks.
>
> -l
>
Re: Need help in compiling simple C program [message #209866 is a reply to message #209853] Fri, 15 February 2008 18:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jim.marshall.wbemsolutions.com

Darin Swanson wrote:
> You are going to have much better luck getting an answer within the CDT
> newsgroup...which I have CCd
>
> HTH
> Darins
> http://runnerwhocodes.blogspot.com
>
> "lee" <huajie.lee@gmail.com> wrote in message
> news:52333391d4bf8297106a200257cc71ca$1@www.eclipse.org...
>> Hi,
>>
>> I have just installed C/C++ eclipse for my Windows Vista.
>>
>> I created a folder and add a source file (.C) under the C project. When I
>> try to perform Build All, there is error of
>>
>> **** Build of configuration Default for project test ****
>>
>>
>> (Exec error:Launching failed)
>>
>> I do not have idea what actually went wrong.I could not even Run as a
>> result of Build error as above. Please let me know what actually went
>> wrong.
>>
>> My Eclipse version installed is:-3.3.1.1
>>
>> Please advise. Thanks.
>>
>> -l
>>
>
>

Do you have the GCC compiler tools installed on your machine?
Re: Need help in compiling simple C program [message #209878 is a reply to message #209866] Sat, 16 February 2008 09:27 Go to previous messageGo to next message
Eclipse UserFriend
Nope. I have Windows Vista Business edition and I assume no gcc is
preinstalled unless i have to install Cygwin.


Please advise.


-l
Re: Need help in compiling simple C program [message #209880 is a reply to message #209878] Sat, 16 February 2008 10:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dmsubs.NOSPAM.consertum.com

Well, you need to install a compiler (and debugger) - CDT does not supply one
--
Derek


lee wrote:
> Nope. I have Windows Vista Business edition and I assume no gcc is
> preinstalled unless i have to install Cygwin.
>
>
> Please advise.
>
> -l
>
Re: Need help in compiling simple C program [message #209884 is a reply to message #209878] Sat, 16 February 2008 12:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jim.marshall.wbemsolutions.com

lee wrote:
> Nope. I have Windows Vista Business edition and I assume no gcc is
> preinstalled unless i have to install Cygwin.
>
>
> Please advise.
>
> -l
>
You would need to install GCC, you have two options. Cygwin or MinGW.
The short story is that MinGW will produce Native Windows programs,
whereas Cygwin will produce programs that run on Cygwin*.

Download and install one or the other:

1 MinGW: http://www.mingw.org/
2 Cygwin: http://www.cygwin.com/

The third option, which I don't know how people will respond to on this
list, is to down load and install the Microsoft compiler and IDE. They
have a free version (VC++ Express edition -
http://www.microsoft.com/express/download/default.aspx). I do not think
you can use the MS compilers from within CDT (unless there is a plugin I
do not know about)


* There are ways around that, but lets not complicate the discussion yet.
Re: Need help in compiling simple C program [message #209899 is a reply to message #209884] Sat, 16 February 2008 14:05 Go to previous message
Eclipse UserFriend
Originally posted by: eclipsenews.richardmiskin.plus.com

A simple way to get Eclipse+CDT+MingGW all working together is to install
Wascana Desktop Developer. .
http://wascana.sourceforge.net/

Cheers,
Richard

"Jim Marshall" <jim.marshall@wbemsolutions.com> wrote in message
news:fp77qj$vgb$1@build.eclipse.org...
> lee wrote:
>> Nope. I have Windows Vista Business edition and I assume no gcc is
>> preinstalled unless i have to install Cygwin.
>>
>>
>> Please advise.
>>
>> -l
>>
> You would need to install GCC, you have two options. Cygwin or MinGW. The
> short story is that MinGW will produce Native Windows programs, whereas
> Cygwin will produce programs that run on Cygwin*.
>
> Download and install one or the other:
>
> 1 MinGW: http://www.mingw.org/
> 2 Cygwin: http://www.cygwin.com/
>
> The third option, which I don't know how people will respond to on this
> list, is to down load and install the Microsoft compiler and IDE. They
> have a free version (VC++ Express edition -
> http://www.microsoft.com/express/download/default.aspx). I do not think
> you can use the MS compilers from within CDT (unless there is a plugin I
> do not know about)
>
>
> * There are ways around that, but lets not complicate the discussion yet.
Previous Topic:When will CDT 5.0 be ready?
Next Topic:CDT indexer not working on linked resources
Goto Forum:
  


Current Time: Thu May 15 10:39:59 EDT 2025

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

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

Back to the top