crystal-shards-on-msys2
crystal-shards-on-msys2
This repository contains a list of Crystal shards that use third-party library bindings and are known to work out-of-the-box under MSYS2, a native Windows software distribution that provides a POSIX-compliant shell environment and a package manager. These shards require zero or minimal Windows-specific configuration, compared to building on non-Windows platforms like Linux or macOS.
Each subdirectory has a Makefile with 4 targets: all builds the main test executable, run builds and runs it, lib sets up the dependencies only, and clean removes the executable plus the shards.
Libraries
Feel free to create a GitHub pull request if your shard also works, or an issue if it does not work! (This repository is focused on library wrappers at the moment, but this might change in the future.)
| Subdirectory | Shard | Notes |
|---|---|---|
| glfw | espresso | |
| gtk4 | gtk4 | Official MSYS2 guide. |
| raylib | raylib-cr | Installs files to $MINGW_PREFIX, can be reverted using rsrc/native/msys2/uninstall.sh. |
| sdl2 | sdl | SDL2_image, SDL2_ttf, and SDL2_mixer not verified. |
| sdl3 | sdl-crystal-bindings | SDL3_image and SDL3_ttf not verified. SDL3_mixer currently unavailable on MSYS2. |
| sqlite3 | sqlite3 |
crystal-shards-on-msys2
- 0
- 0
- 0
- 0
- 0
- 4 months ago
- July 30, 2025
Tue, 23 Dec 2025 04:24:42 GMT