Building the CEGUI dependencies
Similar to OGRE, CEGUI also makes use of a set of dependencies that need to be built. However, there is a greater variety of configurable options. And this increased freedom of configuration comes at the cost of increased complexity.Download the dependencies
The dependencies should be available for various versions. In this tutorial I shall assume that the version 0.8.2 is used for CEGUI. The dependency package for it should be here:http://prdownloads.sourceforge.net/crayzedsgui/cegui-deps-0.8.x-src.zip?download
If a new version of CEGUI is released, a dependency package for it should also be available. If it isn't, you can get the individual libraries, as you need them. You don't need all of them. Download the dependencies and decompress them on your local drive (E.g. c:\code\cegui-deps-0.8.x-src\)
Build the dependency projects and solution
If you browse the dependency folder, you should find the familiar CMakeLists.txt file. So please launch CMake and open the folder where you store the dependencies. Use the same folder for both source and destination (E.g. c:\code\cegui-deps-0.8.x-src\).CMake: configuration of CEGUI dependencies |
I recommend that you only leave the following options checked:
- CEGUI_BUILD_EXPAT: this will be to enable expat as the default XML provider
- CEGUI_BUILD_FREETYPE2: this will be to add support for freetype.
- CEGUI_BUILD_LUA: this will add Lua scripting support
- CEGUI_BUILD_PCRE: will add regular expression support
- CEGUI_BUILD_SILLY: the default image codec for CEGUI: SILLY
- CEGUI_BUILD_TOLUAPP: Use toluapp with Lua
- CEGUI_BUILD_GLEW - GL support
- CEGUI_BUILD_GLFW - GL support
- CEGUI_BUILD_GLM - GL support
Click the Configure button again and then Generate.
Open the generated solution file (E.g. c:\code\cegui-deps-0.8.x-src\CEGUI-DEPS.sln) and build it in both Release and Debug configurations.
No comments:
Post a Comment