How to get CEED from Mercurial running
Posted: Sun May 01, 2011 14:39
EDIT: kornerr started a wiki article about this, all new info should be put there - http://www.cegui.org.uk/wiki/index.php/CEED
The info here should be migrated there in the meantime, volunteers are welcome.
This guide describes the recommended approach for Linux and MacOSX users to get CEED running and also Windows users who would like to contribute to the development.
CEED is written in Python and uses PySide to interface with Qt4, PyOpenGL to interface with OpenGL and PyCEGUI to interface with CEGUI (CEGUI is embedded and running inside the editor).
Getting all dependencies:
1) Python (I tested Python 2.6 and Python 2.7, Python 2.7 is recommended as that's what I work on)
- should be in your distribution's package system
- python.org provides binary installers for Windows
2) PySide (I develop on 1.0.8 or nightly builds but 1.0.5+ should work too)
- is in Ubuntu 11.04/11.10 repository, or head over to pyside.org to get the packages
- pyside.org provides binary installers for Windows and MacOSX
3) PyOpenGL (I develop on 3.0.1)
- pypi provides packages
4) PyCEGUI
- this is the toughest dependency by far
- get boost python from boostpro.com or your repository or build boost yourself (I have built it myself on MacOSX, it was far less difficult than I thought)
- to get this to Linux/MacOS you will have to build CEGUI 0.8
- get default branch from mercurial (http://crayzedsgui.hg.sourceforge.net/h ... cegui_mk2/)
- use cmake/cmake-gui to configure, make sure to !enable python module!
- Linux/BSD/MacOSX: make && sudo make install OR use runwrapper.sh script from CEED repo (you don't have to install in this case, this helps in cases where you need to have CEGUI 0.7 in the system)
- Windows: Use the generated project files or whatnot, open them with your visual studio 20XX and press build.
Clone default branch of CEED
- http://crayzedsgui.hg.sourceforge.net/h ... sgui/CEED/
- go to the bin directory
- Linux/BSD/MacOSX: run ./runwrapper.sh (edit it first and make sure the paths are right), it spawns another shell. In that shell run ./ceed-gui for CEED GUI, ./ceed-migrate for asset migration and ./ceed-mic for metaimageset compiling
- Windows/system-wide install: or run ceed-gui directly if you installed globally
The editor window should pop up.
The info here should be migrated there in the meantime, volunteers are welcome.
This guide describes the recommended approach for Linux and MacOSX users to get CEED running and also Windows users who would like to contribute to the development.
CEED is written in Python and uses PySide to interface with Qt4, PyOpenGL to interface with OpenGL and PyCEGUI to interface with CEGUI (CEGUI is embedded and running inside the editor).
Getting all dependencies:
1) Python (I tested Python 2.6 and Python 2.7, Python 2.7 is recommended as that's what I work on)
- should be in your distribution's package system
- python.org provides binary installers for Windows
2) PySide (I develop on 1.0.8 or nightly builds but 1.0.5+ should work too)
- is in Ubuntu 11.04/11.10 repository, or head over to pyside.org to get the packages
- pyside.org provides binary installers for Windows and MacOSX
3) PyOpenGL (I develop on 3.0.1)
- pypi provides packages
4) PyCEGUI
- this is the toughest dependency by far
- get boost python from boostpro.com or your repository or build boost yourself (I have built it myself on MacOSX, it was far less difficult than I thought)
- to get this to Linux/MacOS you will have to build CEGUI 0.8
- get default branch from mercurial (http://crayzedsgui.hg.sourceforge.net/h ... cegui_mk2/)
- use cmake/cmake-gui to configure, make sure to !enable python module!
- Linux/BSD/MacOSX: make && sudo make install OR use runwrapper.sh script from CEED repo (you don't have to install in this case, this helps in cases where you need to have CEGUI 0.7 in the system)
- Windows: Use the generated project files or whatnot, open them with your visual studio 20XX and press build.
Clone default branch of CEED
- http://crayzedsgui.hg.sourceforge.net/h ... sgui/CEED/
- go to the bin directory
- Linux/BSD/MacOSX: run ./runwrapper.sh (edit it first and make sure the paths are right), it spawns another shell. In that shell run ./ceed-gui for CEED GUI, ./ceed-migrate for asset migration and ./ceed-mic for metaimageset compiling
- Windows/system-wide install: or run ceed-gui directly if you installed globally
The editor window should pop up.