Adding extra dependencies in cerbero for android target

sazzadur rahman sazzad1009 at yahoo.com
Tue Jun 17 17:19:09 PDT 2014


Thanks Sebastian for the help!

Today I compiled GStreamer SDK for Android successfully with the cerbero you suggested:
http://cgit.freedesktop.org/gstreamer/cerbero/ 
#cerbero -c config/cross-android.cbc bootstrap
#cerbero -c config/cross-android.cbc package gstreamer-1.0

Then I cloned the ported turorials for 1.x from here:
http://cgit.freedesktop.org/~slomo/gst-sdk-tutorials/ 

However, android-tutorial-2 and 3 fails with the following output:

#ndk-build
GStreamer      : [GEN] => gst-build-armeabi/gstreamer_android.c
GStreamer      : [COMPILE] => gst-build-armeabi/gstreamer_android.c
GStreamer      : [LINK] => gst-build-armeabi/libgstreamer_android.so
arm-linux-androideabi-gcc: error: gstreamer_sdk/lib/libharfbuzz.a: No such file or directory
make: *** [buildsharedlibrary_armeabi] Error 1

I found that cerbero generated libharfbuzz.la and .so but not .a and ndk-build was looking for .a file. Do you have any idea how to resolve this issue?

Please let me know if you have any further questions.
Thanks,
sazzad


On Monday, June 16, 2014 10:58 PM, Sebastian Dröge <sebastian at centricular.com> wrote:
 


On Fr, 2014-06-13 at 12:04 -0700, sazzadur rahman wrote:

> Hi,
> 
> I've compiled GStreamer SDK from source using cerbero (cerbero -c config/cross-android.cbc package gstreamer-sdk). After successful compilation, it generated the  SDK (gstreamer-sdk-android-arm-2013.6.tar.bz2). However, android-tutorial-3 compilation fails since this SDK does not have gstreamer-interfaces dependency (#GSTREAMER_EXTRA_DEPS  := gstreamer-interfaces-0.10 gstreamer-video-0.10 in Android.mk); although the standard SDK from http://cdn.gstreamer.com/android/arm/gstreamer-sdk-android-arm-debug-2013.6.tar.bz2 has these dependencies. 
> 
> How can I add these extra dependencies to cerbero so that they would be part of the compiled SDK?

First of all you should ideally use the GStreamer 1.x binaries from
gstreamer.freedesktop.org. gstreamer.com is a third party website not
related to the GStreamer project and they provide binaries for the old
and unsupported 0.10 version.
You can get cerbero for 1.x at:
http://cgit.freedesktop.org/gstreamer/cerbero/

You can find the same tutorials ported to the 1.x versions of GStreamer
here: http://cgit.freedesktop.org/~slomo/gst-sdk-tutorials/

For the gstreamer-interfaces problem, what you described there should
just work. How does it fail for you, what's the build output?

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
_______________________________________________
gstreamer-android mailing list
gstreamer-android at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20140617/438e1f1d/attachment.html>


More information about the gstreamer-android mailing list