Changeset 3a0e5d284f8acec11ef14f45c1a45cbc28be14c3
- Timestamp:
- 05/18/03 01:57:35
(5 years ago)
- Author:
- Gildas Bazin <gbazin@videolan.org>
- git-committer:
- Gildas Bazin <gbazin@videolan.org> 1053215855 +0000
- git-parent:
[bc0d451c4b6a4f80b9b870324cd51d7dc59c2991]
- git-author:
- Gildas Bazin <gbazin@videolan.org> 1053215855 +0000
- Message:
* 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.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rc2a934c |
r3a0e5d2 |
|
| 1 | | $Id: INSTALL.win32,v 1.13 2003/02/02 04:01:29 sam Exp $ |
|---|
| | 1 | $Id: INSTALL.win32,v 1.14 2003/05/17 23:57:35 gbazin Exp $ |
|---|
| 2 | 2 | |
|---|
| 3 | | INSTALL file for the Windows9x/2k/XP version of the VLC media player |
|---|
| | 3 | INSTALL file for the Windows9x/Me/NT4/2k/XP version of the VLC media player |
|---|
| 4 | 4 | |
|---|
| 5 | 5 | |
|---|
| … | … | |
| 12 | 12 | You can also run VLC from a dos command box, in which case you'll be able |
|---|
| 13 | 13 | to use the command line arguments. You can obtain a list of these command |
|---|
| 14 | | line arguments by typing 'vlc --help'. |
|---|
| | 14 | line arguments by typing 'vlc --help' or 'vlc --help --advanced'. |
|---|
| | 15 | |
|---|
| 15 | 16 | To store a debug log of the current VLC session, you can use |
|---|
| 16 | | 'vlc -vvvvv --intf=logger nameofyourvideofile', but this will unfortunatly |
|---|
| 17 | | disable the GUI. You will end-up with a vlc.log file in your current directory. |
|---|
| | 17 | 'vlc -vv --extraintf=logger'. You will end-up with a vlc-log.txt file in |
|---|
| | 18 | your current directory. |
|---|
| 18 | 19 | |
|---|
| 19 | 20 | If you want to play a DVD, run VLC and click on the Disc option in the |
|---|
| … | … | |
| 21 | 22 | the 'Device name' box (eg. 'D:' if this is the letter for your dvdrom drive). |
|---|
| 22 | 23 | |
|---|
| | 24 | Additional documentation is available at http://www.videolan.org/doc/ |
|---|
| | 25 | |
|---|
| | 26 | |
|---|
| 23 | 27 | Building VLC from the source code |
|---|
| 24 | 28 | ================================= |
|---|
| 25 | 29 | |
|---|
| 26 | | If you want to do the tricky job of building VLC from sources, you can do it |
|---|
| 27 | | in several ways: |
|---|
| | 30 | If you want to build VLC from sources, you can do it in several ways: |
|---|
| | 31 | |
|---|
| | 32 | - natively on Windows, using cygwin (www.cygwin.com) with or without the |
|---|
| | 33 | unix emulation layer. This is the prefered way to compile vlc if you want |
|---|
| | 34 | to do it on Windows. |
|---|
| 28 | 35 | |
|---|
| 29 | 36 | - natively on Windows, using MSYS+MINGW (www.mingw.org) |
|---|
| 30 | 37 | (MSYS is a minimal build environnement to compile unixish projects under |
|---|
| 31 | | windoze. It provides all the common unix tools like sh, gmake...) |
|---|
| | 38 | windoze. It provides all the common unix tools like sh, gmake...) |
|---|
| | 39 | Please note that there is currenlty a bug in MSYS which requires you to |
|---|
| | 40 | edit the acgeneral.m4 file and replace the value of ac_max_sed_lines to |
|---|
| | 41 | something higher, for instance 976. |
|---|
| 32 | 42 | |
|---|
| 33 | | - natively on Windows, using cygwin (www.cygwin.com) with or without the |
|---|
| 34 | | unix emulation layer. |
|---|
| | 43 | - natively on Windows, using Microsoft Visual C++. Even though we provide some |
|---|
| | 44 | msvc project files with vlc, this method is advised only if you just want to |
|---|
| | 45 | experiment/play with some basic functionnalities in vlc. The reason for this |
|---|
| | 46 | is that vlc depends on a lot of 3rd party libraries and building them in |
|---|
| | 47 | MSVC is not convenient and sometimes even impossible. |
|---|
| 35 | 48 | |
|---|
| 36 | | - or on Linux, using the mingw32 cross-compiler |
|---|
| | 49 | - or on Linux, using the mingw32 cross-compiler. |
|---|
| 37 | 50 | |
|---|
| 38 | | Getting the right tools |
|---|
| 39 | | ======================= |
|---|
| | 51 | Getting the right compiler tools |
|---|
| | 52 | ================================ |
|---|
| 40 | 53 | |
|---|
| 41 | 54 | - cross-compiling with mingw32: |
|---|
| 42 | | All the necessary tools you need can be found on the videolan web site: |
|---|
| 43 | | http://www.videolan.org/vlc/windows.html |
|---|
| | 55 | You first need to download a linux cross-compiler version of mingw32. |
|---|
| | 56 | (for Debian GNU/Linux users, you can use the mingw32, mingw32-binutils and |
|---|
| | 57 | mingw32-runtime packages) |
|---|
| 44 | 58 | |
|---|
| 45 | | You first need to download a linux cross-compiler version of mingw32. |
|---|
| 46 | | (for Debian GNU/Linux users, there is a mingw32 package) |
|---|
| 47 | | |
|---|
| 48 | | You must also not forget to install the extra development packages if you want |
|---|
| 49 | | to build the DirectX, GTK and SDL plugins. |
|---|
| | 59 | - compiling natively on Windoze with cygwin: |
|---|
| | 60 | You will need to download and run the setup.exe app from cygwin's web site |
|---|
| | 61 | (www.cygwin.com). You will also need to make sure you install at least the |
|---|
| | 62 | gcc-mingw, mingw-runtime and w32api packages. |
|---|
| 50 | 63 | |
|---|
| 51 | 64 | - compiling natively on Windoze with MSYS+MINGW: |
|---|
| 52 | | You will need to download and install the latest MSYS (version 1.0.7 as |
|---|
| 53 | | of now) and MINGW. |
|---|
| | 65 | You will need to download and install the latest MSYS, MSYS-DTK and MINGW. |
|---|
| 54 | 66 | The installation is really easy. Begin with the MSYS auto-installer and once |
|---|
| 55 | 67 | this is done, extract MINGW into c:\msys\1.0\mingw. You also have to remember |
|---|
| … | … | |
| 58 | 70 | |
|---|
| 59 | 71 | http://www.mingw.org/download.shtml |
|---|
| 60 | | http://prdownloads.sourceforge.net/mingw/MSYS-1.0.7-i686-2.exe |
|---|
| 61 | | http://prdownloads.sourceforge.net/mingw/MinGW-1.1.tar.gz |
|---|
| | 72 | http://prdownloads.sf.net/mingw/MSYS-1.0.9-2003.14.18-1.exe |
|---|
| | 73 | http://prdownloads.sf.net/mingw/MinGW-2.0.0-3.exe |
|---|
| | 74 | http://prdownloads.sf.net/mingw/msysDTK-1.0.1.exe |
|---|
| 62 | 75 | |
|---|
| 63 | | You must also not forget to install the extra development packages if you want |
|---|
| 64 | | to build the DirectX, GTK and SDL plugins. |
|---|
| 65 | | (http://www.videolan.org/vlc/windows.html) |
|---|
| | 76 | Getting the additionnal libraries |
|---|
| | 77 | ================================= |
|---|
| 66 | 78 | |
|---|
| 67 | | - compiling natively on Windoze with cygwin: |
|---|
| 68 | | You will need to download and run the setup.exe app from cygwin's web site |
|---|
| 69 | | (www.cygwin.com). |
|---|
| 70 | | I'm personnaly running the experimental distribution (and gcc-3.2) with the |
|---|
| 71 | | exception of the autoconf tool for which I'm using the autoconf-devel-2.52-4 |
|---|
| 72 | | package (I had problems with 2.53a-1). You will need to make sure you install |
|---|
| 73 | | at least the gcc-mingw, mingw-runtime and w32api packages. |
|---|
| | 79 | VLC depends on other libraries to provide some features like ac3 audio decoding |
|---|
| | 80 | or mpeg4 video decoding, etc... |
|---|
| 74 | 81 | |
|---|
| 75 | | NOTE: by default, the GTK package is configured to be installed in |
|---|
| 76 | | /usr/local/gtk-win32, if you want to change this path, then you need to edit |
|---|
| 77 | | the gtk-win32/bin/gtk-config file and change "gtk_dir=" accordingly. |
|---|
| 78 | | The same is true for the SDL package, it is installed in |
|---|
| 79 | | /usr/local/SDL-1.2.3-win32 by default and you need to change "prefix=" in |
|---|
| 80 | | SDL-1.2.3-win32/i386-mingw32msvc/bin/sdl-config if you plan to extract the |
|---|
| 81 | | archive in a different directory. |
|---|
| | 82 | Depending on your needs you will have to compile/install some or all of these |
|---|
| | 83 | external libraries. |
|---|
| 82 | 84 | |
|---|
| 83 | | - compiling natively on Windoze with cygwin: |
|---|
| 84 | | You will need to download and install cygwin (www.cygwin.com). |
|---|
| | 85 | They can be found here (source code): |
|---|
| | 86 | http://www.videolan.org/pub/testing/contrib/ |
|---|
| 85 | 87 | |
|---|
| 86 | | You must also not forget to install the extra development packages if you want |
|---|
| 87 | | to build the DirectX, GTK and SDL plugins. |
|---|
| 88 | | (http://www.videolan.org/vlc/windows.html) |
|---|
| | 88 | I also provide a package with all the libraries already compiled so it is |
|---|
| | 89 | actually really easy to compile a full-featured version of vlc (these compiled |
|---|
| | 90 | libraries will only work with mingw or cygwin): |
|---|
| | 91 | http://www.videolan.org/pub/testing/win32/contrib-20030420-win32-bin.tar.bz2 |
|---|
| | 92 | All you need to do is extract it in your root directory (the include files |
|---|
| | 93 | and libraries will be put in /usr/win32) |
|---|
| | 94 | |
|---|
| | 95 | A complete list of the libraries on which we depend can be found here: |
|---|
| | 96 | http://developers.videolan.org/vlc/ |
|---|
| 89 | 97 | |
|---|
| 90 | 98 | Configuring the build |
|---|
| 91 | 99 | ===================== |
|---|
| 92 | 100 | |
|---|
| 93 | | The best way to configure the build process of VLC is to use the |
|---|
| 94 | | `./configure' script. |
|---|
| | 101 | Once you've got all the files you need in place, you need to configure the |
|---|
| | 102 | build with the `./configure' script. |
|---|
| 95 | 103 | |
|---|
| 96 | | See `./configure --help' for more information. |
|---|
| | 104 | I'll assume that you are using the pre-compiled 3rd party libraries I'm |
|---|
| | 105 | providing and that they are in /usr/win32. |
|---|
| 97 | 106 | |
|---|
| 98 | 107 | If you are cross-compiling from Debian, you can use something |
|---|
| 99 | 108 | along those lines: |
|---|
| 100 | 109 | |
|---|
| 101 | | ./bootstrap; \ |
|---|
| | 110 | ./bootstrap && \ |
|---|
| | 111 | CPPFLAGS=-I/usr/win32/include LDFLAGS=-L/usr/win32/lib \ |
|---|
| 102 | 112 | CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ \ |
|---|
| 103 | 113 | ./configure --host=i586-mingw32msvc --build=i386-linux \ |
|---|
| 104 | | --with-gtk-config-path=/usr/local/gtk-win32/bin \ |
|---|
| 105 | | --with-sdl-config-path=/usr/local/SDL-1.2.3-win32/i386-mingw32msvc/bin \ |
|---|
| 106 | | --with-directx=/usr/local/dxheaders \ |
|---|
| 107 | | --with-dvdcss-tree=../libdvdcss-win |
|---|
| 108 | | |
|---|
| 109 | | If you are cross-compiling using the mingw32 package provided by |
|---|
| 110 | | www.videolan.org, you have to use something along those lines: |
|---|
| 111 | | |
|---|
| 112 | | ./bootstrap; \ |
|---|
| 113 | | CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ \ |
|---|
| 114 | | PATH=/usr/local/cross-tools/bin:$PATH \ |
|---|
| 115 | | ./configure --host=i586-mingw32msvc --build=i386-linux \ |
|---|
| 116 | | --with-gtk-config-path=/usr/local/gtk-win32/bin \ |
|---|
| 117 | | --with-sdl-config-path=/usr/local/SDL-1.2.3-win32/i386-mingw32msvc/bin \ |
|---|
| 118 | | --with-directx=/usr/local/dxheaders \ |
|---|
| 119 | | --with-dvdcss-tree=../libdvdcss-win |
|---|
| 120 | | |
|---|
| 121 | | If you are compiling natively on Windoze, then you can use something |
|---|
| 122 | | along those lines: |
|---|
| 123 | | ./bootstrap; \ |
|---|
| 124 | | ./configure \ |
|---|
| 125 | | --with-gtk-config-path=/c/dev/gtk-win32/bin \ |
|---|
| 126 | | --with-sdl-config-path=/c/dev/SDL-1.2.3-win32/i386-mingw32msvc/bin \ |
|---|
| 127 | | --with-directx=/c/dev/dxheaders \ |
|---|
| 128 | | --with-dvdcss-tree=../libdvdcss-win |
|---|
| | 114 | --disable-sdl --disable-gtk \ |
|---|
| | 115 | --with-included-gettext --enable-nls \ |
|---|
| | 116 | --enable-mad \ |
|---|
| | 117 | --enable-ffmpeg \ |
|---|
| | 118 | --enable-dvdread --enable-dvdplay \ |
|---|
| | 119 | --enable-faad \ |
|---|
| | 120 | --enable-flac \ |
|---|
| | 121 | --enable-theora \ |
|---|
| | 122 | --with-wx-config-path=/usr/win32/bin \ |
|---|
| | 123 | --with-skins-wx-config-path=/usr/win32/bin \ |
|---|
| | 124 | --with-freetype-config-path=/usr/win32/bin \ |
|---|
| | 125 | --enable-debug |
|---|
| 129 | 126 | |
|---|
| 130 | 127 | If you are using cygwin, you can build VLC with or without the unix emulation |
|---|
| 131 | 128 | layer (without is usually better). To build without the emulaion layer, use |
|---|
| 132 | 129 | something like this: |
|---|
| 133 | | ./bootstrap; \ |
|---|
| | 130 | ./bootstrap && \ |
|---|
| | 131 | CPPFLAGS=-I/usr/win32/include LDFLAGS=-L/usr/win32/lib \ |
|---|
| 134 | 132 | CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \ |
|---|
| 135 | 133 | ./configure \ |
|---|
| 136 | | --with-gtk-config-path=/cygdrive/c/dev/gtk-win32/bin \ |
|---|
| 137 | | --with-sdl-config-path=/cygdrive/c/dev/SDL-1.2.3-win32/i386-mingw32msvc/bin \ |
|---|
| 138 | | --with-directx=/cygdrive/c/dev/dxheaders \ |
|---|
| 139 | | --with-dvdcss-tree=../libdvdcss-win |
|---|
| | 134 | --disable-sdl --disable-gtk \ |
|---|
| | 135 | --with-included-gettext --enable-nls \ |
|---|
| | 136 | --enable-mad \ |
|---|
| | 137 | --enable-ffmpeg \ |
|---|
| | 138 | --enable-dvdread --enable-dvdplay \ |
|---|
| | 139 | --enable-faad \ |
|---|
| | 140 | --enable-flac \ |
|---|
| | 141 | --enable-theora \ |
|---|
| | 142 | --with-wx-config-path=/usr/win32/bin \ |
|---|
| | 143 | --with-skins-wx-config-path=/usr/win32/bin \ |
|---|
| | 144 | --with-freetype-config-path=/usr/win32/bin \ |
|---|
| | 145 | --enable-debug |
|---|
| | 146 | |
|---|
| 140 | 147 | If you want to use the emulation layer, then just omit the CC="gcc -mno-cygwin" |
|---|
| 141 | 148 | CXX="g++ -mno-cygwin" line. |
|---|
| 142 | 149 | |
|---|
| 143 | | Note: when using the --with-dvdcss-tree you need to compile the libdvdcss tree |
|---|
| 144 | | beforehand. |
|---|
| | 150 | If you are compiling with MSYS/MINGW, then you can use something along those |
|---|
| | 151 | lines: |
|---|
| | 152 | ./bootstrap && \ |
|---|
| | 153 | CPPFLAGS=-I/usr/win32/include LDFLAGS=-L/usr/win32/lib \ |
|---|
| | 154 | ./configure \ |
|---|
| | 155 | --disable-sdl --disable-gtk \ |
|---|
| | 156 | --with-included-gettext --enable-nls \ |
|---|
| | 157 | --enable-mad \ |
|---|
| | 158 | --enable-ffmpeg \ |
|---|
| | 159 | --enable-dvdread --enable-dvdplay \ |
|---|
| | 160 | --enable-faad \ |
|---|
| | 161 | --enable-flac \ |
|---|
| | 162 | --enable-theora \ |
|---|
| | 163 | --with-wx-config-path=/usr/win32/bin \ |
|---|
| | 164 | --with-skins-wx-config-path=/usr/win32/bin \ |
|---|
| | 165 | --with-freetype-config-path=/usr/win32/bin \ |
|---|
| | 166 | --enable-debug |
|---|
| 145 | 167 | |
|---|
| 146 | | Building VLC |
|---|
| 147 | | ============ |
|---|
| | 168 | See `./configure --help' for more information. |
|---|
| 148 | 169 | |
|---|
| 149 | | Have a look at the generated Makefile.opts file, you may want to choose |
|---|
| 150 | | which modules will be compiled as plugins, and which ones will remain in |
|---|
| 151 | | the core application. The configure script tries to guess for you. |
|---|
| | 170 | Actually Compiling the VLC source |
|---|
| | 171 | ================================= |
|---|
| 152 | 172 | |
|---|
| 153 | | Once configured, to build VLC you have to: |
|---|
| 154 | | |
|---|
| 155 | | If you are cross-compiling from Debian or compiling natively on Windoze, |
|---|
| 156 | | then just run `make'. |
|---|
| 157 | | |
|---|
| 158 | | If you are cross-compiling using the mingw32 package provided by |
|---|
| 159 | | www.videolan.org, run `PATH=/usr/local/cross-tools/bin:$PATH make'. |
|---|
| 160 | | |
|---|
| 161 | | Building Win32 interface with bcc32 (Borland's compiler) |
|---|
| 162 | | ======================================================== |
|---|
| 163 | | (This stage is only necessary if you want to use the Win32 native interface. |
|---|
| 164 | | If you are happy with the GTK interface, then you can skip this section) |
|---|
| 165 | | |
|---|
| 166 | | 1) Install Borland C++ Builder, you will need bpr2mak and make. |
|---|
| 167 | | |
|---|
| 168 | | 2) Make sure you have the bpr2mak and bcmake (NOT make!) commands in $PATH, |
|---|
| 169 | | they can be symlinks to the Borland bpr2mak and make utilities, or wrappers |
|---|
| 170 | | that call them through Wine if you are cross-compiling from Linux. |
|---|
| 171 | | |
|---|
| 172 | | 3) Configure VLC as usual with the --enable-intfwin flag and build it. |
|---|
| | 173 | Once configured, to build VLC, just run `make'. |
|---|
| 173 | 174 | |
|---|
| 174 | 175 | Well done, now you're ready to use VLC! |
|---|
| r5ec858c |
r3a0e5d2 |
|
| 576 | 576 | done |
|---|
| 577 | 577 | |
|---|
| 578 | | cd doc/faq ; $(MAKE) html ; cd ../.. ; |
|---|
| 579 | | cp doc/faq/index.html tmp/FAQ.htm ; |
|---|
| | 578 | $(MAKE) -C doc/faq html ; |
|---|
| | 579 | cp doc/faq/faq.html tmp/FAQ.htm ; |
|---|
| 580 | 580 | |
|---|
| 581 | 581 | # Create package |
|---|
| r1d67494 |
r3a0e5d2 |
|
| 1 | | $Id: NEWS,v 1.40 2003/05/15 02:02:13 hartman Exp $ |
|---|
| | 1 | $Id: NEWS,v 1.41 2003/05/17 23:57:35 gbazin Exp $ |
|---|
| 2 | 2 | |
|---|
| 3 | 3 | Changes between 0.5.3 and 0.6.0: |
|---|
| … | … | |
| 5 | 5 | |
|---|
| 6 | 6 | Core Support: |
|---|
| 7 | | * Channel Server support was removed |
|---|
| | 7 | * Channel Server support was removed (was deprecated) |
|---|
| 8 | 8 | |
|---|
| 9 | 9 | Input access: |
|---|
| … | … | |
| 11 | 11 | * fixed large file support on Windows |
|---|
| 12 | 12 | * Video 4 Linux support |
|---|
| | 13 | * CD Digital Audio support |
|---|
| 13 | 14 | |
|---|
| 14 | 15 | Input demux: |
|---|
| … | … | |
| 24 | 25 | |
|---|
| 25 | 26 | Interfaces: |
|---|
| 26 | | * The wxWindows interface is now Unicode safe |
|---|
| 27 | | * New http interface |
|---|
| | 27 | * The wxWindows interface is now fully useable as well as Unicode safe |
|---|
| | 28 | * New HTTP remote control interface |
|---|
| 28 | 29 | |
|---|
| 29 | 30 | Stream output: |
|---|
| 30 | | * |
|---|
| | 31 | * 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. |
|---|
| | 32 | * The stream output now allows to transcode content on the fly. |
|---|
| 31 | 33 | |
|---|
| 32 | 34 | Miscellaneous: |
|---|
| 33 | | * New reset all option for preferences |
|---|
| | 35 | * New reset option for the preferences |
|---|
| 34 | 36 | * You can set your language in the prefences |
|---|
| | 37 | * New video chroma conversion module using ffmpeg |
|---|
| 35 | 38 | |
|---|
| 36 | 39 | UNIX ports: |
|---|
| … | … | |
| 52 | 55 | Win32 port: |
|---|
| 53 | 56 | * the wxWindows interface is now the default interface |
|---|
| | 57 | * The keyboard shortcuts are now identical to the linux version |
|---|
| | 58 | * Fixed the "no sound" problem on NT4 |
|---|
| | 59 | * Improved skinnable interface (it now uses the wxWindows interface dialogs). |
|---|
| | 60 | * Added support for compressed skins files (.vlt files) |
|---|
| 54 | 61 | |
|---|
| 55 | 62 | BeOS port: |
|---|
| rf2ab9c5 |
r3a0e5d2 |
|
| 68 | 68 | |
|---|
| 69 | 69 | CreateDirectory "$SMPROGRAMS\VideoLAN" |
|---|
| 70 | | CreateShortCut "$SMPROGRAMS\VideoLAN\vlc.lnk" "$INSTDIR\vlc.exe" |
|---|
| 71 | | CreateShortCut "$SMPROGRAMS\VideoLAN\vlc (wxwindows).lnk" \ |
|---|
| | 70 | CreateShortCut "$SMPROGRAMS\VideoLAN\vlc.lnk" \ |
|---|
| 72 | 71 | "$INSTDIR\vlc.exe" "--intf wxwin" |
|---|
| 73 | 72 | CreateShortCut "$SMPROGRAMS\VideoLAN\vlc (skins).lnk" \ |
|---|
| 74 | 73 | "$INSTDIR\vlc.exe" "--intf skins" |
|---|
| | 74 | CreateShortCut "$SMPROGRAMS\VideoLAN\vlc (custom).lnk" \ |
|---|
| | 75 | "$INSTDIR\vlc.exe" |
|---|
| 75 | 76 | CreateShortCut "$SMPROGRAMS\VideoLAN\FAQ.lnk" "$INSTDIR\FAQ.htm" |
|---|
| 76 | 77 | |
|---|