Re: compiling gnome programs



Aaron Walker <amwalker@flinet.com> writes:
> can I use gnome-config in the same context as gtk-config when compiling
> gnome programs?

In a similar way.
 
> for example:
> gcc -Wall -g gnomeprog.c -o gnomeprog `gnome-config --libs`
> `gnome-config --cflags`
> 
> If so, this doesn't work...

Yep.

> $ gnome-config --libs
> $ (just returns a new line)
> 
> $ gnome-config --cflags
> $ (just returns a new line)
> 
> is gnome-config supposed to return something when you do 'gnome-config
> xxx'?
> how can I set the values of gnome-config, and what should I set them to?

Did you try 

	gnome-config --help

Also try

	gnome-config --cflags --libs gnomeui

- Hari
-- 
Raja R Harinath ------------------------------ harinath@cs.umn.edu
"When all else fails, read the instructions."      -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing."   -- Roy L Ash



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]