GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Mon Nov 24, 2014 2:53 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: g_file_set_contents undefined
PostPosted: Sun Dec 09, 2007 1:51 pm 
Offline

Joined: Sun Dec 09, 2007 1:46 pm
Posts: 2
when I compiled my program, I got the message "undefined reference to g_file_set_contents".

When I used g_file_get_contents there was no error.. What could be the problem??

Thank you..


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 09, 2007 6:53 pm 
Offline
Never Seen the Sunlight

Joined: Wed Sep 21, 2005 3:07 am
Posts: 384
Location: Fairfax, Virginia
What version of GTK+ are you using? This function was introduced in 2.8. Also, make sure you have included #include <glib/gstdio.h>.

_________________
Andrew Krause

Foundations of GTK+ Development: Buy now for only $31.49!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google Adsense [Bot], Yahoo [Bot] and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group