bugzmanov / nes_ebook

A mini book on writing NES emulator using rust lang
https://bugzmanov.github.io/nes_ebook/index.html
385 stars 68 forks source link

Chapter 3.4 regarding sdl2 possible error(Linux) #28

Closed polpokpol closed 3 months ago

polpokpol commented 1 year 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

For more info: https://github.com/Rust-SDL2/rust-sdl2

Josjfs commented 1 year ago

Thanks, was looking for this. How bout windows?

bugzmanov commented 3 months ago

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 :)