<div dir="ltr"><div>Hi Diane,<br><br>The compile error is the HOST_SED issue I mentioned to you. Those strings aren't getting replaced (@X_DEFINITION@) by sed due to changes in the latest NDK. You'll need to use at least <a href="http://gstreamer.freedesktop.org/data/pkg/android/1.5.91/" target="_blank">1.5.91</a>, or apply a patch. <br><br>Here's the bug: <a href="https://bugzilla.gnome.org/show_bug.cgi?id=750162" target="_blank">https://bugzilla.gnome.org/show_bug.cgi?id=750162</a><br><br></div><div>-Brian<br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 21, 2015 at 11:24 AM, Diane Cordero <span dir="ltr"><<a href="mailto:dcordero@sbimagingsystems.com" target="_blank">dcordero@sbimagingsystems.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="#0563C1" vlink="#954F72" lang="EN-US">
<div>
<p class="MsoNormal"><span style="color:#1f4e79">Hi everyone, <u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f4e79"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f4e79">With the release of Android Studio 1.4, there is now NDK support! What is the proper way to add the GStreamer SDK to my project? I am migrating from Eclipse and there seems to be no documentation on this.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f4e79"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f4e79">I am running<u></u><u></u></span></p>
<p><u></u><span style="font-family:Symbol;color:#1f4e79"><span>·<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span style="color:#1f4e79">Ubuntu 14.04<u></u><u></u></span></p>
<p><u></u><span style="font-family:Symbol;color:#1f4e79"><span>·<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span style="color:#1f4e79">Android Studio 1.4<u></u><u></u></span></p>
<p><u></u><span style="font-family:Symbol;color:#1f4e79"><span>·<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span style="color:#1f4e79">GStreamer 1.4.3<u></u><u></u></span></p>
<p><u></u><span style="font-family:Symbol;color:#1f4e79"><span>·<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span style="color:#1f4e79">Gradle 2.5 using experimental build 0.2.0<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f4e79"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f4e79">I’ve tried adding the GSTREAMER_ROOT_ANDROID as an environment variable, no luck. The .c code does not compile. I’ve tried adding Gradle tasks and I get make errors (unsure if related to GStreamer) as well as
GStreamer compilation errors:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f4e79"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#1f4e79">make: -n: Command not found<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#1f4e79">/bin/sh: 0: Illegal option -<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#1f4e79">Streamer : [GEN] => gst-build-armeabi/gstreamer_android.c<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#1f4e79"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#1f4e79">/bin/sh: 1: i: not found<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#1f4e79">make: [genstatic_armeabi] Error 127 (ignored)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#1f4e79">/bin/sh: 1: i: not found<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#1f4e79">make: [genstatic_armeabi] Error 127 (ignored)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#1f4e79">/bin/sh: 1: i: not found<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#1f4e79">make: [genstatic_armeabi] Error 127 (ignored)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#1f4e79">/bin/sh: 1: i: not found<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#1f4e79">make: [genstatic_armeabi] Error 127 (ignored)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#1f4e79"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#1f4e79">GStreamer : [COMPILE] => gst-build-armeabi/gstreamer_android.c<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#1f4e79"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#1f4e79">gst-build-armeabi/gstreamer_android.c:15:2: error: stray '@' in program<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#1f4e79"> @PLUGINS_DECLARATION@<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#1f4e79"> ^<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#1f4e79">gst-build-armeabi/gstreamer_android.c:15:22: error: stray '@' in program<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#1f4e79"> @PLUGINS_DECLARATION@<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#1f4e79"> ^<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#1f4e79">gst-build-armeabi/gstreamer_android.c:18:2: error: stray '@' in program<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#1f4e79"> @G_IO_MODULES_DECLARE@</span><span style="color:#1f4e79"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f4e79"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f4e79">Any guidance is greatly appreciated!<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f4e79"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f4e79">Thanks for your time,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f4e79">Diane<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<br>_______________________________________________<br>
gstreamer-android mailing list<br>
<a href="mailto:gstreamer-android@lists.freedesktop.org" target="_blank">gstreamer-android@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a><br>
<br></blockquote></div><br></div></div>