Changeset a48441c66ea2c3d5d53d1c0a98151662c91f694d
- Timestamp:
- 04/26/02 22:49:26
(6 years ago)
- Author:
- Gildas Bazin <gbazin@videolan.org>
- git-committer:
- Gildas Bazin <gbazin@videolan.org> 1019854166 +0000
- git-parent:
[67c4bc3914d88c21ffc711806877cc0f811b166a]
- git-author:
- Gildas Bazin <gbazin@videolan.org> 1019854166 +0000
- Message:
* updated win32 compilation instructions.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r08999a3 |
ra48441c |
|
| 16 | 16 | If you want to play a DVD, run vlc and click on the Disc option in the |
|---|
| 17 | 17 | interface. You then have to type your drive letter in the 'Device name' |
|---|
| 18 | | box (eg. 'D:' if your dvdrom drive is assigned the letter 'D'). |
|---|
| | 18 | box (eg. 'D' if this is the letter for your dvdrom drive). |
|---|
| 19 | 19 | ( !WARNING: you have to be in administrator mode (for now) on Win2k/XP or the |
|---|
| 20 | 20 | DVD won't play. ) |
|---|
| … | … | |
| 46 | 46 | |
|---|
| 47 | 47 | - compiling natively on Windoze: |
|---|
| 48 | | You first need to download and install MSYS-1.0.5 (version 1.0.6 doesn't seem |
|---|
| 49 | | to work as well) and MINGW. |
|---|
| 50 | | http://prdownloads.sourceforge.net/mingw/msys-1.0.5-i686-bin.tar.gz |
|---|
| | 48 | You will need to download and install the latest MSYS (version 1.0.7 as |
|---|
| | 49 | of now) and MINGW. |
|---|
| | 50 | The installation is really easy. Begin with the MSYS auto-installer and once |
|---|
| | 51 | this is done, extract MINGW into c:\msys\1.0\mingw. You also have to remember |
|---|
| | 52 | to remove the make utility included with MINGW as it conflicts with the one |
|---|
| | 53 | from MSYS (just rename or remove c:\msys\1.0\mingw\bin\make.exe). |
|---|
| | 54 | |
|---|
| | 55 | http://www.mingw.org/download.shtml |
|---|
| | 56 | http://prdownloads.sourceforge.net/mingw/MSYS-1.0.7-i686-2002.04.24-1.exe |
|---|
| 51 | 57 | http://prdownloads.sourceforge.net/mingw/MinGW-1.1.tar.gz |
|---|
| 52 | 58 | |
|---|
| … | … | |
| 80 | 86 | --with-gtk-config-path=/usr/local/gtk-win32/bin \ |
|---|
| 81 | 87 | --with-sdl-config-path=/usr/local/SDL-1.2.3-win32/i386-mingw32msvc/bin \ |
|---|
| 82 | | --with-directx=/usr/local/dxheaders |
|---|
| | 88 | --with-directx=/usr/local/dxheaders \ |
|---|
| | 89 | --with-dvdcss-tree=../libdvdcss-win |
|---|
| 83 | 90 | |
|---|
| 84 | 91 | If you are cross-compiling using the mingw32 package provided by |
|---|
| … | … | |
| 91 | 98 | --with-gtk-config-path=/usr/local/gtk-win32/bin \ |
|---|
| 92 | 99 | --with-sdl-config-path=/usr/local/SDL-1.2.3-win32/i386-mingw32msvc/bin \ |
|---|
| 93 | | --with-directx=/usr/local/dxheaders |
|---|
| | 100 | --with-directx=/usr/local/dxheaders \ |
|---|
| | 101 | --with-dvdcss-tree=../libdvdcss-win |
|---|
| 94 | 102 | |
|---|
| 95 | 103 | If you are compiling natively on Windoze, then you can use something |
|---|
| 96 | 104 | along those lines: |
|---|
| 97 | | MAKE=gmake ./configure \ |
|---|
| | 105 | ./configure \ |
|---|
| 98 | 106 | --with-gtk-config-path=/c/dev/gtk-win32/bin \ |
|---|
| 99 | 107 | --with-sdl-config-path=/c/dev/SDL-1.2.3-win32/i386-mingw32msvc/bin \ |
|---|
| 100 | | --with-directx=/c/dev/dxheaders |
|---|
| | 108 | --with-directx=/c/dev/dxheaders \ |
|---|
| | 109 | --with-dvdcss-tree=../libdvdcss-win |
|---|
| | 110 | |
|---|
| | 111 | Note: when using the --with-dvdcss-tree you need to compile the tree |
|---|
| | 112 | beforehand. |
|---|
| 101 | 113 | |
|---|
| 102 | 114 | Building VideoLAN Client |
|---|
| … | … | |
| 109 | 121 | Once configured, to build vlc you have to: |
|---|
| 110 | 122 | |
|---|
| 111 | | If you are cross-compiling from Debian, then just run `make'. |
|---|
| | 123 | If you are cross-compiling from Debian or compiling natively on Windoze, |
|---|
| | 124 | then just run `make'. |
|---|
| 112 | 125 | |
|---|
| 113 | 126 | If you are cross-compiling using the mingw32 package provided by |
|---|
| 114 | 127 | www.videolan.org, run `PATH=/usr/local/cross-tools/bin:$PATH make'. |
|---|
| 115 | | |
|---|
| 116 | | If you are compiling natively on Windoze, run `MAKE=gmake gmake'. |
|---|
| 117 | | (note that msys sometimes stops in the middle of the build process and |
|---|
| 118 | | complains about not being able to create .dep files. If this happens, just |
|---|
| 119 | | re-run the above command another time and it should work) |
|---|
| 120 | 128 | |
|---|
| 121 | 129 | Building Win32 interface with bcc32 (Borland's compiler) |
|---|