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

From KlayGE
Jump to: navigation, search
m
m
Line 2: Line 2:
  
 
== Core requires: ==
 
== Core requires: ==
*[http://www.boost.org/ Boost] 1.53.0. Recommanded bjam command line please check [[FAQ]]
+
*[http://www.boost.org/ Boost] 1.55.0. Recommanded bjam command line please check [[FAQ]]. Only a part of it is [[Used boost libraries|in use]].
 
*[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
Line 11: Line 11:
  
 
== DShow Show System requires: ==
 
== DShow Show System requires: ==
 +
*Microsoft Windows SDK 8.1 comes with Visual Studio 2013, or
 
*Microsoft Windows SDK 8.0 comes with Visual Studio 2012, or
 
*Microsoft Windows SDK 8.0 comes with Visual Studio 2012, or
 
*Microsoft Windows SDK 7.0A comes with Visual Studio 2010, or
 
*Microsoft Windows SDK 7.0A comes with Visual Studio 2010, or
Line 34: Line 35:
  
 
== KFontGen tool requires: ==
 
== KFontGen tool requires: ==
*[http://freetype.sourceforge.net/ FreeType] 2.4.11, Debug and Release solution configurations should be compiled
+
*[http://freetype.sourceforge.net/ FreeType] 2.5.0.1, Debug and Release solution configurations should be compiled
  
  

Revision as of 01:08, 13 November 2013

KlayGE's code 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. Before running the building script, Python 2.7+ and CMake 2.8.6+ must be installed.

Core requires:

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

  • Microsoft Windows SDK 8.0 comes with Visual Studio 2012, or
  • DirectX SDK June 2010

DShow Show System requires:

  • Microsoft Windows SDK 8.1 comes with Visual Studio 2013, or
  • Microsoft Windows SDK 8.0 comes with Visual Studio 2012, or
  • Microsoft Windows SDK 7.0A comes with Visual Studio 2010, or
  • 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:

OpenGL Rendering System requires:

OpenGL ES Rendering System requires:

Python Script System requires:

  • Python 3.2. Debug version pythonxx_d.dll need to be compiled from Python's source yourself.

KFontGen tool requires:

  • FreeType 2.5.0.1, Debug and Release solution configurations should be compiled


Notes

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.