[vlc-devel] NT4.0 win32 Binary - success!
Matthew Fullerton
matt at vision.eri.harvard.edu
Sat Aug 21 03:22:08 CEST 2004
I had not been able to get a copy of 0.7.2 VLC running nicely on NT4. NT4
has issues with directX, and as I read from this list, the solution would
appear to be SDL. I had good video output using wingdi, but the auido was
messy on all formats. After spending a *very* long time attempting to get
cygwin to do the compilation, with the result being a file that dumps the
core and exits, I turned to the cross-compilation route. This has been
successful and for the first time I can use VLC 0.7.2 to watch video without
choppy audio, using SDL video and audio output. Both SDL and VLC were
configured to disable DirectX. I realise this binary has limited application
(win95/NT4?) but if it would be helpful it could perhaps be hosted
somewhere?
Rough record of how it was done is below, probably more for future reference
if anyone is searching the archive.
thanks
matt
--
Following http://www.libsdl.org/extras/win32/cross/README.txt,
using
options --libdir=/usr/win32/lib --includedir=/usr/win32/include --disable-di
rectx
(Should have probably used bindir to so as to have a nice path for
sdl-config)
I didn't use the ready-made mingw32 package as this is designed for using
DirectX, so I built completely from source)
Following http://developers.videolan.org/vlc/vlc/INSTALL.win32,
incl. Modifications to do SDL and disable DirectX,
./bootstrap && \
PATH=/usr/local/mingw/bin:$PATH \
CPPFLAGS=-I/usr/win32/include \
LDFLAGS=-L/usr/win32/lib \
CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ \
./configure --host=i586-mingw32msvc --build=i386-linux \
--enable-sdl --disable-gtk --disable-directx \
--enable-nls \
--enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
--enable-faad --enable-flac --enable-theora \
--with-wx-config-path=/usr/win32/bin \
--with-freetype-config-path=/usr/win32/bin \
--with-fribidi-config-path=/usr/win32/bin \
--enable-livedotcom --with-livedotcom-tree=/usr/win32/live.com \
--enable-caca --with-caca-config-path=/usr/win32/bin \
--with-xml2-config-path=/usr/win32/bin \
--with-dvdnav-config-path=/usr/win32/bin \
--disable-cddax --disable-vcdx --enable-goom \
--enable-debug \
--with-sdl-config-path=/usr/local/cross-tools/i386-mingw32msvc/bin \
--with-sdl-prefix=/usr/win32/lib
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the vlc-devel
mailing list