Windows Eclipse and MinGW. How? [message #639398] |
Tue, 16 November 2010 12:25 |
Hugo 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 |
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.08259 seconds