Problem with including header files for the geany plugin API

Hi, I want to write a plugin for Geany. I'm trying to get the API for this up an running, but I'm having immediate problems. It requires the gtk development files and includes a bunch of headers from. So the program starts out by including geany.h. Then geany.h includes a bunch of other stuff, which it can't find because those things are in /usr/include instead of /usr/include/geany. I tried putting symbolic links into the geany folder, but there are just so many header files. So I don't think that's practical or what the devs intended. Anyone know of a better way to fix this? Here's the code I have so far. http://pastebin.com/6RJMcddA. Here's a screenshot of my geany folder http://i.imgur.com/HGpQ2um.png.
> which it can't find because those things are in /usr/include

Use a compiler option to add /usr/include as a directory to search for header files -I/usr/include

http://gcc.gnu.org/onlinedocs/gcc-4.8.1/gcc/Directory-Options.html#Directory-Options
Topic archived. No new replies allowed.