Building and Running Demo - Godlike/Pegasus GitHub Wiki
On Ubuntu:
Tested on Ubuntu 16.04.
-
Install essential components:
sudo apt-get install build-essential git cmake gcc g++ -
Install dependencies:
sudo apt-get install freeglut3 freeglut3-dev libglew1.5 libglew1.5-dev libglu1-mesa libglu1-mesa-dev libgl1-mesa-glx libgl1-mesa-dev libxtst-dev xvfb libxmu-dev libxi-dev libxinerama-dev -
Clone and initialize:
git clone [email protected]:Godlike/Pegasus.git && cd Pegasus
git submodule init && git submodule update --init --recursive -
Build:
mkdir build && cd build && cmake .. && make && chmod +x ./output/PegasusPhysics -
Run the demo:
./output/PegasusPhysics
On Windows:
Tested on Windows 10 VS 2017.
- Download GitHub Windows client
- Clone repository with the application from
[email protected]:Godlike/Pegasus.git - Download CMake GUI for Windows
- Create a Visual Studio Project using CMake GUI
- Open the solution in VS, build it and run
PegasusDemoproject.
On Mac OS:
Tested on Mac OS High Sierra.
- Install CMake
- Install Git
- Clone and initialize:
git clone [email protected]:Godlike/Pegasus.git && cd Pegasus
git submodule init && git submodule update --init --recursive - Build:
mkdir build && cd build && cmake .. && make && chmod +x ./output/PegasusPhysics - Run the demo:
./output/PegasusPhysics