Difference between revisions of "Building CEED for Windows"

From CEGUI Wiki - Crazy Eddie's GUI System (Open Source)
Jump to: navigation, search
(Build pyCegui)
(Build pyCegui)
Line 32: Line 32:
 
* Check that the branch of your working directory is really v0-8 after cloning, if not then update to the latest v0-8 commit
 
* Check that the branch of your working directory is really v0-8 after cloning, if not then update to the latest v0-8 commit
 
* Open CMake and set the source code folder to your new local folder, e.g.: C:/pyCegui and the binaries to something like C:/pyCegui/build
 
* Open CMake and set the source code folder to your new local folder, e.g.: C:/pyCegui and the binaries to something like C:/pyCegui/build
 +
* Set the paths to your Python and boost .lib files and and include directories in CMake
 +
* Unselect Building the samples and select only OpenGL3 and OpenGL out of the available renderers to build
 +
* Set CEGUI_BUILD_PYTHON_MODULES to be selected / checked

Revision as of 17:49, 13 May 2014

The following instructions need to be done in the presented order and are created for the currently available version of CEED (current date: 12. March, 2014) and could therefore be outdated at some point. Please notify us if you think this is outdated.


Installing the prerequisites

When downloading/installing binaries, always choose the 32-bit and VC9 (visual studio 2008) versions of the binaries

Installing Python

  • Get Python 2.7.6 (32 bit version) for Windows and install it: https://www.python.org/downloads/
  • Add your Python install folder path to the PATH variable in your Windows environment variables, e.g.: A:\Programs\Python27
  • Now add the Scripts folder to the PATH environment variable, e.g.: A:\Programs\Python27\Scripts
  • Open up Windows PowerShell with admin rights and type "python" - See if you get something written into the console, such as "Python 2.7.6 (default [...]", if this is the case then the install worked.

Installing pip

  • Install the latest pip distribution: First download get-pip.py : http://pip.readthedocs.org/en/latest/installing.html
  • Open up Windows PowerShell with admin rights, change to the folder to which you downloaded "get-pip.py" by using the "cd" command, e.g.: cd "A:/Downloads/Not porn"
  • Type "python get-pip.py" and click enter in the Windows PowerShell
  • PowerShell should now install pip
  • Afterwards write "pip" and click enter. You should get some sort of information about pip now, if the install succeeded.

Installing pyside

  • Now you can install pyside easily with the following command: "pip install -U PySide"
  • You should get a console output notifying you of a successful install

Installing pyOpenGL

= Installing boost binaries

Build pyCegui

  • Clone CEGUI v0-8 from the CEGUI repository to a new local folder https://bitbucket.org/cegui/cegui/branch/v0-8 , e.g. to C:/pyCegui
  • Check that the branch of your working directory is really v0-8 after cloning, if not then update to the latest v0-8 commit
  • Open CMake and set the source code folder to your new local folder, e.g.: C:/pyCegui and the binaries to something like C:/pyCegui/build
  • Set the paths to your Python and boost .lib files and and include directories in CMake
  • Unselect Building the samples and select only OpenGL3 and OpenGL out of the available renderers to build
  • Set CEGUI_BUILD_PYTHON_MODULES to be selected / checked