Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » C++ Build problem!!!!!!!!!!!!
C++ Build problem!!!!!!!!!!!! [message #721909] Sat, 03 September 2011 14:47 Go to next message
Gabriel Ameen is currently offline Gabriel AmeenFriend
Messages: 4
Registered: September 2011
Junior Member
Hi friends,
I facing a problem with Eclipse IDE and MinGW, hope you will help me out. This is how I installed eclipse.
1. I installed JRE.
2. I donwloaded the MinGW automatic installer, installed everything except Fortran compiler, under C:\MinGW
3. Then I added C:\MinGW\bin to my system path variable.
4. Then I downloaded Eclipse IDE for C/C++ Developers (includes Incubating components), extracted it under C:\eclipse

Now when I create a c project, with .c source file, the build is successfuly done, and I can run the executable created. But when I try to do the same thing with a c++ project, I face the following errors.
Description	                        Resource         Path   Location             	                               	
Symbol 'cout' could not be resolved	First.cpp	/First/src	line 13	Semantic Error
Symbol 'endl' could not be resolved	First.cpp	/First/src	line 13	Semantic Error
Symbol 'std' could not be resolved	First.cpp	/First/src	line 10	Semantic Error
Error launching external scanner info generator (g++ -E -P -v -dD C:/Users/dawood/workspace/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp)	First		[Discovery Options] page in project properties	C/C++ Problem
Program 'g++' is not found in $PATH	First		[Discovery Options] page in project properties	C/C++ Problem

I searched for the iostream under C:\MinGW but couldn't find, why is iostream not included with MinGW???
I am running Windows 7 x64 Ultimate SP1, please help me with this! Looking forward to your replies!
Thanks in advance!
Re: C++ Build problem!!!!!!!!!!!! [message #721914 is a reply to message #721909] Sat, 03 September 2011 15:10 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 03-Sep-11 08:47, Gabriel Ameen wrote:
> Hi friends,
> I facing a problem with Eclipse IDE and MinGW, hope you will help me
> out. This is how I installed eclipse.
> 1. I installed JRE.
> 2. I donwloaded the MinGW automatic installer, installed everything
> except Fortran compiler, under C:\MinGW
> 3. Then I added C:\MinGW\bin to my system path variable.
> 4. Then I downloaded Eclipse IDE for C/C++ Developers (includes
> Incubating components), extracted it under C:\eclipse
>
> Now when I create a c project, with .c source file, the build is
> successfuly done, and I can run the executable created. But when I try
> to do the same thing with a c++ project, I face the following errors.
> Description Resource Path Location
> Symbol 'cout' could not be resolved First.cpp /First/src line 13
> Semantic Error
> Symbol 'endl' could not be resolved First.cpp /First/src line 13
> Semantic Error
> Symbol 'std' could not be resolved First.cpp /First/src line 10 Semantic
> Error
> Error launching external scanner info generator (g++ -E -P -v -dD
> C:/Users/dawood/workspace/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp)
> First [Discovery Options] page in project properties C/C++ Problem
> Program 'g++' is not found in $PATH First [Discovery Options] page in
> project properties C/C++ Problem
> I searched for the iostream under C:\MinGW but couldn't find, why is
> iostream not included with MinGW???
> I am running Windows 7 x64 Ultimate SP1, please help me with this!
> Looking forward to your replies!
> Thanks in advance!
Please read the sticky posts at the top of this forum. You can reach
them on the web at eclipse.org. In particular, you should ask such
questions as this in the Eclipse CDT forum.
Previous Topic:Refresh editor
Next Topic:Help with Eclipse and Windows7 64bit
Goto Forum:
  


Current Time: Fri Apr 19 05:46:21 GMT 2024

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

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

Back to the top