Skip to content

Building and Running Demo

Ilya Glushchenko edited this page Mar 17, 2018 · 24 revisions

On Ubuntu:

Tested on Ubuntu 16.04.

  1. Install essential components:
    sudo apt-get install build-essential git cmake gcc g++

  2. 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

  3. Clone and initialize:
    git clone git@github.com:Godlike/Pegasus.git && cd Pegasus
    git submodule init && git submodule update --init --recursive

  4. Build:
    mkdir build && cd build && cmake .. && make && chmod +x ./output/PegasusPhysics

  5. Run the demo:
    ./output/PegasusPhysics

On Windows:

Tested on Windows 10 VS 2017.

  1. Download GitHub Windows client
  2. Clone repository with the application from git@github.com:Godlike/Pegasus.git
  3. Download CMake GUI for Windows
  4. Create a Visual Studio Project using CMake GUI
  5. Open the solution in VS, build it and run PegasusDemo project.

On Mac OS:

Tested on Mac OS High Sierra.

  1. Install CMake
  2. Install Git
  3. Clone and initialize:
    git clone git@github.com:Godlike/Pegasus.git && cd Pegasus
    git submodule init && git submodule update --init --recursive
  4. Build:
    mkdir build && cd build && cmake .. && make && chmod +x ./output/PegasusPhysics
  5. Run the demo:
    ./output/PegasusPhysics
Clone this wiki locally