How to solve “Unresolved inclusion: ” in a C++ file in Eclipse CDT?

  1. Click Project → Properties.
  2. Expand C/C++ General.
  3. Click Preprocessor Include Paths, Macros, etc.
  4. Click the Providers tab.
  5. Check CDT GCC Built-in Compiler Settings.
  6. Check Use global provider shared between projects.
    Preprocessor Properties
  7. Click Apply and Close.

Leave a Comment