Commit 3a0e5d28 authored by Gildas Bazin's avatar Gildas Bazin

* INSTALL.win32: finally updated the instructions on how to build vlc for win32 :)
* install-win32, Makefile.am: updates for the win32 package.
* NEWS: added a few missing things.
parent bc0d451c
$Id: INSTALL.win32,v 1.13 2003/02/02 04:01:29 sam Exp $
$Id: INSTALL.win32,v 1.14 2003/05/17 23:57:35 gbazin Exp $
INSTALL file for the Windows9x/2k/XP version of the VLC media player
INSTALL file for the Windows9x/Me/NT4/2k/XP version of the VLC media player
Running VLC
......@@ -11,165 +11,166 @@ just run 'vlc.exe'.
You can also run VLC from a dos command box, in which case you'll be able
to use the command line arguments. You can obtain a list of these command
line arguments by typing 'vlc --help'.
line arguments by typing 'vlc --help' or 'vlc --help --advanced'.
To store a debug log of the current VLC session, you can use
'vlc -vvvvv --intf=logger nameofyourvideofile', but this will unfortunatly
disable the GUI. You will end-up with a vlc.log file in your current directory.
'vlc -vv --extraintf=logger'. You will end-up with a vlc-log.txt file in
your current directory.
If you want to play a DVD, run VLC and click on the Disc option in the
interface. You then have to type your drive letter followed by a colon in
the 'Device name' box (eg. 'D:' if this is the letter for your dvdrom drive).
Additional documentation is available at http://www.videolan.org/doc/
Building VLC from the source code
=================================
If you want to do the tricky job of building VLC from sources, you can do it
in several ways:
If you want to build VLC from sources, you can do it in several ways:
- natively on Windows, using cygwin (www.cygwin.com) with or without the
unix emulation layer. This is the prefered way to compile vlc if you want
to do it on Windows.
- natively on Windows, using MSYS+MINGW (www.mingw.org)
(MSYS is a minimal build environnement to compile unixish projects under
windoze. It provides all the common unix tools like sh, gmake...)
windoze. It provides all the common unix tools like sh, gmake...)
Please note that there is currenlty a bug in MSYS which requires you to
edit the acgeneral.m4 file and replace the value of ac_max_sed_lines to
something higher, for instance 976.
- natively on Windows, using cygwin (www.cygwin.com) with or without the
unix emulation layer.
- natively on Windows, using Microsoft Visual C++. Even though we provide some
msvc project files with vlc, this method is advised only if you just want to
experiment/play with some basic functionnalities in vlc. The reason for this
is that vlc depends on a lot of 3rd party libraries and building them in
MSVC is not convenient and sometimes even impossible.
- or on Linux, using the mingw32 cross-compiler
- or on Linux, using the mingw32 cross-compiler.
Getting the right tools
=======================
Getting the right compiler tools
================================
- cross-compiling with mingw32:
All the necessary tools you need can be found on the videolan web site:
http://www.videolan.org/vlc/windows.html
You first need to download a linux cross-compiler version of mingw32.
(for Debian GNU/Linux users, there is a mingw32 package)
(for Debian GNU/Linux users, you can use the mingw32, mingw32-binutils and
mingw32-runtime packages)
You must also not forget to install the extra development packages if you want
to build the DirectX, GTK and SDL plugins.
- compiling natively on Windoze with cygwin:
You will need to download and run the setup.exe app from cygwin's web site
(www.cygwin.com). You will also need to make sure you install at least the
gcc-mingw, mingw-runtime and w32api packages.
- compiling natively on Windoze with MSYS+MINGW:
You will need to download and install the latest MSYS (version 1.0.7 as
of now) and MINGW.
You will need to download and install the latest MSYS, MSYS-DTK and MINGW.
The installation is really easy. Begin with the MSYS auto-installer and once
this is done, extract MINGW into c:\msys\1.0\mingw. You also have to remember
to remove the make utility included with MINGW as it conflicts with the one
from MSYS (just rename or remove c:\msys\1.0\mingw\bin\make.exe).
http://www.mingw.org/download.shtml
http://prdownloads.sourceforge.net/mingw/MSYS-1.0.7-i686-2.exe
http://prdownloads.sourceforge.net/mingw/MinGW-1.1.tar.gz
http://prdownloads.sf.net/mingw/MSYS-1.0.9-2003.14.18-1.exe
http://prdownloads.sf.net/mingw/MinGW-2.0.0-3.exe
http://prdownloads.sf.net/mingw/msysDTK-1.0.1.exe
You must also not forget to install the extra development packages if you want
to build the DirectX, GTK and SDL plugins.
(http://www.videolan.org/vlc/windows.html)
Getting the additionnal libraries
=================================
- compiling natively on Windoze with cygwin:
You will need to download and run the setup.exe app from cygwin's web site
(www.cygwin.com).
I'm personnaly running the experimental distribution (and gcc-3.2) with the
exception of the autoconf tool for which I'm using the autoconf-devel-2.52-4
package (I had problems with 2.53a-1). You will need to make sure you install
at least the gcc-mingw, mingw-runtime and w32api packages.
NOTE: by default, the GTK package is configured to be installed in
/usr/local/gtk-win32, if you want to change this path, then you need to edit
the gtk-win32/bin/gtk-config file and change "gtk_dir=" accordingly.
The same is true for the SDL package, it is installed in
/usr/local/SDL-1.2.3-win32 by default and you need to change "prefix=" in
SDL-1.2.3-win32/i386-mingw32msvc/bin/sdl-config if you plan to extract the
archive in a different directory.
VLC depends on other libraries to provide some features like ac3 audio decoding
or mpeg4 video decoding, etc...
- compiling natively on Windoze with cygwin:
You will need to download and install cygwin (www.cygwin.com).
Depending on your needs you will have to compile/install some or all of these
external libraries.
You must also not forget to install the extra development packages if you want
to build the DirectX, GTK and SDL plugins.
(http://www.videolan.org/vlc/windows.html)
They can be found here (source code):
http://www.videolan.org/pub/testing/contrib/
I also provide a package with all the libraries already compiled so it is
actually really easy to compile a full-featured version of vlc (these compiled
libraries will only work with mingw or cygwin):
http://www.videolan.org/pub/testing/win32/contrib-20030420-win32-bin.tar.bz2
All you need to do is extract it in your root directory (the include files
and libraries will be put in /usr/win32)
A complete list of the libraries on which we depend can be found here:
http://developers.videolan.org/vlc/
Configuring the build
=====================
The best way to configure the build process of VLC is to use the
`./configure' script.
Once you've got all the files you need in place, you need to configure the
build with the `./configure' script.
See `./configure --help' for more information.
I'll assume that you are using the pre-compiled 3rd party libraries I'm
providing and that they are in /usr/win32.
If you are cross-compiling from Debian, you can use something
along those lines:
./bootstrap; \
./bootstrap && \
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 \
--with-gtk-config-path=/usr/local/gtk-win32/bin \
--with-sdl-config-path=/usr/local/SDL-1.2.3-win32/i386-mingw32msvc/bin \
--with-directx=/usr/local/dxheaders \
--with-dvdcss-tree=../libdvdcss-win
If you are cross-compiling using the mingw32 package provided by
www.videolan.org, you have to use something along those lines:
./bootstrap; \
CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ \
PATH=/usr/local/cross-tools/bin:$PATH \
./configure --host=i586-mingw32msvc --build=i386-linux \
--with-gtk-config-path=/usr/local/gtk-win32/bin \
--with-sdl-config-path=/usr/local/SDL-1.2.3-win32/i386-mingw32msvc/bin \
--with-directx=/usr/local/dxheaders \
--with-dvdcss-tree=../libdvdcss-win
If you are compiling natively on Windoze, then you can use something
along those lines:
./bootstrap; \
./configure \
--with-gtk-config-path=/c/dev/gtk-win32/bin \
--with-sdl-config-path=/c/dev/SDL-1.2.3-win32/i386-mingw32msvc/bin \
--with-directx=/c/dev/dxheaders \
--with-dvdcss-tree=../libdvdcss-win
--disable-sdl --disable-gtk \
--with-included-gettext --enable-nls \
--enable-mad \
--enable-ffmpeg \
--enable-dvdread --enable-dvdplay \
--enable-faad \
--enable-flac \
--enable-theora \
--with-wx-config-path=/usr/win32/bin \
--with-skins-wx-config-path=/usr/win32/bin \
--with-freetype-config-path=/usr/win32/bin \
--enable-debug
If you are using cygwin, you can build VLC with or without the unix emulation
layer (without is usually better). To build without the emulaion layer, use
something like this:
./bootstrap; \
./bootstrap && \
CPPFLAGS=-I/usr/win32/include LDFLAGS=-L/usr/win32/lib \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
./configure \
--with-gtk-config-path=/cygdrive/c/dev/gtk-win32/bin \
--with-sdl-config-path=/cygdrive/c/dev/SDL-1.2.3-win32/i386-mingw32msvc/bin \
--with-directx=/cygdrive/c/dev/dxheaders \
--with-dvdcss-tree=../libdvdcss-win
--disable-sdl --disable-gtk \
--with-included-gettext --enable-nls \
--enable-mad \
--enable-ffmpeg \
--enable-dvdread --enable-dvdplay \
--enable-faad \
--enable-flac \
--enable-theora \
--with-wx-config-path=/usr/win32/bin \
--with-skins-wx-config-path=/usr/win32/bin \
--with-freetype-config-path=/usr/win32/bin \
--enable-debug
If you want to use the emulation layer, then just omit the CC="gcc -mno-cygwin"
CXX="g++ -mno-cygwin" line.
Note: when using the --with-dvdcss-tree you need to compile the libdvdcss tree
beforehand.
Building VLC
============
Have a look at the generated Makefile.opts file, you may want to choose
which modules will be compiled as plugins, and which ones will remain in
the core application. The configure script tries to guess for you.
Once configured, to build VLC you have to:
If you are cross-compiling from Debian or compiling natively on Windoze,
then just run `make'.
If you are cross-compiling using the mingw32 package provided by
www.videolan.org, run `PATH=/usr/local/cross-tools/bin:$PATH make'.
Building Win32 interface with bcc32 (Borland's compiler)
========================================================
(This stage is only necessary if you want to use the Win32 native interface.
If you are happy with the GTK interface, then you can skip this section)
If you are compiling with MSYS/MINGW, then you can use something along those
lines:
./bootstrap && \
CPPFLAGS=-I/usr/win32/include LDFLAGS=-L/usr/win32/lib \
./configure \
--disable-sdl --disable-gtk \
--with-included-gettext --enable-nls \
--enable-mad \
--enable-ffmpeg \
--enable-dvdread --enable-dvdplay \
--enable-faad \
--enable-flac \
--enable-theora \
--with-wx-config-path=/usr/win32/bin \
--with-skins-wx-config-path=/usr/win32/bin \
--with-freetype-config-path=/usr/win32/bin \
--enable-debug
1) Install Borland C++ Builder, you will need bpr2mak and make.
See `./configure --help' for more information.
2) Make sure you have the bpr2mak and bcmake (NOT make!) commands in $PATH,
they can be symlinks to the Borland bpr2mak and make utilities, or wrappers
that call them through Wine if you are cross-compiling from Linux.
Actually Compiling the VLC source
=================================
3) Configure VLC as usual with the --enable-intfwin flag and build it.
Once configured, to build VLC, just run `make'.
Well done, now you're ready to use VLC!
=======================================
......@@ -575,8 +575,8 @@ package-win32:
cp $$i tmp/skins/ || true ; \
done
cd doc/faq ; $(MAKE) html ; cd ../.. ;
cp doc/faq/index.html tmp/FAQ.htm ;
$(MAKE) -C doc/faq html ;
cp doc/faq/faq.html tmp/FAQ.htm ;
# Create package
wine ~/.wine/fake_windows/Program\ Files/NSIS/makensis.exe -- /DVERSION=${VERSION} tmp/nsi
......
$Id: NEWS,v 1.40 2003/05/15 02:02:13 hartman Exp $
$Id: NEWS,v 1.41 2003/05/17 23:57:35 gbazin Exp $
Changes between 0.5.3 and 0.6.0:
---------------------------------
Core Support:
* Channel Server support was removed
* Channel Server support was removed (was deprecated)
Input access:
* fixed a big bug in ftp and http access that prevented many platforms (OSX most prominently) to view ftp and http streams.
* fixed large file support on Windows
* Video 4 Linux support
* CD Digital Audio support
Input demux:
* Better detection of AAC and mp3 files
......@@ -23,15 +24,17 @@ Codecs:
* If ffmpeg cannot keep up, skip and try to recover instead of stopping altogether
Interfaces:
* The wxWindows interface is now Unicode safe
* New http interface
* The wxWindows interface is now fully useable as well as Unicode safe
* New HTTP remote control interface
Stream output:
*
* New stream output scheme. It is now possible to build a chain of stream outputs allowing for instance to stream and display some content at the same time.
* The stream output now allows to transcode content on the fly.
Miscellaneous:
* New reset all option for preferences
* New reset option for the preferences
* You can set your language in the prefences
* New video chroma conversion module using ffmpeg
UNIX ports:
*
......@@ -51,6 +54,10 @@ Mac OS X port:
Win32 port:
* the wxWindows interface is now the default interface
* The keyboard shortcuts are now identical to the linux version
* Fixed the "no sound" problem on NT4
* Improved skinnable interface (it now uses the wxWindows interface dialogs).
* Added support for compressed skins files (.vlt files)
BeOS port:
* Interface localization
......
......@@ -67,11 +67,12 @@ Section "Install"
File /r skins
CreateDirectory "$SMPROGRAMS\VideoLAN"
CreateShortCut "$SMPROGRAMS\VideoLAN\vlc.lnk" "$INSTDIR\vlc.exe"
CreateShortCut "$SMPROGRAMS\VideoLAN\vlc (wxwindows).lnk" \
CreateShortCut "$SMPROGRAMS\VideoLAN\vlc.lnk" \
"$INSTDIR\vlc.exe" "--intf wxwin"
CreateShortCut "$SMPROGRAMS\VideoLAN\vlc (skins).lnk" \
"$INSTDIR\vlc.exe" "--intf skins"
CreateShortCut "$SMPROGRAMS\VideoLAN\vlc (custom).lnk" \
"$INSTDIR\vlc.exe"
CreateShortCut "$SMPROGRAMS\VideoLAN\FAQ.lnk" "$INSTDIR\FAQ.htm"
WriteRegStr HKLM \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment