Difference between revisions of "Third-party libraries and tools"
Gongminmin (Talk | contribs) (Created page with "Before compiling KlayGE, the following third-party libraries and tools must be installed: == Core requires: == *[http://www.python.org/ Python] 2.6, 2.7 or 3.1. Debug versio...") |
Gongminmin (Talk | contribs) m |
||
Line 2: | Line 2: | ||
== Core requires: == | == Core requires: == | ||
− | *[http://www.python.org/ Python] | + | *[http://www.python.org/ Python] 2.7 or 3.1. Debug version pythonxx_d.dll need to be compiled from Python's source yourself. |
*[http://www.boost.org/ Boost] 1.45.0. Recommanded bjam command line please check [[FAQ]] | *[http://www.boost.org/ Boost] 1.45.0. Recommanded bjam command line please check [[FAQ]] | ||
*[http://rapidxml.sourceforge.net/ RapidXml] 1.13 | *[http://rapidxml.sourceforge.net/ RapidXml] 1.13 | ||
Line 15: | Line 15: | ||
== OggVorbis Audio Datasource requires: == | == OggVorbis Audio Datasource requires: == | ||
− | *[http://xiph.org/downloads/ libogg] 1.2. | + | *[http://xiph.org/downloads/ libogg] 1.2.2 and [http://xiph.org/downloads/ libvorbis] 1.3.2, must be compiled to static library |
Line 31: | Line 31: | ||
== KFontGen tool requires: == | == KFontGen tool requires: == | ||
− | *[http://freetype.sourceforge.net/ FreeType] 2.4. | + | *[http://freetype.sourceforge.net/ FreeType] 2.4.4, LIB Debug and LIB Release solution configurations should be compiled |
Revision as of 10:10, 20 December 2010
Before compiling KlayGE, the following third-party libraries and tools must be installed:
Contents
Core requires:
- Python 2.7 or 3.1. Debug version pythonxx_d.dll need to be compiled from Python's source yourself.
- Boost 1.45.0. Recommanded bjam command line please check FAQ
- RapidXml 1.13
D3D11 Rendering System and DSound Audio System require:
- DirectX SDK June 2010
DShow Show System requires:
- Microsoft Windows SDK 7.0A comes with Visual Studio 2010, Microsoft Windows SDK 6.0A comes with Visual Studio 2008, or Windows(R) Server 2003 R2 Platform SDK
OggVorbis Audio Datasource requires:
OpenAL Audio System requires:
- OpenAL SDK 1.1
OpenGL Rendering System requires:
- NVIDIA Cg 3.0
OpenGL ES 2 Rendering System requires:
KFontGen tool requires:
- FreeType 2.4.4, LIB Debug and LIB Release solution configurations should be compiled
Notes
As mentioned previously, before the first compilation of KlayGE, run the env_vars.py Python script to set the required environment variables.
As KlayGE uses VC Multi-threaded DLL runtime library, it needs ALL libs that linked to exes change to use Multi-threaded DLL runtime library (Project->Properties->Configuration Properties->C/C++->Code Generation->Runtime Library, select Multi-threaded Debug DLL/Multi-threaded DLL).
In addition, using VC8 and VC9 to compile Release versions of Boost needs to define the _SECURE_SCL = 0 macro. If you are using Boost Build (bjam) to build the libraries, make sure to add "define=_SECURE_SCL=0" to the bjam command line.