benjamin@benjamin-ubuntu:~/Kompilera/zatacka$ make
g++ -c -o main.o main.cpp
In file included from main.cpp:21:
fx.h:24:21: error: SDL/SDL.h: No such file or directory
fx.h:25:27: error: SDL/SDL_image.h: No such file or directory
fx.h:27:25: error: SDL/SDL_ttf.h: No such file or directory
SDL_prim.h:39: error: variable or field SDL_putPixel declared void
SDL_prim.h:39: error: SDL_putPixel declared as an inline variable
SDL_prim.h:39: error: SDL_Surface was not declared in this scope
SDL_prim.h:39: error: expected primary-expression before , token
SDL_prim.h:39: error: expected primary-expression before int
SDL_prim.h:39: error: expected primary-expression before int
SDL_prim.h:39: error: Uint32 was not declared in this scope
SDL_prim.h:39: error: initializer expression list treated as compound expressionSDL_prim.h:40: error: variable or field SDL_blendPixel declared void
SDL_prim.h:40: error: SDL_blendPixel declared as an inline variable
SDL_prim.h:40: error: SDL_Surface was not declared in this scope
SDL_prim.h:40: error: expected primary-expression before , token
SDL_prim.h:40: error: expected primary-expression before int
SDL_prim.h:40: error: expected primary-expression before int
SDL_prim.h:40: error: Uint32 was not declared in this scope
SDL_prim.h:40: error: Uint8 was not declared in this scope
SDL_prim.h:40: error: initializer expression list treated as compound expressionSDL_prim.h:41: error: expected initializer before * token
SDL_prim.h:42: error: variable or field __slow_SDL_blendPixel declared void
SDL_prim.h:42: error: __slow_SDL_blendPixel declared as an inline variable
SDL_prim.h:42: error: SDL_Surface was not declared in this scope
SDL_prim.h:42: error: expected primary-expression before , token
SDL_prim.h:42: error: expected primary-expression before int
SDL_prim.h:42: error: expected primary-expression before int
SDL_prim.h:42: error: Uint32 was not declared in this scope
SDL_prim.h:42: error: Uint8 was not declared in this scope
SDL_prim.h:42: error: initializer expression list treated as compound expressionSDL_prim.h:44: error: variable or field SDL_drawLine_TG declared void
SDL_prim.h:44: error: SDL_Surface was not declared in this scope
SDL_prim.h:44: error: expected primary-expression before , token
SDL_prim.h:44: error: expected primary-expression before int
SDL_prim.h:44: error: expected primary-expression before int
SDL_prim.h:44: error: expected primary-expression before int
SDL_prim.h:44: error: expected primary-expression before int
SDL_prim.h:44: error: Uint32 was not declared in this scope
SDL_prim.h:45: error: Uint8 was not declared in this scope
SDL_prim.h:45: error: Uint8 was not declared in this scope
SDL_prim.h:45: error: initializer expression list treated as compound expressionSDL_prim.h:51: error: variable or field SDL_drawCircle_TG declared void
SDL_prim.h:51: error: SDL_Surface was not declared in this scope
SDL_prim.h:51: error: expected primary-expression before , token
SDL_prim.h:51: error: expected primary-expression before int
SDL_prim.h:51: error: expected primary-expression before int
SDL_prim.h:51: error: expected primary-expression before int
SDL_prim.h:51: error: Uint32 was not declared in this scope
SDL_prim.h:52: error: Uint8 was not declared in this scope
SDL_prim.h:52: error: Uint8 was not declared in this scope
SDL_prim.h:52: error: initializer expression list treated as compound expressionSDL_prim.h:53: error: variable or field SDL_drawTriangle_TG declared void
SDL_prim.h:53: error: SDL_Surface was not declared in this scope
SDL_prim.h:53: error: expected primary-expression before , token
SDL_prim.h:53: error: expected primary-expression before int
SDL_prim.h:53: error: expected primary-expression before int
SDL_prim.h:53: error: expected primary-expression before int
SDL_prim.h:53: error: expected primary-expression before int
SDL_prim.h:53: error: expected primary-expression before int
SDL_prim.h:54: error: expected primary-expression before int
SDL_prim.h:54: error: Uint32 was not declared in this scope
SDL_prim.h:54: error: Uint8 was not declared in this scope
SDL_prim.h:54: error: Uint8 was not declared in this scope
SDL_prim.h:54: error: initializer expression list treated as compound expressionfx.h:46: error: expected constructor, destructor, or type conversion before * token
fx.h:48: error: variable or field loop declared void
fx.h:48: error: SDL_Surface was not declared in this scope
fx.h:48: error: screen was not declared in this scope
fx.h:49: error: SDL_Surface was not declared in this scope
fx.h:49: error: screen was not declared in this scope
fx.h:50: error: variable or field DisplayImage declared void
fx.h:50: error: SDL_Surface was not declared in this scope
fx.h:50: error: image was not declared in this scope
fx.h:50: error: SDL_Surface was not declared in this scope
fx.h:50: error: screen was not declared in this scope
fx.h:50: error: expected primary-expression before int
fx.h:50: error: expected primary-expression before int
fx.h:50: error: initializer expression list treated as compound expression
fx.h:51: error: expected constructor, destructor, or type conversion before * token
fx.h:52: error: Uint8 does not name a type
fx.h:53: error: variable or field DisplayScore declared void
fx.h:53: error: SDL_Surface was not declared in this scope
fx.h:53: error: screen was not declared in this scope
fx.h:56: error: variable or field DispMenu declared void
fx.h:56: error: SDL_Surface was not declared in this scope
fx.h:56: error: screen was not declared in this scope
fx.h:57: error: variable or field PlaceBarriers declared void
fx.h:57: error: SDL_Surface was not declared in this scope
fx.h:57: error: screen was not declared in this scope
fx.h:57: error: expected primary-expression before int
fx.h:57: error: initializer expression list treated as compound expression
fx.h:58: error: variable or field DispText declared void
fx.h:58: error: SDL_Surface was not declared in this scope
fx.h:58: error: screen was not declared in this scope
fx.h:58: error: TTF_Font was not declared in this scope
fx.h:58: error: font was not declared in this scope
fx.h:58: error: SDL_Color was not declared in this scope
fx.h:58: error: expected primary-expression before int
fx.h:58: error: expected primary-expression before int
fx.h:58: error: expected primary-expression before int
fx.h:58: error: expected primary-expression before int
fx.h:58: error: expected primary-expression before char
fx.h:58: error: initializer expression list treated as compound expression
fx.h:69: error: SDL_Surface has not been declared
fx.h:70: error: SDL_Color does not name a type
fx.h:80: error: SDLKey does not name a type
fx.h:81: error: SDLKey does not name a type
fx.h:87: error: SDL_Color does not name a type
fx.h:88: error: ISO C++ forbids declaration of SDL_Surface with no type
fx.h:88: error: expected ; before * token
fx.h: In member function void line::SetDest(int*):
fx.h:69: error: dest was not declared in this scope
main.cpp: In function int main(int, char**):
main.cpp:30: error: SDL_Surface was not declared in this scope
main.cpp:30: error: screen was not declared in this scope
main.cpp:31: error: Initialize was not declared in this scope
main.cpp:33: error: menu cannot be used as a function
main.cpp:34: error: loop cannot be used as a function
make: *** [main.o] Error 1