Page 1 of 1

Compiling VLC for Android on Mac OS X

Posted: 13 Oct 2012 00:06
by Chigurh
Hi. I have tried to compile VLC following this guide http://wiki.videolan.org/AndroidCompile and http://www.doitscared.com/649/compile-v ... w-leopard/.

The problem with the latter one is that i should "Configure 3rd party modules for android compilation" by cd into "vlc-android/extras/contrib" but that path dosen't exists. Instead i tried to follow the guide for Linux (http://wiki.videolan.org/AndroidCompile). And i have set ANDROID_SDK, ANDROID_NDK and also ANDROID_ABI to armeabi and NO_FPU to 1.

I have installed apache-ant (or ant), autoconf, automake, autopoint, libtool, awk, gcc, g++, pkg-config, cmake, patch, subversion with MacPorts.

When i try to compile i get this error:

Code: Select all

checking host system type... Invalid configuration `arm-linux-androideabi': system `androideabi' not recognized configure: error: /bin/sh autotools/config.sub arm-linux-androideabi failed make: *** [.a52] Error 1
Does anyone know how to compile on mac?

Thanks in advance.

I have a Macbook Pro with Mac OS X v 10.7.4.

Re: Compiling VLC for Android on Mac OS X

Posted: 13 Oct 2012 01:33
by edwardw
http://wiki.videolan.org/AndroidCompile clearly states that you must be on Linux. Mac is not a supported configuration for compiling VLC for Android. But you could update your system's config.guess.

Re: Compiling VLC for Android on Mac OS X

Posted: 13 Oct 2012 10:43
by Chigurh
Hi edwardw, thank you for your reply.

I know that it states that i have to be on linux, but i gave it shoot and tried anyways. ;) I will try to update config.guess.