CDT does not build my projects: Build Error [message #68190] |
Mon, 05 May 2003 03:16 |
Eclipse User |
|
|
|
Originally posted by: krystianson.hotmail.com
I'm using eclipse 2.1 and cdt 1.0.1 on a WindowsXP system with
MinGW-2.0.0-3 installed, and my makefile looks like (I've the build
settings setup up to use it):
objects = hello.o
hello : $(objects)
gcc -o hello $(objects) -L C:/MinGW/lib/gcc-lib/mingw32/3.2/ -lstdc++
$(objects) : hello.cpp
gcc -c hello.cpp
all :
${MAKE} hello
PHONY : clean
clean :
-del hello.exe $(objects)
But I get the following error:
Build Error
(Exec error:Launching failed)
|
|
|
Re: CDT does not build my projects: Build Error [message #68202 is a reply to message #68190] |
Mon, 05 May 2003 03:47 |
Eclipse User |
|
|
|
Originally posted by: krystianson.hotmail.com
Sorry, my bad. I got it all figured out: it turns out that make is not in
the same directory that gcc is in, so I just had to append to my path
variable (gcc is in C:\\MinGW\\bin, while make is in the
C:\\msys\\1.0\\bin)
|
|
|
|
|
Re: CDT does not build my projects: Build Error [message #68766 is a reply to message #68684] |
Tue, 06 May 2003 17:11 |
Eclipse User |
|
|
|
Originally posted by: krystianson.hotmail.com
kesselhaus wrote:
> Krystian Smith schrieb:
> > Sorry, my bad. I got it all figured out: it turns out that make is not in
> > the same directory that gcc is in, so I just had to append to my path
> > variable (gcc is in C:\\MinGW\\bin, while make is in the
> > C:\\msys\\1.0\\bin)
> >
> the 'make' program is indeed included in the MinGW binary directory but
> its called mingw32-make.exe. You should _copy_ it to the same dir but
> name it make.exe!
Ahhhhh..., thank you very much then. (What's the diff anyway?)
|
|
|
Powered by
FUDForum. Page generated in 0.03463 seconds