]> git.sesse.net Git - vlc/blob - INSTALL-win32.txt
* Added a make uninstall rule.
[vlc] / INSTALL-win32.txt
1 INSTALL file for the Windows9x/2k version of vlc, the VideoLAN Client
2
3 Running VideoLAN
4 ================
5
6 If you have already built vlc (see below) or are using a binary release,
7 just run 'vlc.exe'.
8
9 You can also run vlc from a dos command box, in which case you'll be able
10 to use the command line arguments. You can obtain a list of these command
11 line arguments by typing 'vlc --help'.
12 It is also sometimes useful to display vlc's debug console. You can do so
13 by running 'vlc -v'.
14 To store a debug log of the current vlc session, you can use
15 'vlc -vvv --stdout=debug.txt'.
16
17 If you want to play a DVD, run vlc and click on the Disc option in the
18 interface. You then have to type your drive letter in the 'Device name'
19 box (eg. 'D:' if your dvdrom drive is assigned the letter 'D').
20 (Warning: you have to be in administrator mode (for now) on Win2k)
21
22
23 Building VideoLAN from source code
24 ==================================
25
26 If you want to do the tricky job of building vlc from source, follow
27 these instructions:
28 ( WARNING: the win32 build process is not yet really stable, so you may have
29   to hack manually the MAKEFILES )
30
31 Getting the right tools
32 =======================
33
34 You can build the win32 vlc port in two ways:
35 - natively on Windows
36 - or on Linux, using cross-compiling
37
38 All these tools can be found on the libSDL web page:
39 http://www.libsdl.org/Xmingw32/
40
41 Configuring VideoLAN
42 ====================
43
44 A typical way to configure vlc is:
45
46    ./configure --disable-x11 --disable-xvideo --disable-dsp --without-sdl \
47       --with-directx=/usr/local/cross-compile/i386-mingw32msvc
48
49 See `./configure --help' for more information.
50
51 To cross-compile for the Win32 platform using mingw32:
52
53    make distclean ; CC=i586-mingw32msvc-gcc CFLAGS=-I/usr/i586-mingw32msvc \
54      RANLIB=i586-mingw32msvc-ranlib WINDRES=i586-mingw32msvc-windres \
55      ./configure --host=i386-mingw32msvc \
56      --target=i386-mingw32msvc --build=i386-linux --disable-dsp \
57      --disable-x11 --disable-xvideo
58
59
60 Building VideoLAN
61 =================
62
63 Have a look at the generated Makefile.opts file, you may want to choose
64 which modules will be compiled as plugins, and which ones will remain in
65 the core application. The configure script tries to guess for you.
66
67 Once configured, run `make' to build vlc.
68
69
70
71
72
73
74
75