CDT refuses to generate a EXE [message #161804] |
Sat, 14 January 2006 07:30 |
Eclipse User |
|
|
|
Originally posted by: cdt.20.acprogrammer.spamgourmet.com
Hello,
I seem to be having difficulties configuring CDT. I am using CDT
3.0.1 and Eclipse SDK 3.1.0. What I am trying to do is create a
configuration for CDT for WxWidgets projects. The problem I am having is
that eclipse refuses to make the exe. I have everything configured
correctly because I can call, from the command prompt, the makefile CDT
makes like CDT calls it and get an exe as I expected. CDT on the other
hand, never makes the exe. It calls the linker (correctly), but no exe is
ever made, not even while the linker is running. A search of the hard
drive rules out the exe being elsewhere. Can somebody please explain what
is going wrong?
I also have another question. Once I have this configuration made,
how do I add it to the rest of the configurations so that it shows up when
making a new project?
|
|
|
Re: CDT refuses to generate a EXE [message #161812 is a reply to message #161804] |
Sun, 15 January 2006 10:20 |
Eclipse User |
|
|
|
Originally posted by: e.egberts.tantec.de
> It calls the linker (correctly), but no exe
> is ever made, not even while the linker is running. A search of the
> hard drive rules out the exe being elsewhere.
If there appears a problem while linking CDT should tell in
"Problems-View". Does it?
|
|
|
Re: CDT refuses to generate a EXE [message #162090 is a reply to message #161812] |
Thu, 19 January 2006 19:57 |
Eclipse User |
|
|
|
Originally posted by: cdt.20.acprogrammer.spamgourmet.com
Edzard Egberts wrote:
> If there appears a problem while linking CDT should tell in
> "Problems-View". Does it?
No, it does not. No error appears anywhere. The only error that ever
occured was while doing a rebuild it complained about not being able to
find crt2.o . Further investigation (compiling in verbose mode) revealed
that CDT was using a DIFFERENT gcc than the command line was. On my
machine, I have cygwin installed and, at one point in time used CDT with
it, so cygwin's bin directory had been on my path. It was not at the time
that I tried compiling this, so I thought everything was ok. It turns
out, though, that CDT somehow still had cygwin's bin directory on its
path, and was thus calling the GCC in cygwin. So, inside eclipse, I
overrode eclipse's errant path to point to the correct GCC (mingw). Once
I did that, I got some more errors (different this time), worked through
them, and eventually got it to work.
Thank you for your time
|
|
|
Powered by
FUDForum. Page generated in 0.03523 seconds