Re: How to compile tictactoe widget example in tutorial

On 07/02/2010 14:30, Tor Lillqvist wrote:
You need to compile and link *both* the .c files into *one*
Thanks, I think ... these concepts are not well introduced in the tutorial.

gcc -Wall -g  `pkg-config --cflags gtk+-2.0` tictactoe.c
test_tictactoe.c -o ttt `pkg-config --libs gtk+-2.0`
Magic, that worked. So noted.


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