gtk symbol lookup error

Posted by sterh on Stack Overflow See other posts from Stack Overflow or by sterh
Published on 2010-05-30T12:12:58Z Indexed on 2010/05/30 12:22 UTC
Read the original article Hit count: 281

Filed under:

Hello,

I have a code for loading data:

GFileInputStream* ins;
GFile* gf = g_file_new_for_path(file_path);
ins = g_file_read(gf, NULL, NULL);

mw->pix = gdk_pixbuf_new_from_stream(G_INPUT_STREAM(ins), NULL, NULL);
gtk_image_view_set_pixbuf (GTK_IMAGE_VIEW (mw->view), mw->pix, TRUE);
g_input_stream_close(G_INPUT_STREAM(ins), NULL, NULL);

When i try to run app i see error: symbol lookup error: undefined symbol: gdk_pixbuf_new_from_stream

What's wrong?

Thank you

© Stack Overflow or respective owner

Related posts about gtk