Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Windows Eclipse and MinGW. How?(Cannot get Hello World to compile.)
Windows Eclipse and MinGW. How? [message #639398] Tue, 16 November 2010 12:25 Go to next message
Hugo  is currently offline Hugo Friend
Messages: 1
Registered: November 2010
Junior Member
Hi all,

I am running Windows XP, and wish to use Eclipse to develop C and C++ projects, using GCC to compile them.

I have installed Eclipse Helios Service Release 1 (Build id: 20100917-0705), and it seems to work fine.

I have installed MinGW into the default directory and added the path, and it seems to work fine. (Eclipse finds it, and also I can type gcc -v at the command line, and gcc runs ok.)

I started a new Hello World ANSI C project in Eclipse, and selected MinGW GCC toolchain.

I clicked build, and got this error:


**** Build of configuration Debug for project Hugo2 ****

**** Internal Builder is used for build ****
g++ -O0 -g3 -Wall -c -fmessage-length=0 -osrc\Hugo2.o ..\src\Hugo2.cpp
Build error occurred, build is stopped
Time consumed: 281 ms.





I cannot for the life of me understand what this means. What's the error? Have I missed something obvious? Please help.

Many thanks in advance.

Hugo
Re: Windows Eclipse and MinGW. How? [message #639440 is a reply to message #639398] Tue, 16 November 2010 14:45 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

Did you look at the sticky post at the top of this forum?

http://www.eclipse.org/forums/index.php?t=msg&th=161206& amp;start=0&S=d20ba64362c192fa78017d00566a87cd

It helps a lot to go looking for answers before assuming you're the only
one who has had the problem. For example, out there I find:

http://stackoverflow.com/questions/1475415/having-trouble-bu ilding-c-project-in-eclipse-cdt-in-os-x-for-a-silly-reason

http://stackoverflow.com/questions/2606740/internal-builder- cannot-run-program-g-the-system-cannot-find-the-file-speci

http://dev.eclipse.org/newslists/news.eclipse.tools.cdt/msg1 4387.html

....and many more.

On 2010.11.16 5:25, Hugo wrote:
> Hi all,
>
> I am running Windows XP, and wish to use Eclipse to develop C and C++
> projects, using GCC to compile them.
>
> I have installed Eclipse Helios Service Release 1 (Build id:
> 20100917-0705), and it seems to work fine.
>
> I have installed MinGW into the default directory and added the path,
> and it seems to work fine. (Eclipse finds it, and also I can type gcc -v
> at the command line, and gcc runs ok.)
>
> I started a new Hello World ANSI C project in Eclipse, and selected
> MinGW GCC toolchain.
>
> I clicked build, and got this error:
>
>
> **** Build of configuration Debug for project Hugo2 ****
>
> **** Internal Builder is used for build ****
> g++ -O0 -g3 -Wall -c -fmessage-length=0 -osrc\Hugo2.o ..\src\Hugo2.cpp
> Build error occurred, build is stopped
> Time consumed: 281 ms.
>
> I cannot for the life of me understand what this means. What's the
> error? Have I missed something obvious? Please help.
>
> Many thanks in advance.
>
> Hugo
Re: Windows Eclipse and MinGW. How? [message #1703177 is a reply to message #639398] Wed, 29 July 2015 07:11 Go to previous message
Harsh Gupta is currently offline Harsh GuptaFriend
Messages: 5
Registered: July 2015
Location: India
Junior Member

I'm getting the same error and haven't been able to find a workable solution as yet. Please help!
Previous Topic:Installer does not show full tree / github anymore
Next Topic: Where is the resources section now that was in this site now?
Goto Forum:
  


Current Time: Fri Apr 26 17:31:01 GMT 2024

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

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

Back to the top