A question about winGTK



Hello:
The first thing is to say that my English is not very good.
I am a new user of winGTK. I think it is quite good, but I have one question: I try to convert a double called j to a string called buf, with the statement:
g_ascii_dtostr(buf,50,j);   (as the gLib 2.0 doc says)
I do it because I want to see the number j in a label, with the statement:
gtk_label_set_text(GTK_LABEL(label), buf);
But when I compile, it says:
callbacks.o(.text+0x13a):callbacks.c: undefined reference to `g_ascii_dtostr'
¿Do you know why doesn?t work?
Maybe I have the gLib 1.2, I don?t know. In that case, ¿how can I put a number in a label?

Thank you very much

Rodolfo Dufo




_________________________________________________________________
Únase al mayor servicio mundial de correo electrónico: http://www.hotmail.com/es




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