How To Compile

cybersphinx edited this page Sep 14, 2010 · 4 revisions
Clone this wiki locally

Get the source

  1. Make a new folder (ie.. PenumbraGame)
  2. Check out the source code for OALWrapper, HPL1Engine and PenumbraOverture in this folder
  3. Download and extract the “Dependencies” zip in this folder.

Windows

  1. Load the Penumbra Overture Visual Studio Project file
  2. Build

Mac OS X

  1. Load up the PenumbraOverture xcode project
  2. Build

Linux
It is currently only possible to build as 32-bit binary.

  1. from a terminal go into the PenumbraOverture directory
  2. run “cmake .”
  3. run make

If you’re on a 64-bit Linux system with the necessary 32-bit compiler packages, run

  1. “cmake -DCMAKE_CXX_FLAGS=-m32 -DCMAKE_C_FLAGS=-m32 -DCMAKE_LD_FLAGS=-m32 .”

instead of “cmake .”.