IBM Support

Built-in include path not shown in Paths and Symbols for Eclipse CDT 5.0.2, or earlier, with Cygwin on Windows 7

Troubleshooting


Problem

Eclipse C/C++ Development Tools (CDT) 5.0.2, or earlier, setup with Cygwin on Microsoft Windows 7 does not show built-in include paths on a project's "Paths and Symbols" properties page.

Symptom

"Paths and Symbols" properties page of a CDT project does not show any built-in paths.

Environment

Windows 7

Diagnosing The Problem

  1. Create a new C++ project.
  2. In the Project Explorer view, right-click the project and click Properties.
  3. In the Properties wizard, expand C/C++ General and click Paths and Symbols.
  4. On the Includes tab, select the C++ language installed, such as GNU C++.
  5. Check if there are any built-in include paths listed.

Resolving The Problem

  1. In the Project Explorer view, right-click the C++ Project for which the include paths are required to be added and click Properties.
  2. In the Properties wizard, expand C/C++ General and click Paths and Symbols.
  3. On the Includes tab, select the C++ language installed, such as GNU C++, and click Add.
  4. In the Add directory path dialog box, select one of the include directories from the Cygwin installation and click OK.
  5. Repeat steps 3 and 4 to add all the include directories required for the project.

[{"Product":{"code":"SS4JE2","label":"Rational Software Architect Standard Edition"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"C \/ C++ Development","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.5;7.5.1;7.5.2;7.5.3;7.5.4;7.5.5;7.5.5.1","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}},{"Product":{"code":"SSJP3D","label":"Rational Systems Developer"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"C\/C++ development","Platform":[{"code":"PF033","label":"Windows"}],"Version":"6.0.1;6.0.1.1;6.0.1.2;7.0;7.0.0.1;7.0.0.2;7.0.0.3;7.0.0.4;7.0.5;7.0.5.1;7.0.5.2;7.0.5.3","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SS5JSH","label":"Rational Software Architect RealTime Edition"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"C \/ C++ Development","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.5.2;7.5.3;7.5.4;7.5.5;7.5.5.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
16 June 2018

UID

swg21423603