Third-party libraries and tools

From KlayGE
Revision as of 22:39, 8 February 2019 by Gongminmin (Talk | contribs)

Jump to: navigation, search

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 3.4+ must be installed.

Core requires:

DevHelper requires:

D3D11 Rendering System and DSound Audio System require:

DShow Show System requires:

  • Microsoft Windows SDK 10.0 comes with Visual Studio 2017, or
  • Microsoft Windows SDK 10.0 comes with Visual Studio 2015, or
  • Microsoft Windows SDK 8.1 comes with Visual Studio 2013

OggVorbis Audio Datasource requires:

OpenAL Audio System requires:

OpenGL Rendering System requires:

OpenGL ES Rendering System requires:

Python Script System requires:

Test requires:

KFontGen tool requires:


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).


List

Here is a full list of libraries under External folder in 4.14.

Name Version Slimmed Patched CMake Provided Need to Build
7z 18.05 Yes Yes No Yes
android_native_app_glue 16B No Yes No No
assimp git No No Yes Yes
boost 1.68.0 Yes No Yes, but not used Yes
cxxopts git No No Yes No
FreeImage 3.18.0 Yes Yes No Yes
freetype 2.8.1 Yes No Yes Yes
googletest 1.8.0 No No Yes Yes
libogg git No No Yes Yes
libvorbis 1.3.6 Yes Yes Yes Yes
nanosvg git No No No No
OpenALSDK 1.1 No No No No
Python 3.5.1 Yes Yes No Yes
python-cmake-buildsystem N/A Yes Yes Yes Yes
rapidjson git No No Yes No
rapidxml 1.13 No Yes No No
UniversalDXSDK N/A No No No No
wpftoolkit 2.8 Yes Yes No Yes

Also, in develop branch, most external libraries are downloaded via git. They are listed below.

Name Version CMake Provided Need to Build
7z Forked git (Fixes for UWP and Android) No Yes
android_native_app_glue Patched 16B No No
assimp git Yes Yes
boost Slimmed 1.68.0 Yes, but not used Yes
cxxopts git Yes No
FreeImage Forked git (Fixes C++17, MinGW, and ARM) No Yes
freetype git Yes Yes
googletest git Yes Yes
libogg git Yes Yes
libvorbis git Yes Yes
nanosvg git No No
openal-soft git Yes Yes
Python Forked git (Fixes for UWP and MinGW) No Yes
python-cmake-buildsystem Forked git (Fixes for Android, iOS, 3.7, and MinGW) Yes Yes
rapidjson git Yes No
rapidxml git No No
UniversalDXSDK N/A No No
wpftoolkit Forked git (Change the output directories) No Yes
zlib git Yes Yes