Problem with GFile

Posted by sterh on Stack Overflow See other posts from Stack Overflow or by sterh
Published on 2010-05-29T14:37:14Z Indexed on 2010/06/01 7:53 UTC
Read the original article Hit count: 310

Filed under:
|

I have a:

GFile* gf = g_file_new_for_path(file_path);

in my code. But when i try to compile it, I see error:

Undefined reference to: 'g_file_new_for_path'

In include section I have #include <gio/gio.h>

What's wrong in this code?

© Stack Overflow or respective owner

Related posts about glib

Related posts about gio