Gstreamer + Android Studio + x86 and armv7 build

stic at free.fr stic at free.fr
Fri Jan 22 09:52:08 PST 2016


Fantastic ! it works now, you were right I was setting GSTREAMER_ROOT_ANDROID. I set only GSTREAMER_ROOT and it's fine.
Thank you very much Sebastian.

----- Mail original -----
De: "Sebastian Dröge" <sebastian at centricular.com>
À: "Discussions about GStreamer on Android" <gstreamer-android at lists.freedesktop.org>
Envoyé: Vendredi 22 Janvier 2016 18:42:35
Objet: Re: Gstreamer + Android Studio + x86 and armv7 build

On Fr, 2016-01-22 at 18:20 +0100, stic at free.fr wrote:
> Thanks. I already have something very similar with my Android.mk.
> It can compile properly armv7 or x86 separately, but if I try to
> compile both target in the same build it compiles armv7 but then
> fails for x86 with many errors such:
> gstreamer-1.0-android-armv7-1.6.1-release/lib/libgstreamer-
> 1.0.a(libgstreamer_1.0_la-gstpad.o): incompatible target
> 
> It seems it still uses armv7 libs... :/

You have to set GSTREAMER_ROOT_ARM, GSTREAMER_ROOT_X86, etc and must
not set GSTREAMER_ROOT or GSTREAMER_ROOT_ANDROID. Then it should work
(and does here).

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com


_______________________________________________
gstreamer-android mailing list
gstreamer-android at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-android


More information about the gstreamer-android mailing list