Re: [gtk-list] gtk installation



garrett beaubien wrote:
>
> Here is what happens when I try and compile (using the command given in the
> gtk tutorial):
> 
> [garrett@localhost programming]$ gcc first_gtk.c -o first_gtk 'gtk-config
> --cflags --libs'

You should use backquotes, that means:

gcc first_gtk.c -o first_gtk `gtk-config --cflags` `gtk-config --libs`

I also made that mistake when i first tried to compile... but learned a
lot from it :-)

Have funk!
MC303
-- 
Bart Vandewoestyne		http://hello.to/MC303		
Hugo Verrieststraat 48		Bart.Vandewoestyne@skynet.be
8550 ZWEVEGEM			ICQ# 21275340
BELGIUM - EUROPE		nick: MC303
Phone: +32(0)56/75.48.11
-------------------------------------------------------------------
If carpenters made buildings the way programmers make programs, the 
first woodpecker to come along would destroy all of civilization.
				- Weinberg's Second Law -



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