Re: Building gstreamer for Android on Win 7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


OK,

After looking more closely it appears that cross compiling for Android/Arm is not supported on a Windows system (is my understanding correct?)  I have moved to an Ubuntu 13.04 / Raring system to try to make progress there instead.  I have run into two issues:

1.  When I try to bootstrap with config/cross-android.cbc I get two warnings:
"WARNING:  No bootstrapper for the distro version android_gingerbread"
"WARNING:  No bootstrapper for the distro version ubuntu_raring"

Can I safely ignore these warnings, or should I try to make them go away?

2.  I ran into a problem in recipes/libmad.recipe line 27:
if Architecture.is_arm(self.config.target_arch):

I ran this command:  cerbero-uninstalled -c config/cross-android.cbc package gstreamer-sdk

The error is:  
"WARNING:  Error loading recipe in file /home/user/gstreamer/gstreamer-sdk/cerbero/recipes/libmad.recipe class Architecture has no attribute 'is_arm'

I'm happy to short-circuit this conditional because everything I am doing is for ARM...but is this a clue that I am doing something else wrong?

3.  If I hard-wire around the error in #2 I get this error:

DK can also be cross-compiled to Windows from Linux, but you should only use it for testing purpose. The DirectShow plugins cannot be cross-compiled yet and WiX can't be used with Wine yet, so packages can only be created from Windows.
user@ubuntuvm:~/gstreamer/gstreamer-sdk/cerbero$ cerbero -c config/cross-android.cbc package gstreamer-sdk
Building the following recipes: libiconv gnustl gettext libffi zlib gtk-doc-lite glib libxml2 gstreamer libogg libpng pixman expat freetype bzip2 fontconfig cairo pango libvorbis libtheora libvisual orc tremor gst-plugins-base gst-sdk-shell jpeg speex tiff gdk-pixbuf gmp nettle libtasn1 gnutls glib-networking libsoup taglib wavpack flac libdv gst-plugins-good fribidi libass faad2 libkate libvpx opus schroedinger libdca jasper libmms soundtouch gst-plugins-bad a52dec opencore-amr libdvdread libmpeg2 libmad x264 gst-plugins-ugly gst-android gstreamer-static gst-plugins-base-static gst-plugins-good-static gst-plugins-bad-static gst-plugins-ugly-static glib-networking-static gst-ffmpeg gst-ffmpeg-static gst-editing-services gnonlin gnonlin-static gst-sdk-tutorials
[(1/72) libiconv -> fetch ]
Running command 'git remote add -f origin git://anongit.freedesktop.org/gstreamer/libiconv.git'
fatal: remote origin already exists.
Running command 'git fetch --all'
Fetching origin
fatal: remote error: access denied or repository not exported: /gstreamer/libiconv.git
error: Could not fetch origin
Running command 'git reset --hard origin/sdk-1.14+2012-07-01'
fatal: ambiguous argument 'origin/sdk-1.14+2012-07-01': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
***** Error running 'package' command:
Recipe 'libiconv' failed at the build step 'fetch'


It looks to me (just a guess) like it is trying to fetch /gstreamer/libiconv.git but it should be going for /gstreamer-sdk/libiconv.git  

I figured there might be something wrong with my config files, but I haven't been able to find anything.  

If someone could point me in the right direction I would appreciate it.

-Steve

On Mon, Sep 29, 2014 at 10:42 AM, Stephen Webb <swebb.gstreamer@xxxxxxxxx> wrote:
Hello,

I'm trying to build Gstreamer for Android i.MX6 platform from my Win7 development machine.  I have followed the directions here:


If I understand correctly, I should be running all cerbero commands like this:
cerbero-uninstalled -c config/cross-android.cbc <command>

including the bootstrap command.

When I run:
cerbero-uninstalled -c config/cross-android.cbc bootstrap

I get an error:


When looking on the website in that directory the file doesn't exist.  In fact I can't find anything with "arm" in the name.  

Any help is appreciated.

-Steve
 



_______________________________________________
gstreamer-embedded mailing list
gstreamer-embedded@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded

[Index of Archives]     [Linux Embedded]     [Linux ARM Kernel]     [Linux for ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux Media]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux