Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Can't find header file(Include header files)
Can't find header file [message #1837486] Sun, 31 January 2021 16:59
Eclipse UserFriend
Using Eclipse for C/C++ Developers. I am becoming familiar with using the IDE by using the source code for a GTK example found on the internet. The example works correctly when built with gcc and pkg-config.

The code is validated in the editor by including /usr/include/gtk-3.0 and /usr/include/glib-2.0. However, when I build the example it cannot find pango/pango.h. I can trace down the includes in the Project Explorer using the path given in the console and find that include several layers deep in gdktypes.h. Also in the include tree in the Project Explorer is pango-1.0 which had pango.pango.h within it. It has the define macros to make sure it is only defined once. all the header files given above have the exclamation point on the header file icon.

How do I tell the IDE to recursively search the includes? I have looked for an option in the Build dialogues with no success. I want to get this working before I continue to write code for an extensive project.
Previous Topic:Eclipse crashing when it calles gdb or running the C application
Next Topic:AT32UC & Eclipse IDE
Goto Forum:
  


Current Time: Sun Jul 06 13:43:09 EDT 2025

Powered by FUDForum. Page generated in 0.23649 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top