gcc -DINTERNAL -opowder -Wall -std=c99 -D_POSIX_C_SOURCE=200112L -Iincludes/ -O3 -ffast-math -ftree-vectorize -funsafe-math-optimizations -lSDL -lm -lbz2 -march=native -DX86 -DX86_SSE3 -msse3 src/*.c -DLIN64 In file included from includes/powder.h:4, from src/air.c:3: includes/graphics.h:3:21: error: SDL/SDL.h: No such file or directory In file included from includes/powder.h:4, from src/air.c:3: includes/graphics.h:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token In file included from includes/powder.h:6, from src/air.c:3: includes/interface.h:87: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sdl_mod’ src/air.c: In function ‘update_air’: src/air.c:138: warning: implicit declaration of function ‘memcpy’ src/air.c:138: warning: incompatible implicit declaration of built-in function ‘memcpy’ src/air.c: At top level: includes/powder.h:409: warning: inline function ‘parts_avg’ declared but never defined includes/powder.h:401: warning: inline function ‘is_wire_off’ declared but never defined includes/powder.h:395: warning: inline function ‘is_wire’ declared but never defined includes/powder.h:389: warning: inline function ‘delete_part’ declared but never defined includes/powder.h:383: warning: inline function ‘create_part’ declared but never defined includes/graphics.h:99: warning: inline function ‘blendpixel’ declared but never defined includes/graphics.h:75: warning: inline function ‘drawchar’ declared but never defined includes/graphics.h:69: warning: inline function ‘drawpixel’ declared but never defined src/graphics.c:2:21: error: SDL/SDL.h: No such file or directory In file included from includes/powder.h:4, from src/graphics.c:17: includes/graphics.h:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token In file included from includes/powder.h:6, from src/graphics.c:17: includes/interface.h:87: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sdl_mod’ src/graphics.c:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token src/graphics.c: In function ‘sdl_blit_1’: src/graphics.c:76: warning: implicit declaration of function ‘SDL_MUSTLOCK’ src/graphics.c:76: error: ‘sdl_scrn’ undeclared (first use in this function) src/graphics.c:76: error: (Each undeclared identifier is reported only once src/graphics.c:76: error: for each function it appears in.) src/graphics.c:77: warning: implicit declaration of function ‘SDL_LockSurface’ src/graphics.c:82: warning: implicit declaration of function ‘memcpy’ src/graphics.c:82: warning: incompatible implicit declaration of built-in function ‘memcpy’ src/graphics.c:87: warning: implicit declaration of function ‘SDL_UnlockSurface’ src/graphics.c:88: warning: implicit declaration of function ‘SDL_UpdateRect’ src/graphics.c: In function ‘sdl_blit_2’: src/graphics.c:96: error: ‘sdl_scrn’ undeclared (first use in this function) src/graphics.c: In function ‘clearrect’: src/graphics.c:895: warning: implicit declaration of function ‘memset’ src/graphics.c:895: warning: incompatible implicit declaration of built-in function ‘memset’ src/graphics.c: In function ‘draw_parts’: src/graphics.c:1177: warning: unused variable ‘pt’ src/graphics.c: In function ‘render_signs’: src/graphics.c:2073: warning: implicit declaration of function ‘strcmp’ src/graphics.c: In function ‘prepare_alpha’: src/graphics.c:2138: warning: incompatible implicit declaration of built-in function ‘memset’ src/graphics.c: In function ‘sdl_open’: src/graphics.c:2518: warning: implicit declaration of function ‘SDL_Init’ src/graphics.c:2518: error: ‘SDL_INIT_VIDEO’ undeclared (first use in this function) src/graphics.c:2520: warning: implicit declaration of function ‘SDL_GetError’ src/graphics.c:2520: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’ src/graphics.c:2523: error: ‘SDL_Quit’ undeclared (first use in this function) src/graphics.c:2541: error: ‘sdl_scrn’ undeclared (first use in this function) src/graphics.c:2541: warning: implicit declaration of function ‘SDL_SetVideoMode’ src/graphics.c:2541: error: ‘SDL_SWSURFACE’ undeclared (first use in this function) src/graphics.c:2546: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’ src/graphics.c:2549: warning: implicit declaration of function ‘SDL_WM_SetCaption’ src/graphics.c:2551: warning: implicit declaration of function ‘SDL_EnableUNICODE’ src/graphics.c: At top level: includes/misc.h:39: warning: inline function ‘restrict_flt’ declared but never defined includes/misc.h:33: warning: inline function ‘clamp_flt’ declared but never defined includes/misc.h:27: warning: inline function ‘isign’ declared but never defined includes/powder.h:409: warning: inline function ‘parts_avg’ declared but never defined includes/powder.h:401: warning: inline function ‘is_wire_off’ declared but never defined includes/powder.h:395: warning: inline function ‘is_wire’ declared but never defined includes/powder.h:389: warning: inline function ‘delete_part’ declared but never defined includes/powder.h:383: warning: inline function ‘create_part’ declared but never defined In file included from includes/powder.h:4, from src/interface.c:11: includes/graphics.h:3:21: error: SDL/SDL.h: No such file or directory In file included from includes/powder.h:4, from src/interface.c:11: includes/graphics.h:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token In file included from includes/powder.h:6, from src/interface.c:11: includes/interface.h:87: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sdl_mod’ src/interface.c:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sdl_mod’ src/interface.c: In function ‘add_sign_ui’: src/interface.c:128: warning: implicit declaration of function ‘SDL_GetMouseState’ src/interface.c:197: error: ‘SDLK_RETURN’ undeclared (first use in this function) src/interface.c:197: error: (Each undeclared identifier is reported only once src/interface.c:197: error: for each function it appears in.) src/interface.c:199: error: ‘SDLK_ESCAPE’ undeclared (first use in this function) src/interface.c: In function ‘ui_edit_process’: src/interface.c:290: error: ‘SDLK_HOME’ undeclared (first use in this function) src/interface.c:293: error: ‘SDLK_END’ undeclared (first use in this function) src/interface.c:296: error: ‘SDLK_LEFT’ undeclared (first use in this function) src/interface.c:300: error: ‘SDLK_RIGHT’ undeclared (first use in this function) src/interface.c:304: error: ‘SDLK_DELETE’ undeclared (first use in this function) src/interface.c:305: error: ‘sdl_mod’ undeclared (first use in this function) src/interface.c:305: error: ‘KMOD_LCTRL’ undeclared (first use in this function) src/interface.c:305: error: ‘KMOD_RCTRL’ undeclared (first use in this function) src/interface.c:310: error: ‘SDLK_BACKSPACE’ undeclared (first use in this function) src/interface.c: In function ‘error_ui’: src/interface.c:563: error: ‘SDLK_RETURN’ undeclared (first use in this function) src/interface.c:565: error: ‘SDLK_ESCAPE’ undeclared (first use in this function) src/interface.c: In function ‘info_ui’: src/interface.c:608: error: ‘SDLK_RETURN’ undeclared (first use in this function) src/interface.c:610: error: ‘SDLK_ESCAPE’ undeclared (first use in this function) src/interface.c: In function ‘confirm_ui’: src/interface.c:670: error: ‘SDLK_RETURN’ undeclared (first use in this function) src/interface.c:675: error: ‘SDLK_ESCAPE’ undeclared (first use in this function) src/interface.c: In function ‘login_ui’: src/interface.c:754: error: ‘SDLK_RETURN’ undeclared (first use in this function) src/interface.c:754: error: ‘SDLK_TAB’ undeclared (first use in this function) src/interface.c:761: error: ‘SDLK_ESCAPE’ undeclared (first use in this function) src/interface.c: In function ‘stamp_ui’: src/interface.c:935: error: ‘SDLK_RETURN’ undeclared (first use in this function) src/interface.c:937: error: ‘SDLK_ESCAPE’ undeclared (first use in this function) src/interface.c: In function ‘tag_list_ui’: src/interface.c:1069: error: ‘SDLK_RETURN’ undeclared (first use in this function) src/interface.c:1079: error: ‘SDLK_ESCAPE’ undeclared (first use in this function) src/interface.c: In function ‘save_name_ui’: src/interface.c:1181: error: ‘SDLK_RETURN’ undeclared (first use in this function) src/interface.c:1199: error: ‘SDLK_ESCAPE’ undeclared (first use in this function) src/interface.c: In function ‘menu_ui’: src/interface.c:1389: error: ‘SDLK_RETURN’ undeclared (first use in this function) src/interface.c:1391: error: ‘SDLK_ESCAPE’ undeclared (first use in this function) src/interface.c: In function ‘sdl_poll’: src/interface.c:1551: error: ‘SDL_Event’ undeclared (first use in this function) src/interface.c:1551: error: expected ‘;’ before ‘event’ src/interface.c:1553: warning: implicit declaration of function ‘SDL_PollEvent’ src/interface.c:1553: error: ‘event’ undeclared (first use in this function) src/interface.c:1557: error: ‘SDL_KEYDOWN’ undeclared (first use in this function) src/interface.c:1560: error: ‘SDLK_CAPSLOCK’ undeclared (first use in this function) src/interface.c:1567: error: ‘SDLK_PLUS’ undeclared (first use in this function) src/interface.c:1571: error: ‘SDLK_MINUS’ undeclared (first use in this function) src/interface.c:1577: error: ‘SDLK_RIGHT’ undeclared (f