Note that we have binary distributions, so building from source is not necessary.

Building OpenSG 1.X

Building on Linux

Building on Windows

Building on MacOS X

Building OpenSG 2.0

We are using SCons to build the system. A working scons copy is included in the svn repository which should be used to avoid build problems.

  • Install python from http://www.python.org/ Add the python install directory (e.g. C:\Python25) to the PATH environment variable.
  • You will need boost. You can get it here: download boost (Version 1.33.1 is known to be working)

Be aware that you need the following VS versions:

  • VS 2005 with SP1 installed
  • VS 2003 with SP1 installed (can someone doublecheck this?)

To build it, execute the following command in the base project directory (example: C:\src\pro\opensg2).

python Tools\scons-local\scons.py 

It should find all existing dependencies automatically.

If you need to customize the build options or just want to see the options available, just execute:

python Tools\scons-local\scons.py --help

To build it under windows, type:

python Tools\scons-local\scons.py BoostBaseDir=c:\programs\boost\boost_1_33_1 enable_unittests=false

If you have multiple versions of VS installed on your machine, you can use the MSVS_VERSION flag (currently not covered by —help) to use a specific version.

  • VS 2003: MSVS_VERSION=7.1
  • VS 2005: MSVS_VERSION=8.0

The following command will invoke scons and use an existing VS 2003 installation:

python Tools\scons-local\scons.py BoostBaseDir=c:\programs\boost\boost_1_33_1 enable_unittests=false MSVS_VERSION=7.1

Building on MacOS X