[FFmpeg-user] using ffmpeg in android

Víctor Paesa victorpaesa at googlemail.com
Mon Sep 26 20:02:14 CEST 2011


Hi,

On Mon, Sep 26, 2011 at 09:29, swathi wrote:
> can you please tell me, how did you succeed in generating .so files? Even i
> am working on it, but facing lot of issues in compiling. I am using windows,
> with cygwin-1.7.9 and i downloaded ffmpeg-android from the link:
>
> http://bambuser.com/opensource
>
> Please find the attached build script and config.log, containing error
> description.
> http://ffmpeg-users.933282.n4.nabble.com/file/n3842948/config.log config.log


The last line in config.log offers some hint:
./configure: line 572: arm-linux-androideabi-gcc: command not found

So your gcc is not where you specified in your configure line:
./configure --target-os=linux --cross-prefix=arm-linux-androideabi- \
 --arch=arm --sysroot='e:/Android-NDK/android-ndk/platforms/android-8/arch-arm'
\
 --soname-prefix=/data/data/com.bambuser.broadcaster/lib/ --enable-shared \
 --disable-symver --enable-small --optimization-flags=-O2 --disable-everything \
 --enable-encoder=mpeg2video --enable-encoder=nellymoser
 --prefix=../build/ffmpeg/armeabi --extra-cflags= --extra-ldflags=

Please avoid DOS style paths in Cygwin, i.e. try /cygdrive/e/
instead of e:/

Regards,
Víctor


More information about the ffmpeg-user mailing list