Closed polpokpol closed 3 months ago
ld: library not found for -lSDL2
Open terminal and install: Ubuntu: sudo apt-get install libsdl2-dev or Fedora: sudo dnf install SDL2-devel or Arch: sudo pacman -S sdl2
sudo apt-get install libsdl2-dev
sudo dnf install SDL2-devel
sudo pacman -S sdl2
For more info: https://github.com/Rust-SDL2/rust-sdl2
Thanks, was looking for this. How bout windows?
Have added a link and instruction that sdl2 dev lib needs to be installed as a per-requisite.
PS Damn.. this is a year old issue :)
ld: library not found for -lSDL2
Open terminal and install: Ubuntu:
sudo apt-get install libsdl2-dev
or Fedora:sudo dnf install SDL2-devel
or Arch:sudo pacman -S sdl2
For more info: https://github.com/Rust-SDL2/rust-sdl2