INSTALL 1.42 KB
Newer Older
1 2 3 4 5 6 7 8
INSTALL file for libdvdcss, a DVD access library


Configuring libdvdcss
=====================

A typical way to configure libdvdcss is:

9
  ./configure --prefix=/usr
10 11 12

See `./configure --help' for more information.

13 14

If you got libdvdcss from its version control system, please bootstrap first:
15

16
  autoreconf -i
17 18


19 20 21 22 23 24 25 26 27 28 29 30 31 32
Building libdvdcss
==================

Once configured, run `make' to build libdvdcss.

If you have player keys, you need to put them in the file csskeys.h, before
configuring libdvdcss to enable the "key" method (the one from libcss).


Installing libdvdcss
====================

You can install libdvdcss by typing:

33
  make install
34 35


36 37
Building libdvdcss for Windows
==============================
38

39
There are two alternative ways to build libdvdcss for Windows.
40

41
- on a Linux host with the mingw.org or mingw-w64 cross-compilers:
42

43 44
  Tell configure about the compiler to use. If you run, for example, Debian or
  Ubuntu with the mingw32 packages installed, it would be:
45

46
  ./configure --host=i586-mingw32msvc
47 48
  make

49
- natively on Windows with MSYS + MinGW (www.mingw.org):
50

51 52
 (MSYS is a minimal build environment to compile Unixish projects under
  Windows. It provides all the common Unix tools like sh, GNU Make...)
53

54
 You will need to download and install the latest MSYS and MinGW.
55 56

 To build libdvdcss you just have to run the following commands:
57

58 59
  ./configure
  make
60

61
 More about MSYS on our wiki: http://wiki.videolan.org/Win32CompileMSYS