Re: newbie GNOME programmer
- From: Miguel de Icaza <miguel nuclecu unam mx>
- To: tosti starlink it
- CC: gnome-list gnome org
- Subject: Re: newbie GNOME programmer
- Date: Fri, 9 Oct 1998 17:50:05 -0500
> 1. I've tried to compile the first applet source included in the GTK tutorial
> (before the HelloWorld one) and the compiler said:
>
> [daniele@localhost daniele]$ gcc FirstApp.c
When you compile Gtk+ applications you need to use a number of include
directories and link with some libraries, this is achieved like this:
gcc FirstApp.c `gtk-config --libs --cflags`
If you are doing Gnome applications, you will need to use this
command:
gcc FirstApp.c `gnome-config --libs --cflags gnomeui`
Of course if you only want to compile you use:
gcc -c FirstApp.c `gnome-config --cflags gnomeui`
and to link you would use:
gcc -o FirstApp FirstApp.o `gnome-config --libs gnomeui`
> 2. I don't want to disturb you with silly questions on compiling problems
> like the previous one...someone can resend me to a *decent* mailing list
> on this subject?
www.gnome.org carries an archive of mailing lists as well as the GNOME
faq. www.gtk.org has pointers to the Gtk+ mailing list archive and
the Gtk+ tutorial and FAQ.
> 3. GTK questions are preferably to be posted on GTK-related mailing lists
> or on this
> one?
gtk-list is a better place for Gtk-specific questions, but we can
answer thme here as well.
Miguel.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]