WINCE cross-compile problems
Posted: 17 May 2005 17:01
I am trying to build WINCE version of VLC using the cross-compiler on a Linux box as suggested in an earlier post.
I have downloaded the latest http://download.videolan.org/pub/testin ... in.tar.bz2 pre-compiled package and the http://www.videolan.org/pub/testing/win ... er.tar.bz2 cross-compiler.
I used
After the execution I got "ffmpeg" errors related to sources and library paths. I started to move the header and lib directories according to the error messages till I managed to build VLC but unfortunately it didn't play correctly. It plays only the audio, or only the video stream at random sometimes reporting "out of memory", cannot delete object", and "failed to create video output" errors. It happened it worked just fine a couple of times. It seems to me the WINCE ffmpeg library posted on videolan is old.
I tried to build ffmpeg myself but there are no WINCE scripts into the source packages.
I hope somebody will update the pre-compiled contribution package and/or provide correct config script(s) for the VLC and all supporting libs for the WINCE platform.
Am I missing something? Please help.
Nik
Toronto, Canada
I have downloaded the latest http://download.videolan.org/pub/testin ... in.tar.bz2 pre-compiled package and the http://www.videolan.org/pub/testing/win ... er.tar.bz2 cross-compiler.
I used
Code: Select all
./bootstrap &&
PATH=/usr/local/wince/cross-tools/bin:$PATH \
CFLAGS="-D__stdcall= -D_OFF_T_ -I/usr/local/wince/cross-tools/include" \
CFLAGS="$CFLAGS -I/usr/local/wince/contrib-xscale/include" \
LDFLAGS="-L/usr/local/wince/cross-tools/lib" \
LDFLAGS="-L/usr/local/wince/contrib-xscale/lib" \
CC="arm-wince-pe-gcc -mcpu=xscale" \
../configure --host=arm-wince-pe --target=arm-wince-pe \
--build=i686-linux --prefix=/usr/local/wince \
--disable-sdl --disable-gtk --disable-dvdnav --disable-dvdread \
--disable-nls --disable-sout --disable-vlm --disable-wxwindows \
--disable-a52 --disable-libmpeg2 --disable-freetype --disable-fribidi \
--disable-mad --disable-plugins \
--with-freetype-config-path=/usr/local/wince-xscale/bin \
--with-fribidi-config-path=/usr/local/wince-xscale/bin \
--enable-tremor --enable-faad
I tried to build ffmpeg myself but there are no WINCE scripts into the source packages.
I hope somebody will update the pre-compiled contribution package and/or provide correct config script(s) for the VLC and all supporting libs for the WINCE platform.
Am I missing something? Please help.
Nik
Toronto, Canada