forked from vapoursynth/vapoursynth
-
Notifications
You must be signed in to change notification settings - Fork 1
/
INSTALL
68 lines (44 loc) · 1.76 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Installation
------------
First, a couple of things to note:
* You need to be on Windows, Linux, or OS X.
* You need to have the libraries and headers for libavutil,
libavcodec, and libswscale installed.
* You need to have either GCC, Clang, MSVC, or ICC/ICL installed.
Both a C and C++ compiler are required.
* You need to have Yasm installed.
* You need Python 3 for VSScript and to build the Python module.
* You need to have Cython installed in your Python 3 environment
in order to invoke the Python wrapper setup script.
* You need Sphinx if you want to build the documentation.
First off, you'll want to fetch Waf which is the build tool
VapourSynth uses:
$ ./bootstrap.py
You don't have to fetch it with this script; you can also
simply download it from the official Google Code repository:
http://code.google.com/p/waf
Then, configure the project:
$ ./waf configure
The configure operation has some options which can be used to
fine-tune the build. To see a list, use:
$ ./waf configure --help
Once the project is configured, simply execute:
$ ./waf build
By default, Waf builds tasks in parallel. You can control the
level of parallelism with the -j option, like with Make.
If you want to build the Cython wrapper, you can do so now by
executing:
$ ./setup.py build
Finally, to install VapourSynth:
$ ./waf install
And to uninstall:
$ ./waf uninstall
The install and uninstall commands accept a --destdir option
which prepends a value to the prefix given earlier in the
configure phase, in case this may be of use to you.
To install the Cython wrapper:
$ ./setup.py install
Note that the setup script has a --prefix option like Waf.
Finally, you can run the Python tests if you have installed
the Python module:
$ ./waf test