How to solve “Unresolved inclusion: <iostream>” in a C++ file in Eclipse CDT?
I download eclipse for c++ (cdt-master-8.0.2.zip). When I write: #include <iostream> It marks: Unresolved inclusion: <iostream> How can I fix it? Alan CN Go to Project > Properties > C/C++ General > Preprocessor Includes... > Providers and select " CDT GCC Built-in Compiler Settings ". I use Eclipse for cross compiling and I have to add the explicit directories for some of the standard C++ libraries. Right click your project and select Properties. You'll get the dialog shown in the image. Follow the image and use the + icon to explicitly add the paths to your C++ libraries. Make sure that your