Installation guide¶
Note: as of yet, SGE has not been optimized for easy installation.
Prerequisites¶
Visual Studio 2019 or greater (any edition)
Windows, obviously
Installation Procedure¶
Begin by cloning the SGE repository from GitHub (https://www.github.com/Forwardspace/SGE)
Go to https://glad.dav1d.de/ (GLAD homepage) and set the gl API version to the latest value
Check “Generate a loader”, “Generate” and dowload glad.zip, extract it in SGE/packages/
(important) Drag the glad.c file to the “Source files” folder in Visual Studio to add it to the project
Configure Bullet Physics, build LinearMath, BulletCollision, BulletDynamics and BulletSoftBody
Copy the built libraries in a new folder called “lib” under “bullet3”.
Copy the “src” directory from the bullet source to the previously created “bullet3”
Open the .sln file in Visual Studio
Click Build > Build all and wait
You’ve now got an up-to-date version of SGE. You can edit the source code or run the program using the button “Local Windows Debugger”. When you’re ready, continue to the Quick Start Guide.