eclipse IDE complie Failed in redHat,but is complie Success in Ubuntu [message #1064400] |
Wed, 19 June 2013 05:50 |
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.
|
|
|
Powered by
FUDForum. Page generated in 0.03877 seconds