Problem with gtk-demo.c compilation

Hello

I would like to have a SDL window ‘included’ in a Gtk widget; this subject
has already been asked here; I’ve tried the gtk-demo.c from the lidsdl doc,
but I have this error at the compilation :

undefined reference to `gtk_accel_group_attach’

I understand that this demo works only with SDL1.3 and not 1.2; however this
demo has been available since a long time, so it it still possible to have
it working with SDL1.3

Anyway I tried to compile gtk-demo.c with both SDL1.2 :

gcc -o test pkg-config gtk+-2.0 --libs --cflags -lSDL gtk-demo.c

and SDL-1.3:

gcc -o test pkg-config gtk+-2.0 --libs --cflags
$(/usr/local/bin/sdl-config --cflags --libs) gtk-demo.c

but I still get the same error

Thank you

Victor–
View this message in context: http://old.nabble.com/problem-with-gtk-demo.c-compilation-tp31392881p31392881.html
Sent from the SDL mailing list archive at Nabble.com.