braincorp / gstreamer_ios_tutorial

Working demo app for Gstreamer 1.2.3 and iOS 7.1
MIT License
14 stars 5 forks source link

#1 gst_ios_init() errors/warnings #1

Open john-michaelburke91 opened 10 years ago

john-michaelburke91 commented 10 years ago

if defined(GST_IOS_GIO_MODULE_GNUTLS)

include <gio/gio.h>

G_IO_MODULE_DECLARE(gnutls);

endif

Xcode is complaining about G_IO_MODULE_DECLARE(gnutls); with these errors/warnings.. ERRORS:: ../deinonychus/gst_ios_init.m:453:3: Type specifier missing, defaults to 'int' ../deinonychus/gst_ios_init.m:453:23: A parameter list without types is only allowed in a function definition

and I believe this other issue is directly related...

if defined(GST_IOS_GIO_MODULE_GNUTLS)

G_IO_MODULE_LOAD(gnutls);

endif

For the line G_IO_MODULE_LOAD(gnutls) ERRORS:: ../deinonychus/gst_ios_init.m:935:3: Implicit declaration of function 'G_IO_MODULE_LOAD' is invalid in C99 ../deinonychus/gst_ios_init.m:935:20: Use of undeclared identifier 'gnutls'

This might be an issue on my end but any clarification would be great

BurningBird commented 9 years ago

worked fine before, but start seeing the same issue with the new ios 1.4.5 sdk, any update on this issue?

jholster commented 9 years ago

Got the same errors with XCode 7.0.1 & gstreamer-1.0-devel-1.6.0-ios-universal.pkg.

will-districtnerds commented 8 years ago

Any idea why?

jholster commented 8 years ago

No idea, but got this tutorial running on iOS simulator:

http://cgit.freedesktop.org/~slomo/gst-sdk-tutorials/

I compiled the gstreamer iOS package from sources:

http://cgit.freedesktop.org/gstreamer/cerbero/

It took a while to figure out all the steps as beginner iOS developer, I should write a blog post or something.