[vlc-devel] vlc port to android

Kaarlo Räihä kaarlo.raiha at gmail.com
Fri Aug 20 14:46:29 CEST 2010


2010/8/20 xxcv <xxcv07 at gmail.com>

> On 20/08/2010 5:38 PM, 张智强 wrote:
> > hi,
> > is there anyone who have ported vlc to android?
>

Antoine Cellerier said that he is working with Android port
http://mailman.videolan.org/pipermail/vlc-devel/2010-March/074117.html


> > i have setup android ndk successfully and can build ffmpeg by android
> > ndk, but when i port vlc to android,i met a problem.
> > here is the congif.sh :
> >
> --------------------------------------------------------------------------
> > PATH=/usr/win32/bin:$PATH \
> > PKG_CONFIG_LIBDIR=/usr/win32/lib/pkgconfig \
> > CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
> > LDFLAGS=-L/usr/win32/lib \
> >
> CC=E:\\Android\\AndroidTraining\\android-ndk-r4b\\build\\prebuilt\\windows\\arm-eabi-4.4.0\\bin\\arm-eabi-gcc
> > \
> > ./configure \
> > --host=arm-linux \
> > --enable-nls --enable-sdl \
> > --enable-avcodec --enable-avformat --enable-swscale \
> > --enable-faad --enable-flac --enable-theora \
> > --enable-freetype \
> > --enable-fribidi \
> > --disable-fluidsynth \
> > --enable-live555 --with-live555-tree=/usr/win32/live.com \
> > --enable-caca \
> > --with-dvdnav-config-path=/usr/win32/bin \
> > --disable-vcdx --enable-goom \
> > --enable-twolame --enable-dvdread \
> > --enable-debug --enable-dca \
> > --disable-mkv --disable-taglib --disable-projectm \
> > --disable-zvbi --disable-schroedinger --disable-dirac \
> > --enable-mozilla --with-mozilla-sdk-path=/usr/win32/gecko-sdk
> >
> ---------------------------------------------------------------------------------
> > under cygwin, run ./config.sh, got :
> > $ ./config1.sh
> > configure: WARNING: if you wanted to set the --build type, don't use
> --host.
> > If a cross compiler is detected then cross compile mode will be used
> > checking build system type... i686-pc-cygwin
> > checking host system type... arm-unknown-linux-gnu
> > checking for a BSD-compatible install... /usr/bin/install -c
> > checking whether build environment is sane... yes
> > checking for arm-linux-strip... no
> > checking for strip... strip
> > checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
> > checking for gawk... gawk
> > checking whether make sets $(MAKE)... yes
> > checking how to create a ustar tar archive... gnutar
> > checking whether to enable maintainer-specific portions of Makefiles...
> yes
> > checking for style of include used by make... GNU
> > checking for arm-linux-gcc...
> > E:\Android\AndroidTraining\android-ndk-r4b\build\p
> > rebuilt\windows\arm-eabi-4.4.0\bin\arm-eabi-gcc
> > *checking whether the C compiler works... no*
> > *configure: error: in
> `/cygdrive/f/workspace2/Android_vlc/jni/vlc-1.1.3':*
> > *configure: error: C compiler cannot create executables*
> > See `config.log' for more details
> Can you post the config.log or you can start investigating from that
> file, as there may very well be incorrect compiler flags or missing bits
> or maybe it picked up the wrong compiler.
> I see you have some win32 references up there in your paste in the
> environment flags, seems like its gone wrong from there.
> > help ,thanks.
>
> it will be hard.
>
>
>
> --
> My VLC, My Way, My Style~
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100820/f27e0605/attachment.html>


More information about the vlc-devel mailing list