1 vpx Multi-Format Codec SDK
4 Welcome to the WebM VP8 Codec SDK!
6 COMPILING THE APPLICATIONS/LIBRARIES:
7 The build system used is similar to autotools. Building generally consists of
8 "configuring" with your desired build options, then using GNU make to build
13 * All x86 targets require the Yasm[1] assembler be installed.
14 * All Windows builds require that Cygwin[2] be installed.
15 * Building the documentation requires PHP[3] and Doxygen[4]. If you do not
16 have these packages, you must pass --disable-install-docs to the
19 [1]: http://www.tortall.net/projects/yasm
20 [2]: http://www.cygwin.com
22 [4]: http://www.doxygen.org
25 Out of tree builds are a supported method of building the application. For
26 an out of tree build, the source tree is kept separate from the object
27 files produced during compilation. For instance:
31 $ ../libvpx/configure <options>
34 3. Configuration options
35 The 'configure' script supports a number of options. The --help option can be
36 used to get a list of supported options:
37 $ ../libvpx/configure --help
40 For cross development, the most notable option is the --target option. The
41 most up-to-date list of supported targets can be found at the bottom of the
42 --help output of the configure script. As of this writing, the list of
85 The generic-gnu target, in conjunction with the CROSS environment variable,
86 can be used to cross compile architectures that aren't explicitly listed, if
87 the toolchain is a cross GNU (gcc/binutils) toolchain. Other POSIX toolchains
88 will likely work as well. For instance, to build using the mipsel-linux-uclibc
89 toolchain, the following command could be used (note, POSIX SH syntax, adapt
90 to your shell as necessary):
92 $ CROSS=mipsel-linux-uclibc- ../libvpx/configure
94 In addition, the executables to be invoked can be overridden by specifying the
95 environment variables: CC, AR, LD, AS, STRIP, NM. Additional flags can be
96 passed to these executables with CFLAGS, LDFLAGS, and ASFLAGS.
98 5. Configuration errors
99 If the configuration step fails, the first step is to look in the error log.
100 This defaults to config.err. This should give a good indication of what went
101 wrong. If not, contact us for support.
104 This library is an open source project supported by its community. Please
105 please email webm-users@webmproject.org for help.