Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » help: cdt with cygwin g++ compile helloworld wrong(windowxp use cdt with cygwin g++)
icon5.gif  help: cdt with cygwin g++ compile helloworld wrong [message #1015772] Sat, 02 March 2013 16:00 Go to next message
fe dragon is currently offline fe dragonFriend
Messages: 1
Registered: March 2013
Junior Member
My OS is windowsxp.
eclipse version is JunoSR2 for c/c++ developers.
eclipse + cdt + cygwin g++ to compile the demo helloworld.

I install g++-4 in cygwin.

But in compile, eclipse output the errors as below:

Description Resource Path Location Type
Symbol 'std' could not be resolved chello.cpp /chello/src line 10 Semantic Error
make: *** [src/chello.o] Error 1 chello C/C++ Problem
Symbol 'cout' could not be resolved chello.cpp /chello/src line 13 Semantic Error
recipe for target `src/chello.o' failed subdir.mk /chello/Debug/src line 18 C/C++ Problem
Symbol 'endl' could not be resolved chello.cpp /chello/src line 13 Semantic Error

I don't know what's wrong and how to solve it.
Please give some suggestion,thank you!
Re: help: cdt with cygwin g++ compile helloworld wrong [message #1017041 is a reply to message #1015772] Fri, 08 March 2013 18:02 Go to previous message
Mike Feher is currently offline Mike FeherFriend
Messages: 2
Registered: March 2013
Junior Member
I think this same discussion took place over here too:

http://www.eclipse.org/forums/index.php/m/790534/

Mike
Previous Topic:errors compiling MAC
Next Topic:Problem with Building My Own Project with Crypto++ (Probably Simple Newbie Issue)
Goto Forum:
  


Current Time: Sun Aug 18 21:04:05 GMT 2019

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

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

Back to the top