windows xp, cygwin, CDT and me [message #137313] |
Thu, 03 February 2005 00:17 |
Eclipse User |
|
|
|
Originally posted by: cometguy2.aol.com
Ok, so I've got cygwin running eclipse. I write out a little hello world
program. But i can't get it to do anything. not even compile. I'm not sure
if it's my lack of experience with cygwin? or with g++? or with eclipse.
What i've done:
new --> standard make c++ project (called it "hello world")
right click on "Hello world" --> new --> file (called it hello.cpp)
code:
******************
#include <iostream.h>
int main()
{
cout << "hello world\n";
return 0;
}
*******************
right click on "hello world" --> rebuild project
in the console it says:
make -k clean all
make: ***No rule to make target 'clean'.
make: ***No rule to make target 'all'.
any help is super appreciated. thank so much. i feel so humbled going back
to g++. visual studio ruined me. :)
Jody!
|
|
|
Re: windows xp, cygwin, CDT and me [message #137347 is a reply to message #137313] |
Thu, 03 February 2005 00:40 |
Eclipse User |
|
|
|
Originally posted by: cometguy2.aol.com
nevermind. i got it. i was using a standard make project instead of a
managed make project. Funny, i posted a question on what the difference
was yesterday, but didn't get an answer back. Got it now though!! BOO YAH
Jody
"Jody" <cometguy2@aol.com> wrote in message
news:ctrql9$b8f$1@www.eclipse.org...
> Ok, so I've got cygwin running eclipse. I write out a little hello world
> program. But i can't get it to do anything. not even compile. I'm not
sure
> if it's my lack of experience with cygwin? or with g++? or with eclipse.
> What i've done:
>
> new --> standard make c++ project (called it "hello world")
> right click on "Hello world" --> new --> file (called it hello.cpp)
>
> code:
> ******************
> #include <iostream.h>
>
> int main()
> {
> cout << "hello world\n";
> return 0;
> }
> *******************
> right click on "hello world" --> rebuild project
>
> in the console it says:
> make -k clean all
> make: ***No rule to make target 'clean'.
> make: ***No rule to make target 'all'.
>
> any help is super appreciated. thank so much. i feel so humbled going
back
> to g++. visual studio ruined me. :)
>
> Jody!
>
>
>
|
|
|
Re: windows xp, cygwin, CDT and me [message #137452 is a reply to message #137313] |
Thu, 03 February 2005 19:51 |
Eclipse User |
|
|
|
Originally posted by: tdk1ncGAUSS.YankMathGuy.northcanton.sparcc.org
This is less of a cygwin issue and more of an Eclipse/CDT issue...
Jody wrote:
> new --> standard make c++ project (called it "hello world")
Make a managed make c++ project instead of a standard make. In a
standard make, you have to write the makefile yourself. Managed make
projects autogenerate the makefile.
-Troy
|
|
|
Powered by
FUDForum. Page generated in 0.03770 seconds