Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » eclipse IDE complie Failed in redHat,but is complie Success in Ubuntu
eclipse IDE complie Failed in redHat,but is complie Success in Ubuntu [message #1064400] Wed, 19 June 2013 01:50
zhang A1 is currently offline zhang A1
Messages: 3
Registered: June 2013
Junior Member
HI ALL:
I have install eclipse juno SR2 in ubuntu 12 and RedHat 6.0, and coding the c++ Program,like this:
#include <iostream>
using namespace std;
int main(){
cout<<"hello"<<endl;
return 0;
}
so, in Ubuntu , the eclipse compile project success ;
But in RedHat 6.0 , the eclipse IDE compile project Failed.
In RedHat 6.0,eclipse Console Window show these message:

g++ -I/usr/include/c++ -I/usr/include/c++/4.4.4 -I/usr/include/c++/4.4.4/backward -I/usr/include/c++/4.4.4/ -I/usr/include/c++/bits -O0 -g3 -Wall -c -fmessage-length=0 -std=c99 src/HelloWorld.o ../src/HelloWorld.cpp

g++ -o HelloWorld src/HelloWorld.o

Build Finished.

But,eclipse Program Window show this message:

Invalid overload of 'endl'.

So,
eclipse IDE Setting is exactly the same setting in Ubutu and redHat.


Previous Topic:eclipse IDE complie Failed in redHat,but is complie Success in Ubuntu
Next Topic:eclipse IDE complie Failed , ACE_MT_SYNCH could not be resolved
Goto Forum:
  


Current Time: Thu Apr 17 08:40:38 EDT 2014

Powered by FUDForum. Page generated in 0.18629 seconds