pmunly
November 27th, 2009, 06:35 PM
Ok, first off I'm just getting back into C/Gtk (it's been about 2 years) and messing around with SDL a bit, so I'm working on a very simple SDL/Gtk demo to get the feel for things. My problem is that it appears that my Ubuntu Netbook Remix 9.10 install has a *lot* of include files in what I believe are non-standard locations... mainly those upon which gtk and gdk depend:
#include <gtk/gtk.h>
#include <gdk/gdk.h>
should be found in /usr/include/gtk and /usr/include/gdk at least from my understanding. Instead they're both in /usr/include/gtk-2.0/gtk and /usr/include/gtk-2.0/gdk, which is not really a problem; it's easy making a symbolic link to put them in the "right" spot. So that's what I did. After attempting to compile again, I received somewhere in the range of 6000 errors due to other header files "not found" where gtk.h and gdk.h thought they should be (and the *-dev packages are installed). So I guess I'm wondering if I've completely forgot/missed something here, or if there's something else I should be doing?
Any help would be much appreciated. And yes, I realize trying to write code on a Netbook is a bit crazy. :)
#include <gtk/gtk.h>
#include <gdk/gdk.h>
should be found in /usr/include/gtk and /usr/include/gdk at least from my understanding. Instead they're both in /usr/include/gtk-2.0/gtk and /usr/include/gtk-2.0/gdk, which is not really a problem; it's easy making a symbolic link to put them in the "right" spot. So that's what I did. After attempting to compile again, I received somewhere in the range of 6000 errors due to other header files "not found" where gtk.h and gdk.h thought they should be (and the *-dev packages are installed). So I guess I'm wondering if I've completely forgot/missed something here, or if there's something else I should be doing?
Any help would be much appreciated. And yes, I realize trying to write code on a Netbook is a bit crazy. :)