Skip to content
This repository was archived by the owner on May 2, 2024. It is now read-only.

Getting Started

adam4813 edited this page Mar 22, 2014 · 5 revisions

Introduction

Sigma is meant to be a next-gen engine design. When something is next-gen or cutting edge it means that there usually isn't something similar out yet, and as such means that the gears are well oiled and might not spin as well as they could.

The build process might seem complex, but, if followed properly, it should be painless.

Download the Prerequisites

Linux download with the appropriate package manager.

Windows Create a new folder named something like Sigma Libraries and place the download inside (either the source or binary package).

  • GLEW 1.10 - GL extensions pointer wrapper (not needed on OS X)
  • GLFW 3.0.0 - platform abstraction
  • GLM 0.9.5 - GL math
  • Bullet 2.81 - physics
  • OpenAL Soft 1.15.1 - OpenAL audio
  • libogg 1.3.1 - Codec for OpenAL
  • libvorbis 1.3.3 - Codec for OpenAL

Building the Prerequisites

Linux This step will most likely be done when downloading from the package manager.

Windows You must either get the prebuilt binary package or build each library (build the shared version unless otherwise stated). After you build the source you will need to copy them to sigma/lib/x86 (create this if it doesn't exist).

GLFW

Linux You must use at the minimum GLFW3, so in most cases you would need to download and build this manually!

  1. First, follow the instructions on the page: GLFW Building. (This will build as a static library by default. Leave it that way.)
  2. Next, copy the libraries from glfw/build/src/[Debug|Release] into sigma/lib/x86/[debug|release]
  3. Finally, copy the include files from glfw/include to sigma/include/libraries

GLEW

  1. First, follow the instructions on the page: GLEW Building.
  2. Next, copy the libraries from glew/lib/[Debug|Release]/Win32 into sigma/lib/x86/[debug|release]
  3. Finally, copy the include files from glfw/include to sigma/include/libraries

Bullet

  1. First, follow the instructions on the page: Bullet Building.
  2. Next, copy the libraries from bullet/build/lib/[Debug|Release]/Win32 into sigma/lib/x86/[debug|release]
  3. Finally, copy the include files from bullet/src to sigma/include/libraries

GLM.

GLM is a header only library. You must copy the glm/glm folder into sigma/include/libraries/glm (The contents of the glm/glm folder will now be in libraries/glm, or you can just copy the glm folder in glm and paste it in include/libraries.)

Clone this wiki locally