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 #1064399] Wed, 19 June 2013 05:49
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:Open declaration doesn't work for J2ee program in eclipse juno
Next Topic:eclipse IDE complie Failed in redHat,but is complie Success in Ubuntu
Goto Forum:
  


Current Time: Fri Mar 29 15:22:15 GMT 2024

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

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

Back to the top