A Pokémon-styled game written in Rust for our computer science capstone project at the University of Kansas.
For cross compilation on Linux to Windows:
- Download SDL2 mingw64 devel, SDL2_image mingw64 devel, and SDL2_ttf mingw64 devel from respective repositories
- Unzip
- Copy files
cp -r SDL2-<ver>/x86_64-w64-mingw32/lib/* ~/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib && cp -r SDL2_image-<ver>/x86_64-w64-mingw32/lib/* ~/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib
- Copy SDL2.dll and SDL2_image.dll from the respective
mingw32/bin
directories into the rustymon folder - Download SDL2 ttf win32-x64 zip and extract dll to Rustymon folder.
For compilation on macOS for Apple Silicon:
- Download the SDL2, SDL2_image, and SDL2_ttf packages from brew.
brew install SDL2 SDL2_image SDL2_ttf
- Export the proper
LIBRARY_PATH
environment variable to your shell