'Unable to build pipeline: no element "myplugin"' on iOS 7 in Xcode 5
Sebastian Dröge
sebastian at centricular.com
Tue Dec 3 04:27:30 PST 2013
On Di, 2013-12-03 at 04:15 -0800, nicksonsix wrote:
> I added "gstplugin.c" and "gstplugin.h" into the project. I found (based on
> thread:
> http://gstreamer-devel.966125.n4.nabble.com/adding-custom-plugin-for-gstreamer-pipeline-for-android-td4661958.html)
> that I only need to add "gstplugin.h" in "gst_ios_init.m" and call
> "plugin_init(NULL)" after "gst_init (NULL, NULL)" and it should work but it
> doesn't. (I receive warning: "Implicit declaration of function "plugin_init"
> is invalid in C99" and error about "Apple Match-O Linker Error".)
plugin_init() is usually declared static. You need to make it
non-static, and will also have to add a declaration for that function in
the file where you call it to silence the warning.
--
Sebastian Dröge <sebastian at centricular.com>
Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131203/74e708a7/attachment.pgp>
More information about the gstreamer-devel
mailing list