I don’t know what OS you have, but if you are on a Mac , the following worked for me:
Now "std" cannot be resolved; the error should disappear.
Now, to launch the Hello World application:
Click the Run icon. You are then prompted to select Run Configuration . The Run Configuration window can also be found by clicking the down arrow from the Run icon or the Run menu.
Your configuration should be for a C ++ application. On the Home tab, click the Search Project button .
The Binaries block should have a binary name with the pre-selected name of your project. Click OK.
Click the Run button at the bottom of the Run Configurations window.
I hope your project will be launched and you will see "Hello world!". in the console window at the bottom of Eclipse.
I would also like to add, I still have problems, sometimes with std not found. When you restart your computer , it will disappear. I wish I knew why.
EDIT: This problem is back, and now I can’t get her to leave! Does anyone know how to fix it? I am sure this is something with project / compiler settings.
source share