Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » How to start C project under Vista with Eclipse?
How to start C project under Vista with Eclipse? [message #200445] Tue, 28 August 2007 08:49 Go to next message
Eclipse UserFriend
Hi all
I am a new guy tring to start C programming with Eclipse.I have Eclipse3.3.0
for Windows, cdt-master-4.0.0, and also I have installed MimGW-5.1.3 under
C:\MinGW, and added system path "C:\MinGW\bin". When I was building a sample
c project, it resulted:
**** Build of configuration Debug for project helloWorld ****

**** Internal Builder is used for build ****
gcc -O2 -g -Wall -c -fmessage-length=0 -ohello.o ..\hello.c
gcc: installation problem, cannot exec `cc1': No such file or directory
Build error occurred, build is stopped
Time consumed: 282 ms.

Anyboday could help to fix this? Thanks in advance. The OS is Vista home
basic
Dominic
Re: How to start C project under Vista with Eclipse? [message #200493 is a reply to message #200445] Tue, 28 August 2007 09:06 Go to previous messageGo to next message
Eclipse UserFriend
exquisitus wrote:
> Hi all
> I am a new guy tring to start C programming with Eclipse.I have
> Eclipse3.3.0 for Windows, cdt-master-4.0.0, and also I have installed
> MimGW-5.1.3 under C:\MinGW, and added system path "C:\MinGW\bin". When I
> was building a sample c project, it resulted:
> **** Build of configuration Debug for project helloWorld ****
>
> **** Internal Builder is used for build ****
> gcc -O2 -g -Wall -c -fmessage-length=0 -ohello.o ..\hello.c
> gcc: installation problem, cannot exec `cc1': No such file or directory
> Build error occurred, build is stopped
> Time consumed: 282 ms.
>
> Anyboday could help to fix this? Thanks in advance. The OS is Vista home
> basic
> Dominic

I'm not overly familiar with MinGW, but it looks like an installation
problem. Either your MinGW install went bad, or you are missing packages.

===========================

Chris Recoskie
Team Lead, IBM CDT Team
IBM Toronto
http://www.eclipse.org/cdt
Re: How to start C project under Vista with Eclipse? [message #200511 is a reply to message #200493] Tue, 28 August 2007 09:29 Go to previous messageGo to next message
Eclipse UserFriend
Hi Chris
I am not sure whether I have correct installation of MinGW.I have tried many
ways of different configuration, and the logs are the recent result. Is
there any default c or c++ compiler embeded in Eclipse for windows? Eclipse
is much more open, but I should add CDT,MinGW,etc, that brings confusion.
And when I search on the Internet for "gcc: installation problem, cannot
exec `cc1': No such file or directory", some people say that this issure has
something to do with Vista. I do not know. And if I want to start the first
c++/c project with eclipse, what configuration should I make? I donot think
the Eclipse.org web page and the eclipse help in the IDE present clearly.
Thanks and wait on line.

"Chris Recoskie" <recoskie@ca.ibm.com> 写入消息
news:fb16m8$992$5@build.eclipse.org...
> exquisitus wrote:
>> Hi all
>> I am a new guy tring to start C programming with Eclipse.I have
>> Eclipse3.3.0 for Windows, cdt-master-4.0.0, and also I have installed
>> MimGW-5.1.3 under C:\MinGW, and added system path "C:\MinGW\bin". When I
>> was building a sample c project, it resulted:
>> **** Build of configuration Debug for project helloWorld ****
>>
>> **** Internal Builder is used for build ****
>> gcc -O2 -g -Wall -c -fmessage-length=0 -ohello.o ..\hello.c
>> gcc: installation problem, cannot exec `cc1': No such file or directory
>> Build error occurred, build is stopped
>> Time consumed: 282 ms.
>>
>> Anyboday could help to fix this? Thanks in advance. The OS is Vista home
>> basic
>> Dominic
>
> I'm not overly familiar with MinGW, but it looks like an installation
> problem. Either your MinGW install went bad, or you are missing packages.
>
> ===========================
>
> Chris Recoskie
> Team Lead, IBM CDT Team
> IBM Toronto
> http://www.eclipse.org/cdt
Re: How to start C project under Vista with Eclipse? [message #200541 is a reply to message #200511] Tue, 28 August 2007 10:42 Go to previous messageGo to next message
Eclipse UserFriend
You might try the pre-built Eclipse+CDT+MinGW:
http://wascana.sourceforge.net/

....Beth
Re: How to start C project under Vista with Eclipse? [message #200604 is a reply to message #200541] Tue, 28 August 2007 16:08 Go to previous message
Eclipse UserFriend
Originally posted by: dschaefer.qnx.com

Beth Tibbitts wrote:
> You might try the pre-built Eclipse+CDT+MinGW:
> http://wascana.sourceforge.net/
>
> ...Beth

Yes, the 0.9.2 release supports Vista. There is a magic patch required
for MinGW to resolve it's internal paths. I guess MicroSoft changed
something in the run-time that broke things.

Doug
Previous Topic:no debugging of C++ programs on linux?
Next Topic:managed make project
Goto Forum:
  


Current Time: Tue May 13 18:41:30 EDT 2025

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

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

Back to the top