-
Notifications
You must be signed in to change notification settings - Fork 18
Getting Started
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.
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.4 - Codec for OpenAL
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).
Linux You must use at the minimum GLFW3, so in most cases you would need to download and build this manually!
- First, follow the instructions on the page: GLFW Building. (This will build as a static library by default. Leave it that way.)
- Next, copy the libraries from
glfw/build/src/[Debug|Release]
intosigma/lib/x86/[debug|release]
- Finally, copy the include folder from
glfw/include
tosigma/include/libraries
- First, follow the instructions on the page: GLEW Building.
- Next, copy the libraries from
glew/lib/[Debug|Release]/Win32
intosigma/lib/x86/[debug|release]
- Finally, copy the include folder from
glew/include
tosigma/include/libraries
- First, follow the instructions on the page: Bullet Building.
- Next, copy the libraries from
bullet/build/lib/[Debug|Release]/Win32
intosigma/lib/x86/[debug|release]
- Finally, copy the include files from
bullet/src
tosigma/include/libraries/bullet
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.)
- First, follow the instructions on the page (near the bottom): OpenAL Soft Homepage.
- Next, copy OpenAL32.lib from
openal-soft/build/[Debug|Release]
intosigma/lib/x86/[debug|release]
- Finally, copy the AL folder from
openal-soft/include
tosigma/include/libraries
- First, open the libogg folder.
- Use the appropriate build folder and files for your platform and build the static library version.
- Copy the folder in
libbogg/inlcude
into BOTH thelibvorbis/include
folder andsigma/include/libraries
- Go inside the libvorbis folder.
- Use the appropriate build folder and files for your platform and build the static library version (this may error for some projects, but as long as the libvorbis_static project builds you're fine).
- Copy the include folder from
libvorbis/include/
tosigma/include/libraries
- Finally copy the lib (libogg_static.lib from BOTH the libvorbis and libogg platform/[Debug|Release] into
sigma/lib/x86/[debug|release]