Can't get C/C++ IDE working [message #1817635] |
Tue, 26 November 2019 23:54  |
Eclipse User |
|
|
|
Hey there,
i tried setting up Eclipse for C/C++ developers on Windows 7, 8.1, Arch Linux and Ubuntu and I never got it working, always giving me the same error.
No matter what compiler or project I choose, I always end up with the IDE saying me that neither "cout", nor "endl" nor anything else could be resolved.
Though I included iostream of course.
Not even the standard Hello World!-Program (mine, written manually and the one provided by eclipse) is working.
So any suggestions what I am doing wrong?
Code::Blocks is working without any trouble but I would more likely use eclipse for developing.
Thanks in advance!
|
|
|
Re: Can't get C/C++ IDE working [message #1817670 is a reply to message #1817635] |
Wed, 27 November 2019 11:47  |
Eclipse User |
|
|
|
You say it's not working but that could be a number of things.
What specifically are you seeing?
What toolchain did you select?
It has to be one that is installed on your system.
Assuming you selected GCC and GCC is installed and you are getting unresolved symbols,
check that
Project --> Properties --> C/C++ General --> Preprocessor Include Paths, Macros etc.-->Entries tab
has entries for CDT GCC Built-in Compiler Settings for the language you are using (C/C++)
If not, go to the Providers tab and enable it.
You may need to rebuild the Index with Project --> C/C++ Index --> Rebuild
|
|
|
Powered by
FUDForum. Page generated in 0.07360 seconds