Difference between revisions of "Third-party libraries and tools"

From KlayGE
Jump to: navigation, search
m
m (Core requires:)
Line 3: Line 3:
 
== Core requires: ==
 
== Core requires: ==
 
*[http://www.python.org/ Python] 3.2. Debug version pythonxx_d.dll need to be compiled from Python's source yourself.
 
*[http://www.python.org/ Python] 3.2. Debug version pythonxx_d.dll need to be compiled from Python's source yourself.
*[http://www.boost.org/ Boost] 1.47.0. Recommanded bjam command line please check [[FAQ]]
+
*[http://www.boost.org/ Boost] 1.49.0. Recommanded bjam command line please check [[FAQ]]
 
*[http://rapidxml.sourceforge.net/ RapidXml] 1.13
 
*[http://rapidxml.sourceforge.net/ RapidXml] 1.13
 
*[http://www.7-zip.org/ 7-zip] 9.20
 
*[http://www.7-zip.org/ 7-zip] 9.20
 
  
 
== D3D11 Rendering System, DInput Input System and DSound Audio System require: ==
 
== D3D11 Rendering System, DInput Input System and DSound Audio System require: ==

Revision as of 04:37, 12 March 2012

KlayGE depends on these following third-party libraries and tools. Since 3.12.0, the source code of these libraries are included in KlayGE. Users can run build_external.py to build and install them. The only pre-required one is Python.

Core requires:

  • Python 3.2. Debug version pythonxx_d.dll need to be compiled from Python's source yourself.
  • Boost 1.49.0. Recommanded bjam command line please check FAQ
  • RapidXml 1.13
  • 7-zip 9.20

D3D11 Rendering System, DInput Input System and DSound Audio System require:

DShow Show System requires:


OggVorbis Audio Datasource requires:


OpenAL Audio System requires:


OpenGL Rendering System requires:


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.