Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Setup help(can't compile)
Setup help(can't compile) [message #176064] Mon, 04 September 2006 17:11 Go to next message
Eclipse UserFriend
Originally posted by: Geoph521.gmail.com

I can't seem to get anything to compile with this. I installed mingw(all
necessary parts, I'm sure it's installed right) to C:\mingw\ and added
C:\mingw\bin\ to the path variable. Running 'make' at a command prompt
sucessfully run make.exe. When I try to build something in Eclipse(managed
make project) I get the message '(Exec error:Launching failed)' I just
installed CDT, so all settings are still default. What can i do to get
this working?
Re: Setup help(can't compile) [message #176073 is a reply to message #176064] Mon, 04 September 2006 20:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Geoph521.gmail.com

I got it working after i restarted eclipse(not sure why that helped), but
now It gives me 451 errors :(

All that was left in the console can be found here
geoph521.googlepages.com/error.txt

Anyone know what's going on?
Re: Setup help(can't compile) [message #176079 is a reply to message #176073] Mon, 04 September 2006 23:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: msuhk45.gmail.com

Hi Jeff,

Did you try to restart eclipse again?

What program are you trying to compile? Try compiling it with g++ in the
command line:
g++ program.cpp

Regards,

Mus
Re: Setup help(can't compile) [message #176085 is a reply to message #176073] Tue, 05 September 2006 08:41 Go to previous messageGo to next message
Eclipse UserFriend
Jeff,

you must restart eclipse after changing the PATH variable for your system so
that eclipse gets to see the new setting. Obviously this has happened.

Now your compiler gives you tons of errors about undeclared symbols. Have
you missed #includ ing any headers?



Norbert
Re: Setup help(can't compile) [message #176122 is a reply to message #176085] Tue, 05 September 2006 17:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Geoph521.gmail.com

As far as I can see it should compile fine, it's just a simple
program(below) i was using to make sure the compiler was working. Running
it through g++ straight from the command prompt has the same string of
errors.


#include <iostream>

int main() {
std::cout << "Test" << std::endl;
system("pause");
return 0;
}
Re: Setup help(can't compile) [message #176137 is a reply to message #176122] Tue, 05 September 2006 21:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: msuhk45.gmail.com

It seems that you have incopmlete "include" files on your hard drive...(just
guessing, from looking at your error messages)
Try reinstalling "mingw"
Re: Setup help(can't compile) [message #176173 is a reply to message #176137] Wed, 06 September 2006 18:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Geoph521.gmail.com

I tried reinstalling the mingw files several times, even using a different
program to decompress them so I know it wasn't some bug that didn't
decompress them properly. Maybe i missed a package that I need? So far
I've been trying with
gcc-core, gcc-g++, gdb, w32-api, and make
Re: Setup help(can't compile) [message #176179 is a reply to message #176173] Wed, 06 September 2006 18:18 Go to previous message
Eclipse UserFriend
Originally posted by: Geoph521.gmail.com

Problem solved, i just did it using the official installer rather than
installing all packages by hand(The installer was listed as candidate, so
I thought i might not be able to just install the stable versions, but it
could :) )
Previous Topic:Ignore invalid hex digit reply from gdbserver
Next Topic:Excluding files/directories from being built (with wildcards?)
Goto Forum:
  


Current Time: Sat Nov 08 22:04:33 EST 2025

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

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

Back to the top