Re: Creating gnome based apps
- From: Richard Hult <rhult hem2 passagen se>
- To: gjones mc2 net
- cc: gnome-devel-list gnome org
- Subject: Re: Creating gnome based apps
- Date: Fri, 2 Apr 1999 13:17:37 +0200 (CEST)
On 2 Apr, greg wrote:
> Hi everyone,
>
> I am trying to learn how to use gnome. I have started doing some of the examples in the gnome docs, but there is no mention on how to compile gnome based apps. (The one I have been working on is the gnome_canvas example).
> I include gnome.h in my app but it doesn't tell me what libs I need to link in. Does gnome-config work in the same way as gtk-config? If so then how do you make it work?
>
> Thanks to anyone who can lead me to programming happiness:-)
>
> Greg
I do like this:
compile:
gcc -g `gnome-config --cflags gnome gnomeui` -c file.c
then link:
gcc -g `gnome-config --libs gnome gnomeui` file.o -o my_gnome_app
You can run gnome-config --help to see what options you can use.
Hope it helps
Richard
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]