Skip to content

Instantly share code, notes, and snippets.

@FrendaWinter
Last active March 5, 2024 17:30
Show Gist options
  • Save FrendaWinter/cf735be89124018c54d32f61ae01d605 to your computer and use it in GitHub Desktop.
Save FrendaWinter/cf735be89124018c54d32f61ae01d605 to your computer and use it in GitHub Desktop.
Install ruby2d error with msys2

Open Msys2 shell

pacman -Syu

1. make error

pacman -S make

2. undefined reference to __intrinsic_setjmpex

pacman -S mingw-w64-ucrt-x86_64-SDL2_mixer

3. Collect2.exe error ld.exe return 37 exit code

pacman -S mingw-w64-ucrt-x86_64-gcc

The explain for all error above is seem like ruby2d can't build with mingw64 env, so we need to install ucrt64 library https://www.msys2.org/docs/environments/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment