Skip to main content



      Home
Home » Newcomers » Newcomers » I can't compile the helloworld
I can't compile the helloworld [message #149546] Mon, 24 April 2006 03:54 Go to next message
Eclipse UserFriend
Originally posted by: je.sfsu.edu

I just installed eclipse today. I tried the HelloWorld program in C++
that's in the tutorial to try the IDE, after I copied and paste
everything, saved it and tried to run then I didn't see neither main.exe
nor main.o. I already installed the MinGW and CDT.
If someone can help me I'll be more that thankful
Re: I can't compile the helloworld [message #149562 is a reply to message #149546] Mon, 24 April 2006 05:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hari9x.yahoo.co.uk

It would be better if you let us know what kind of error you got.
I am a new user of eclipse too..just tryed for couple of days, and faced
the same problem too.

But finally i got it right.

Reading the FAQ page would be great, since there are plenty information on
yur problem, just go to the Building C/C++ Projects section.

however, below are some steps i take just to make eclipse compile the
helloworld tutorial :

1. make sure that make executable is on your path.
Open a command window and type "make". If you receive the equivalent
of
"command not found" then you will need to ensure that the location of
the
make executable is on your path.
(If you have changed your build command to something else,
like mingw32-make -f makefile" then this something else needs to be on
your
path.)

2. make sure that gcc executable is on your path.
For MinGW, you need to add the path to gcc/g++ exe manually

those are 2 main step you need to take..
the minors step, just try to configure/ do some necessary changes to
project properties.

regards
hari
Re: I can't compile the helloworld [message #149618 is a reply to message #149562] Mon, 24 April 2006 11:51 Go to previous message
Eclipse UserFriend
Originally posted by: je.sfsu.edu

Thanks for the reply,
I did put mingw32-make -f makefile on my path, and when I type g++ -v in
the command prompt I get a long answer that showed that mingw32-make -f
makefile is in indeed in my path.

As far as error I don't get any. I just save the file and nothing happens.

Thanks,
Adam
Previous Topic:How to compile single file?
Next Topic:Few editors available on install
Goto Forum:
  


Current Time: Mon Jul 14 14:39:53 EDT 2025

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

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

Back to the top