Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » CDT » Problems compiling HELLOWORLD ¿??¿ (compiler doesn't see included libraries )
Problems compiling HELLOWORLD ¿??¿ [message #794711] Thu, 09 February 2012 11:04 Go to previous message
guillermo roman is currently offline guillermo roman
Messages: 14
Registered: February 2012
Junior Member
I have fix one problem with iostream, but still I have two errors in HELLO WORLD ¿?¿?¿

***********
Description Resource Path Location Type
Symbol 'cout' could not be resolved HelloWorld.cpp /HelloWorld/src line 13 Semantic Error
Description Resource Path Location Type
Symbol 'endl' could not be resolved HelloWorld.cpp /HelloWorld/src line 13 Semantic Error
***********

When I compile I have this two errors. In iostream I find a warning in c++config.h and it says that that file is not included. This is not true because I include its folder (c:/WinGW/lib/gcc/mingw32/4.6.2/include/c++/mingw32/bits/c++config.h).

On the other hand the console says:

**** Internal Builder is used for build ****
g++ -IC:\MinGW\lib\gcc\mingw32\4.6.2\include\c++ -IC:\MinGW\lib\gcc\mingw32\4.6.2\include\c++\mingw32\bits -O0 -g3 -Wall -c -fmessage-length=0 -o src\HelloWorld.o ..\src\HelloWorld.cpp
g++ -LC:\MinGW\lib -LC:\MinGW\msys\1.0\lib -LC:\MinGW\lib\gcc\mingw32 -o HelloWorld.exe src\HelloWorld.o
Build complete for project HelloWorld
Time consumed: 295 ms.

So, it seems there is not error

This has not sense for me!!!

Any idea? please

Thanks in advance
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Searching for text while excluding other text
Next Topic:watchpoint on pointer data (not pointer itself)
Goto Forum:
  


Current Time: Sat May 18 05:29:25 EDT 2013

Powered by FUDForum. Page generated in 0.01762 seconds