GNOME Bugzilla – Bug 733063
examples: gl fxtest example fails to build on win32 with gtk+ 3.0
Last modified: 2014-07-17 10:17:00 UTC
Just now have: make[6]: Entering directory '/c/repo/mingw-w64-gst-plugins-bad/src/build-x86_64-w64-mingw32/tests/examples/gl/gtk/fxtest' CC pixbufdrop-pixbufdrop.o pixbufdrop.c: In function 'on_drag_data_received': pixbufdrop.c:146:51: error: dereferencing pointer to incomplete type g_filename_from_uri ((const gchar *) seldata->data, NULL, NULL); ^ Makefile:825: recipe for target 'pixbufdrop-pixbufdrop.o' failed make[6]: *** [pixbufdrop-pixbufdrop.o] Error 1 make[6]: Leaving directory '/c/repo/mingw-w64-gst-plugins-bad/src/build-x86_64-w64-mingw32/tests/examples/gl/gtk/fxtest' Installed Glib-2.41.1
This error is by using gtk-3 because GtkSelectionData don't have any members: https://developer.gnome.org/gtk3/stable/gtk3-Selections.html#GtkSelectionData
What gtk version are you using exactly?
3.12.2
Created attachment 280927 [details] [review] examples: fix compilation of gl fxtest example on win32 with Gtk+ 3.0 Does this patch help?
Yes it help. I have the same patch locally. Regards, Alexey.
Alright, thanks. Next time, feel free to attach your patch to the bug :) commit 1533fc7e2d0bc904c229083ef415cd8f04b57ee0 Author: Tim-Philipp Müller <tim@centricular.com> Date: Thu Jul 17 10:05:47 2014 +0100 examples: fix compilation of gl fxtest example on win32 with Gtk+ 3.0 https://bugzilla.gnome.org/show_bug.cgi?id=733063