CELayout Editor - Getting Started / Building
There are two ways to get the editor. The easiest one is to download the precompiled package from the Download/Tools section from CEGUI's main site. At this moment, only a Windows package is available.
If you want it the "hard" way, there are a few steps to take:
1. Download or checkout CEGUI
You need at least a post-0.3.0 CEGUI package, because of the new Falagard support. For details see the main website and/or the Download section. Make sure you don't forget the correct dependencies!
2. Download the editor code
You can checkout the module from cvs, which settings are (for basic anonymous access):
- CVSROOT= :pserver:anonymous@cvs.sf.net:/cvsroot/crayzedsgui
- Module= CELayoutEditor
This will get you the latest (wxWidgets) version. You can optionally still checkout the MFC version, for which you must specify the before_wxwidgets tag.
3. Download wxWidgets
Distributions for many platforms can be found here.
4. Configure wxWidgets
Because the editor uses the wxGLCanvas, make sure that the setup.h file for your distribution has the wxUSE_GLCANVAS define set to 1. After that, see the install.txt file for compilation details for your distribution.
5. Compiling everything
- Windows: the vc++6 folder contains a Visual Studio 6 project; conversions should happen automatically when opening on newer versions.
Note that i had problems getting the application to link correctly with wxWidgets dll's, so i have build wxWidgets as static libraries myself.
- Linux: the root of the folder contains the required bootstrap-, configuration- and makefile to build the editor. You can optionally set the CELAYOUTEDITOR_DATAPATH environment variable to point the editor to the correct 'datafiles' directory. If you ommit that, the editor tries to find the 'datafiles' in the CLEDITOR_DATAPATH folder. See the configuration file for details.
- Mac OS: hopefully, we will have a mac-compatible project or makefile soon as well, so watch this space! :-)