Inspired by Pygame. However, Rust is not Python and RustGame is not Pygame.
It is required to install SDL2 and OpenCV.
For the Rust SDL2 bindings Rust-SDL2, Requirements
For the Rust OpenCV bindings see twistedfall/opencv-rust or Rust bindings for OpenCV 3 & 4.
Install LLVM from LLVM Snapshot Builds.
Install OpenCV from OpenCV releases
Set the following environment variables:
environment variable | path |
---|---|
OPENCV_INCLUDE_PATHS |
.\opencv\build\include |
OPENCV_LINK_PATHS |
.\opencv\build\x64\vcXX\lib |
OPENCV_LINK_LIBS |
opencv_world4XX |
(add to) PATH |
.\opencv\build\x64\vc15\bin |