Skip to content

Instantly share code, notes, and snippets.

View Thorbear's full-sized avatar

Torbjørn Sørli Thorbear

View GitHub Profile
@Thorbear
Thorbear / compilation.out
Created May 4, 2017 08:15
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
import android.annotation.TargetApi;
import android.nfc.Tag;
import android.nfc.tech.IsoDep;
import android.os.Build;
import android.os.Handler;
import android.os.HandlerThread;
import android.os.Looper;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.util.Log;