From gtk-app-devel Fri Jun 01 08:20:32 2018 From: Emmanuele Bassi Date: Fri, 01 Jun 2018 08:20:32 +0000 To: gtk-app-devel Subject: Re: Undefined reference to g_file_load_bytes() Message-Id: X-MARC-Message: https://marc.info/?l=gtk-app-devel&m=152784124219479 Hi; g_file_load_bytes() is available since GLib 2.56: https://developer.gnome.org/gio/stable/GFile.html#g-file-load-bytes so you'll need to make sure that the version of GLib provided by MSYS2 is new enough if you want to use that method. Ciao, Emmanuele. On 1 June 2018 at 01:21, PC Buddies wrote: > During my application programming, I had to use the GIO function > g_file_load_bytes(). > > I have my GTK+ installation installed from MSYS (the new method) > so I obviously have GIO. I previously even used g_file_load_contents() > without problems, but now, it weirdly doesn't find definition for > `g_file_load_bytes()` in the libraries.. > > I checked the headers and not surprisingly I could not find declarations > for this function either. I have had similar problem with other glib > functions before too, most of the functions from the man page work, but > some not. > > What should I do? > _______________________________________________ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > -- https://www.bassi.io [@] ebassi [@gmail.com] _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list