Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » [help] Preprocessor command showing as unresolved
[help] Preprocessor command showing as unresolved [message #1411248] Fri, 22 August 2014 20:02 Go to next message
Eclipse GuestFriend
Messages: 93
Registered: February 2013
Location: Vienna
Member
I just installed Eclipse and the first piece of code I've written the #include <iostream> command is marked for syntax error.

OS: Win7
toolchain: Unsure, the dropdown in the properties window is blank and greyed out.

http://i.imgur.com/yXCrwJ0.png
Re: [help] Preprocessor command showing as unresolved [message #1413909 is a reply to message #1411248] Fri, 29 August 2014 18:39 Go to previous messageGo to next message
ahmed elgendy is currently offline ahmed elgendyFriend
Messages: 3
Registered: August 2014
Junior Member
When i first tryed using Mingw I got this error!

What i Did:


  1. Erased The MinGW Folder
  2. Removed it from the path
  3. restarted my PC
  4. re installed MinGW
  5. Re added the Bin(C:/MinGW32/bin for me) folder back to the path
Re: [help] Preprocessor command showing as unresolved [message #1414220 is a reply to message #1411248] Sat, 30 August 2014 16:56 Go to previous message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 742
Registered: August 2014
Senior Member
It seems to me that you have not built the executable (hammer icon on top bar). See attached image.

index.php/fa/19006/0/

If it does not work, check from the MinGW console (another attached image) that the C++ compiler (g++) exists. There is also a run of your code on the console capture.
index.php/fa/19007/0/
  • Attachment: Build.jpg
    (Size: 192.38KB, Downloaded 336 times)
  • Attachment: Console.jpg
    (Size: 54.50KB, Downloaded 293 times)


--

Tauno Voipio
Previous Topic:Opening .exe instead of eclipse console
Next Topic:Change breakpoint color
Goto Forum:
  


Current Time: Sun Oct 06 17:46:28 GMT 2024

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

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

Back to the top