Skip to content

ange-yaghi/scs-2d-demo

Repository files navigation

Simple Constraint Solver Demo

This is a simple demo project for the Simple 2D Constraint Solver System.

Alt text

Steps to Clone and Build

Note: this project currently only builds on Windows!

Step 1 - Clone the repository

git clone --recurse-submodules https://github.com/ange-yaghi/scs-2d-demo

Step 2 - Install CMake

Install the latest version of CMake here if it's not already installed.

Step 3 - Install Dependencies

You will need to install the following dependencies and CMake will need to be able to locate them (ie. they need to be listed on your PATH):

1. SDL2
2. SDL2_image
3. Boost (make sure to build the optional dependencies)

Step 4 - Build and Run

From the root directory of the project, run the following commands:

mkdir build
cd build
cmake ..
cmake --build .

If these steps are successful, a Visual Studio solution will be generated in build. You can open this project with Visual Studio and then run the scs-2d-demo project. If you encounter an error telling you that you're missing DLLs, you will have to copy those DLLs to your EXE's directory.

About

Demo for the Simple 2D Constraint Solver.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published