Compiling

From PyWiki

Jump to: navigation, search

Contents

[edit] Introduction

Once you've set up a build environment, you can start playing around with the code and start compiling Python-Ogre's or your own modules.

[edit] Why

Why would you want to compile python-ogre when there are binaries available or nice build scripts that do that for you?

  • If you want a specific version of any library (eg, you want ogre 1.4.x while the binary ships with ogre 1.6.x)
  • If you would like to apply certain patches to various python-ogre supported libraries and use that in your project.
  • If you would like to wrap a (currently) unsupported library or your own C++ code.
  • Or, you would just like to learn how the entire process works.

[edit] What is needed

You'll need to set up the build environment, meaning all dependencies, tools and of course, the python-ogre source. Check the wiki for instructions.

[edit] Understanding the Process

todo

[edit] Extra Instructions

Each module can be compiled with the BuildModule.py script but some require aditional manual intervention. Check CompilingExtra for more information

Personal tools