Difference between revisions of "第三方库和工具"
From KlayGE
Gongminmin (Talk | contribs) m |
Gongminmin (Talk | contribs) |
||
| (51 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | [[KlayGE]]的代码依赖于以下的第三方库和工具。从KlayGE 3.12开始,除了OpenGL ES的SDK,其他库和工具的代码将都包含在KlayGE中。用户可以通过调用build_external.py来编译和安装它们。当然,在执行编译脚本前需要事先安装[http://www.python.org/ Python] 2.7+和[http://www.cmake.org/ CMake] 3.4+。 | |
| − | = | + | = 列表 = |
| − | + | 这是4.15版中External目录下包含库的完整列表。 | |
| − | + | ||
| − | + | ||
| − | = | + | {| class="wikitable" |
| − | + | |- | |
| + | ! 名字 !! 版本 !! 提供了CMake !! 需要编译 | ||
| + | |- | ||
| + | | [http://7-zip.org 7z] || {{No}}Forked git(修正了UWP和Android的编译问题) || 否 || 是 | ||
| + | |- | ||
| + | | [https://developer.android.com/ndk/downloads/index.html android_native_app_glue] || {{No}}修正过的16B || 否 || 否 | ||
| + | |- | ||
| + | | [https://github.com/assimp/assimp assimp] || git || 是 || 是 | ||
| + | |- | ||
| + | | [http://www.boost.org/ boost] || 精简的1.70.0,[[使用到的boost库|只用到了一部分]] || 是,但没用到 || 是 | ||
| + | |- | ||
| + | | [https://github.com/jarro2783/cxxopts cxxopts] || git ||是 || 否 | ||
| + | |- | ||
| + | | d3dcompiler || N/A || No || No | ||
| + | |- | ||
| + | | [https://github.com/gongminmin/FreeImage FreeImage] || {{No}}Forked git(修正了C++17、MinGW和ARM上的编译问题) || 否 || 是 | ||
| + | |- | ||
| + | | [https://www.freetype.org/ freetype] || git || 是 || 是 | ||
| + | |- | ||
| + | | [https://github.com/google/googletest googletest] || git || 是 || 是 | ||
| + | |- | ||
| + | | [https://github.com/xiph/ogg libogg] || git || 是 || 是 | ||
| + | |- | ||
| + | | [https://github.com/xiph/vorbis libvorbis] || git || 是 || 是 | ||
| + | |- | ||
| + | | [https://github.com/memononen/nanosvg nanosvg] || git || 否 || 否 | ||
| + | |- | ||
| + | | [https://github.com/kcat/openal-soft openal-soft] || git || 是 || 是 | ||
| + | |- | ||
| + | | [https://github.com/python/cpython Python] || {{No}}Forked git(修正了UWP和MinGW的编译问题) || 否 || 是 | ||
| + | |- | ||
| + | | [https://github.com/python-cmake-buildsystem/python-cmake-buildsystem python-cmake-buildsystem] || {{No}}Forked git(修正了Android、iOS、Python 3.7和MinGW的编译问题) || 是 || 是 | ||
| + | |- | ||
| + | | [https://github.com/Tencent/rapidjson rapidjson] || git || 是 || 否 | ||
| + | |- | ||
| + | | [https://github.com/valnoel/rapidxml rapidxml] || git || 否 || 否 | ||
| + | |- | ||
| + | | [https://github.com/gongminmin/UniversalDXSDK UniversalDXSDK] || 否 || 否 | ||
| + | |- | ||
| + | | [https://github.com/xceedsoftware/wpftoolkit wpftoolkit] || {{No}}Forked git (修改了输出目录结构) || 否 || 是 | ||
| + | |- | ||
| + | | [https://github.com/madler/zlib zlib] || git || Yes || Yes | ||
| + | |} | ||
| + | 除此之外,你还需要安装一个OpenGL ES SDK才能编译glloader_es和OpenGLES渲染系统。推荐使用[http://code.google.com/p/angleproject/ Google ANGLE]。 | ||
| − | + | [[en:Third-party libraries and tools]] | |
| − | + | [[ru:Сторонние библиотеки и инструменты]] | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
Latest revision as of 02:28, 26 July 2019
KlayGE的代码依赖于以下的第三方库和工具。从KlayGE 3.12开始,除了OpenGL ES的SDK,其他库和工具的代码将都包含在KlayGE中。用户可以通过调用build_external.py来编译和安装它们。当然,在执行编译脚本前需要事先安装Python 2.7+和CMake 3.4+。
列表
这是4.15版中External目录下包含库的完整列表。
| 名字 | 版本 | 提供了CMake | 需要编译 |
|---|---|---|---|
| 7z | Forked git(修正了UWP和Android的编译问题) | 否 | 是 |
| android_native_app_glue | 修正过的16B | 否 | 否 |
| assimp | git | 是 | 是 |
| boost | 精简的1.70.0,只用到了一部分 | 是,但没用到 | 是 |
| cxxopts | git | 是 | 否 |
| d3dcompiler | N/A | No | No |
| FreeImage | Forked git(修正了C++17、MinGW和ARM上的编译问题) | 否 | 是 |
| freetype | git | 是 | 是 |
| googletest | git | 是 | 是 |
| libogg | git | 是 | 是 |
| libvorbis | git | 是 | 是 |
| nanosvg | git | 否 | 否 |
| openal-soft | git | 是 | 是 |
| Python | Forked git(修正了UWP和MinGW的编译问题) | 否 | 是 |
| python-cmake-buildsystem | Forked git(修正了Android、iOS、Python 3.7和MinGW的编译问题) | 是 | 是 |
| rapidjson | git | 是 | 否 |
| rapidxml | git | 否 | 否 |
| UniversalDXSDK | 否 | 否 | |
| wpftoolkit | Forked git (修改了输出目录结构) | 否 | 是 |
| zlib | git | Yes | Yes |
除此之外,你还需要安装一个OpenGL ES SDK才能编译glloader_es和OpenGLES渲染系统。推荐使用Google ANGLE。