1. Re: GTKLib
- Posted by Irv Mullins <irvm at ellijay.com> Feb 11, 2002
- 452 views
On Monday 11 February 2002 10:26 am, Chris Burch wrote: > did as suggested, wouldn't compile, no such directory as > 'gtk-config ..... etc' Did you use back-ticks? A forward-tick (AKA single quote) gives the error message about no such file or directory. > Then discovered only had part of the gtk libraries installed - may have > something to do with not installing Gnome, as suggested by someone else, > but I had to install the gtk development libraries, which included > usr/include/gtk/gtk.h and /usr/include/gdk/gdk.h (as requested in the > header (top part!) of your sample program. > > Still wouldn't compile, with your suggested compile instruction (same > error). > > so then I did this > > gcc gtkwin.c -o gtkwin -lgtk -lgdk > > This compiled, and ran, and produced a test window. > > Great, thought I, now we can try your gtk library - but, still didn't > produce anything - none of the demo programs did anything, nothing, no > errors or anything. Run them from an xterm. You should see some kind of error message. I have not ever had "nothing" happen. There's always either a Euphoria error message or a GTK error message, or worse case, a "segmentation" violation from the OS. Regards, Irv