smcameron / space-nerds-in-space

Multi-player spaceship bridge simulator game. Captain your starship through adventures with your friends. See https://smcameron.github.io/space-nerds-in-space
GNU General Public License v2.0
724 stars 73 forks source link

Installation guide isn't listing libsdl2-image-dev #314

Closed DonFruendo closed 2 years ago

DonFruendo commented 2 years ago

OS: Pop!_OS 20.04 (Ubuntu 20.04 derivative)

I followed the update guide here, but was unable to make until i installed apt install libsdl2-image-dev. The failing bit was this code:

  COMPILE snis_client.c
snis_client.c:54:10: fatal error: SDL2/SDL_image.h: No such file or directory
   54 | #include <SDL2/SDL_image.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:888: object_files/snis_client.o] Error 1

I did install libsdl2-dev and libsdl2-2.0-0 beforehand as described in the guide, but that was apparently not enough :disappointed:

Maybe you could add a hint to the file that this package can be required :slightly_smiling_face: Thanks!

smcameron commented 2 years ago

Thanks for pointing it out, I think it's a recent commit that introduced this dependency: 9baabd1d4f533a8b0dd9f7a49fc71bf097090f15

smcameron commented 2 years ago

Should be fixed by these two commits that update the README.md and gh-pages index.html files.