After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 733063 - examples: gl fxtest example fails to build on win32 with gtk+ 3.0
examples: gl fxtest example fails to build on win32 with gtk+ 3.0
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
1.3.3
Other Windows
: Normal normal
: 1.4.0
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-07-11 13:55 UTC by Alexey Pavlov
Modified: 2014-07-17 10:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
examples: fix compilation of gl fxtest example on win32 with Gtk+ 3.0 (1.31 KB, patch)
2014-07-17 09:07 UTC, Tim-Philipp Müller
committed Details | Review

Description Alexey Pavlov 2014-07-11 13:55:37 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
Comment 1 Alexey Pavlov 2014-07-17 08:24:04 UTC
This error is by using gtk-3 because GtkSelectionData don't have any members:

https://developer.gnome.org/gtk3/stable/gtk3-Selections.html#GtkSelectionData
Comment 2 Tim-Philipp Müller 2014-07-17 08:40:58 UTC
What gtk version are you using exactly?
Comment 3 Alexey Pavlov 2014-07-17 08:41:57 UTC
3.12.2
Comment 4 Tim-Philipp Müller 2014-07-17 09:07:34 UTC
Created attachment 280927 [details] [review]
examples: fix compilation of gl fxtest example on win32 with Gtk+ 3.0

Does this patch help?
Comment 5 Alexey Pavlov 2014-07-17 09:09:33 UTC
Yes it help. I have the same patch locally.

Regards,
Alexey.
Comment 6 Tim-Philipp Müller 2014-07-17 09:18:12 UTC
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