Skip to content

Instantly share code, notes, and snippets.

@Thorbear
Created May 4, 2017 08:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Thorbear/e69840b9c52f44784d8052cf557b6721 to your computer and use it in GitHub Desktop.
Save Thorbear/e69840b9c52f44784d8052cf557b6721 to your computer and use it in GitHub Desktop.
MAngband SDL error
client/maim-sdl.o:
In function `SDL_ScaleBlit':
/home/d/math/src/games/roguelike/angband/mangband/mangband-version-1_1_4/src/client/maim-sdl.c:179: undefined reference to `ifloor'
/home/d/math/src/games/roguelike/angband/mangband/mangband-version-1_1_4/src/client/maim-sdl.c:181: undefined reference to `ifloor'.
/home/d/math/src/games/roguelike/angband/mangband/mangband-version-1_1_4/src/client/maim-sdl.c:194: undefined reference to `SDL_GetPixel'.
/home/d/math/src/games/roguelike/angband/mangband/mangband-version-1_1_4/src/client/maim-sdl.c:181: undefined reference to `iceil'.
/home/d/math/src/games/roguelike/angband/mangband/mangband-version-1_1_4/src/client/maim-sdl.c:179: undefined reference to `iceil'.
/home/d/math/src/games/roguelike/angband/mangband/mangband-version-1_1_4/src/client/maim-sdl.c:215: undefined reference to `SDL_PutPixel'.
collect2: error: ld returned 1 exit status.
Makefile:346: recipe for target 'mangclient' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment