GNOME Bugzilla – Bug 401051
Fails to build with gst-plugins-base < 0.10.11
Last modified: 2007-01-30 14:11:20 UTC
Hi, The pre-release of gst-python fails to build with: ./interfaces.override:37:45: error: gst/interfaces/videoorientation.h: No such file or directory This seems to be a file added with gst-plugins-base 0.10.11. Bye,
Thanks for reporting the issue. It's now fixed and a pre-release is coming out now. 2007-01-29 Edward Hervey <edward@fluendo.com> * configure.ac: Check for availability of video-orientation interface * gst/gst.override: don't forget to increment the refcount of Py_None before returning it. * gst/interfaces.override: If video-orientation interface isn't available, don't include the header. Fixes #401051
This doesn't seem to fix it. If you don't have the header, not including it is not sufficient, you ALSO need to not use the things that the header defines. I get (building against in older gstreamer): interfaces.c: In function '_wrap_gst_video_orientation_set_hflip': interfaces.c:2853: warning: implicit declaration of function 'gst_video_orientation_set_hflip' interfaces.c:2853: warning: implicit declaration of function 'GST_VIDEO_ORIENTATION' interfaces.c: In function '_wrap_gst_video_orientation_set_vflip': interfaces.c:2868: warning: implicit declaration of function 'gst_video_orientation_set_vflip' interfaces.c: In function '_wrap_gst_video_orientation_set_hcenter': interfaces.c:2883: warning: implicit declaration of function 'gst_video_orientation_set_hcenter' interfaces.c: In function '_wrap_gst_video_orientation_set_vcenter': interfaces.c:2898: warning: implicit declaration of function 'gst_video_orientation_set_vcenter' interfaces.c: In function 'pyinterfaces_register_classes': interfaces.c:3043: error: 'GST_TYPE_VIDEO_ORIENTATION' undeclared (first use in this function) interfaces.c:3043: error: (Each undeclared identifier is reported only once interfaces.c:3043: error: for each function it appears in.) make[3]: *** [interfaces_la-interfaces.lo] Error 1
fixed for good, confirmed by Mike