Skip to content
Snippets Groups Projects
README.md 3.19 KiB

Boytacean SDL

Build

Build SDL using vcpkg

To be able to run the cargo build one must first install a local version of vcpkg using:

cargo install cargo-vcpkg
cargo vcpkg build
cargo build

Build SDL in Linux

For Linux you may need to install additional dependencies, they should be installed before running the cargo vcpkg build command.

Here's a listing with the bash command for Ubuntu:

sudo apt install libsdl2-dev libasound2-dev libpulse-dev

Build SDL in Windows