1 |
|
INSTALLATION |
2 |
|
|
3 |
|
there are two ways to build libxvidcore: using a makefile, or a microsoft |
4 |
|
visual studio workspace file. |
5 |
|
|
6 |
|
|
7 |
|
MAKEFILE |
8 |
|
|
9 |
|
to build libxvidcore.[a,so], cd xvidcore/build/generic and use: |
10 |
|
% make -f <Makefile.xxx> |
11 |
|
|
12 |
|
to install the compiled libxvidcore.[a,so] to the appropriate (platform |
13 |
|
specifc) library directory use: |
14 |
|
% make -f <Makefile.xxx> install |
15 |
|
|
16 |
|
filename platform arch |
17 |
|
--------------------------------------------------------------------- |
18 |
|
Makefile.beos beos x86 |
19 |
|
Makefile.cygwin cygwin x86 |
20 |
|
Makefile.dj djgpp or mingw x86 |
21 |
|
Makefile.vc microft visual c x86 |
22 |
|
Makefile.linux gnu/linux (generic) |
23 |
|
Makefile.linuxx86 gnu/linux x86 |
24 |
|
Makefile.ia64 gnu/linux ia64 |
25 |
|
Makefile.linuxppc gnu/linux powerpc |
26 |
|
Makefile.linuxppc_altivec gnu/linux powerpc+altivec |
27 |
|
Makefile.freebsd freebsd (generic) |
28 |
|
Makefile.sparc sun solaris sun sparc |
29 |
|
Makefile.irix64 sgi irix64 ~mips r10,12k |
30 |
|
Makefile.generic generic makefile for unsupported platforms/archs |
31 |
|
|
32 |
|
notes: |
33 |
|
* Makefile.inc specifies source code paths, and is not considered a Makefile. |
34 |
|
* to build Makefile.vc, first run vc98/bin/vcvars32.bat and then use: |
35 |
|
% nmake -f Makefile.vc |
36 |
|
|
37 |
|
|
38 |
|
|
39 |
|
MICROSOFT VISUAL STUDIO |
40 |
|
|
41 |
|
to build xvidcore you need microsoft visual studio, the visual studio |
42 |
|
service pack #5 and the visual studio processor pack. |
43 |
|
|
44 |
|
open the xvidcore/build/win32/xvidcore.dsw workspace file and hit f7 (build). |
45 |
|
the compiled library is written to xvidcore/build/win32/bin/libxvidcore.lib |
46 |
|
|