Skip to main content


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 05:50
zhang A1 is currently offline zhang A1Friend
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: Wed Oct 09 10:40:12 GMT 2024

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

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

Back to the top