Difference between revisions of "第三方库和工具"

From KlayGE
Jump to: navigation, search
Line 32: Line 32:
 
== Python Script System需要:==
 
== Python Script System需要:==
 
*[http://www.python.org/ Python] 3.5.1。
 
*[http://www.python.org/ Python] 3.5.1。
 +
 +
== Test需要:==
 +
*[https://github.com/google/googletest Google Test] 1.8.0。
  
 
== KFontGen工具需要:==
 
== KFontGen工具需要:==

Revision as of 17:43, 26 December 2017

KlayGE的代码依赖于以下的第三方库和工具。从KlayGE 3.12开始,除了OpenGL ES的SDK,其他库和工具的代码将都包含在KlayGE中。用户可以通过调用build_external.py来编译和安装它们。当然,在执行编译脚本前需要事先安装Python 2.7+和CMake 3.4+。

Core需要:

D3D11 Rendering System和DSound Audio System需要:

DShow Show System需要:

  • Visual Studio 2017附带的Microsoft Windows SDK 10.0,或
  • Visual Studio 2015附带的Microsoft Windows SDK 10.0,或
  • Visual Studio 2013附带的Microsoft Windows SDK 8.1

OggVorbis Audio Datasource需要:

OpenAL Audio System需要:

OpenGL Rendering System需要:

OpenGL ES Rendering System需要:

Python Script System需要:

Test需要:

KFontGen工具需要:

  • FreeType 2.6.1,编译它的Debug和Release两个solution configuration。

注意事项

由于KlayGE在VC下使用的运行库是多线程的DLL,所以需要把所有连接到exe的lib的运行库改为多线程DLL(Project->Properties->Configuration Properties->C/C++->Code Generation->Runtime Library,选择Multi-threaded Debug DLL/Multi-threaded DLL)。