(e-mail address removed) said:
I use the GTK libraries in linux. The book I use is "Begining
GTK+/Gnome Programming" by Peter Wright. The book is intended for
linux users. So, I am wondering how I can do the same thing in
windows? I am mostly having trouble compiling in windows since the
compiler says that it cant open the gtk headers: "gtk/gtk.h"
Your compiler will have some way of adding into its include search path the
directory that contains your headers. The exact way of doing this depends
on your compiler.
For example, under Visual Studio it's in Tools/Options/Directories (and in
roughly the same place you will find something else you need - a way for
adding the GTK library directory to the linker's library search path).
For other implementations, it will not be precisely the same, but there will
be *some* way to do it. Sometimes it's a command line option, of course,
although I suspect you're probably using an IDE so that may not apply to
you.
You will, I hope, appreciate that we can't provide expertise on every
implementation under the sun. Fortunately, specific newsgroups do cater for
specific compilers, so with the above hint under your belt you should find
your answer easily enough in a group that deals with your particular
compiler.
Best of luck with GTK+ - you'll need it!