Skip to content
Mikko Kortelainen edited this page Aug 12, 2015 · 6 revisions

#Compiling CEED Cegui Editor

The compile flags we use to create the cegui-library for OpenTechBFG are not compatible with CEED. So we compile it once more to support the editor.

Dependencies: freeimage-devel pyside-tools boost-python PyOpenGL LibXML2-devel GLFW-devel mercurial

CEGUI wiki instructions don't really have it too straight so we use these lines instead of just "cmake".

cmake -DCEGUI_BUILD_PYTHON_MODULES=ON -DCEGUI_BUILD_RENDERER_OPENGL=ON -DCEGUI_BUILD_RENDERER_OPENGL3=ON -D CEGUI_BUILD_IMAGECODEC_FREEIMAGE=ON -DCEGUI_OPTION_DEFAULT_IMAGECODEC=FreeImageImageCodec -DCEGUI_BUILD_XMLPARSER_LIBXML2=ON -DCEGUI_OPTION_DEFAULT_XMLPARSER=LibXMLParser ../

Fedora

dnf install freeimage-devel libxml2-devel PyOpenGL freetype-devel SDL2-devel glew-devel glfw-devel gtk2-devel boost-devel python-devel python-pyside pyside-tools glm-devel

cmake -DCEGUI_BUILD_PYTHON_MODULES=ON -DCEGUI_BUILD_RENDERER_OPENGL=ON -DCEGUI_BUILD_RENDERER_OPENGL3=ON -D CEGUI_BUILD_IMAGECODEC_FREEIMAGE=ON -DCEGUI_OPTION_DEFAULT_IMAGECODEC=FreeImageImageCodec -DCEGUI_BUILD_XMLPARSER_LIBXML2=ON -DCEGUI_OPTION_DEFAULT_XMLPARSER=LibXMLParser ../

Clone this wiki locally