gray@elemental:~$ g++ sdl_2_test.cpp `sdl2-config --cflags --libs` sdl_2_test.cpp:6:3: error: ‘SDL_Textrue’ does not name a type sdl_2_test.cpp:7:3: error: ‘SDL_Renderer’ does not name a type sdl_2_test.cpp:9:28: error: ‘SDL_Renderer’ has not been declared sdl_2_test.cpp: In constructor ‘sprite::sprite(std::string, int*)’: sdl_2_test.cpp:10:5: error: ‘renderer’ was not declared in this scope sdl_2_test.cpp:11:40: error: ‘SDL_Load’ was not declared in this scope sdl_2_test.cpp:12:5: error: ‘bmp_texture’ was not declared in this scope sdl_2_test.cpp:12:69: error: ‘SDL_CreateTextureFromSurface’ was not declared in this scope sdl_2_test.cpp: In member function ‘void sprite::cleanup()’: sdl_2_test.cpp:17:24: error: ‘bmp_texture’ was not declared in this scope sdl_2_test.cpp:17:35: error: ‘SDL_DestroyTexture’ was not declared in this scope sdl_2_test.cpp:18:25: error: ‘renderer’ was not declared in this scope sdl_2_test.cpp:18:33: error: ‘SDL_DestoryRenderer’ was not declared in this scope sdl_2_test.cpp: In function ‘int main(int, char**)’: sdl_2_test.cpp:29:3: error: ‘SDL_Window’ was not declared in this scope sdl_2_test.cpp:29:15: error: ‘win’ was not declared in this scope sdl_2_test.cpp:29:88: error: ‘SDL_CreateWindow’ was not declared in this scope sdl_2_test.cpp:30:3: error: ‘SDL_Renderer’ was not declared in this scope sdl_2_test.cpp:30:17: error: ‘renderer’ was not declared in this scope sdl_2_test.cpp:30:56: error: ‘SDL_RENDERER_ACCELERATED’ was not declared in this scope sdl_2_test.cpp:30:80: error: ‘SDL_CreateRenderer’ was not declared in this scope sdl_2_test.cpp:46:24: error: ‘SDL_DestoryWindow’ was not declared in this sc
Standard input is empty
prog.cpp:1:5: error: stray '@' in program
gray@elemental:~$ g++ sdl_2_test.cpp `sdl2-config --cflags --libs`
^
prog.cpp:1:1: error: stray '`' in program
gray@elemental:~$ g++ sdl_2_test.cpp `sdl2-config --cflags --libs`
^
prog.cpp:1:1: error: stray '`' in program
prog.cpp:2:1: error: stray '\342' in program
sdl_2_test.cpp:6:3: error: ‘SDL_Textrue’ does not name a type
^
prog.cpp:2:1: error: stray '\200' in program
prog.cpp:2:1: error: stray '\230' in program
prog.cpp:2:1: error: stray '\342' in program
prog.cpp:2:1: error: stray '\200' in program
prog.cpp:2:1: error: stray '\231' in program
prog.cpp:3:1: error: stray '\342' in program
sdl_2_test.cpp:7:3: error: ‘SDL_Renderer’ does not name a type
^
prog.cpp:3:1: error: stray '\200' in program
prog.cpp:3:1: error: stray '\230' in program
prog.cpp:3:1: error: stray '\342' in program
prog.cpp:3:1: error: stray '\200' in program
prog.cpp:3:1: error: stray '\231' in program
prog.cpp:4:1: error: stray '\342' in program
sdl_2_test.cpp:9:28: error: ‘SDL_Renderer’ has not been declared
^
prog.cpp:4:1: error: stray '\200' in program
prog.cpp:4:1: error: stray '\230' in program
prog.cpp:4:1: error: stray '\342' in program
prog.cpp:4:1: error: stray '\200' in program
prog.cpp:4:1: error: stray '\231' in program
prog.cpp:5:1: error: stray '\342' in program
sdl_2_test.cpp: In constructor ‘sprite::sprite(std::string, int*)’:
^
prog.cpp:5:1: error: stray '\200' in program
prog.cpp:5:1: error: stray '\230' in program
prog.cpp:5:1: error: stray '\342' in program
prog.cpp:5:1: error: stray '\200' in program
prog.cpp:5:1: error: stray '\231' in program
prog.cpp:6:1: error: stray '\342' in program
sdl_2_test.cpp:10:5: error: ‘renderer’ was not declared in this scope
^
prog.cpp:6:1: error: stray '\200' in program
prog.cpp:6:1: error: stray '\230' in program
prog.cpp:6:1: error: stray '\342' in program
prog.cpp:6:1: error: stray '\200' in program
prog.cpp:6:1: error: stray '\231' in program
prog.cpp:7:1: error: stray '\342' in program
sdl_2_test.cpp:11:40: error: ‘SDL_Load’ was not declared in this scope
^
prog.cpp:7:1: error: stray '\200' in program
prog.cpp:7:1: error: stray '\230' in program
prog.cpp:7:1: error: stray '\342' in program
prog.cpp:7:1: error: stray '\200' in program
prog.cpp:7:1: error: stray '\231' in program
prog.cpp:8:1: error: stray '\342' in program
sdl_2_test.cpp:12:5: error: ‘bmp_texture’ was not declared in this scope
^
prog.cpp:8:1: error: stray '\200' in program
prog.cpp:8:1: error: stray '\230' in program
prog.cpp:8:1: error: stray '\342' in program
prog.cpp:8:1: error: stray '\200' in program
prog.cpp:8:1: error: stray '\231' in program
prog.cpp:9:1: error: stray '\342' in program
sdl_2_test.cpp:12:69: error: ‘SDL_CreateTextureFromSurface’ was not declared in this scope
^
prog.cpp:9:1: error: stray '\200' in program
prog.cpp:9:1: error: stray '\230' in program
prog.cpp:9:1: error: stray '\342' in program
prog.cpp:9:1: error: stray '\200' in program
prog.cpp:9:1: error: stray '\231' in program
prog.cpp:10:1: error: stray '\342' in program
sdl_2_test.cpp: In member function ‘void sprite::cleanup()’:
^
prog.cpp:10:1: error: stray '\200' in program
prog.cpp:10:1: error: stray '\230' in program
prog.cpp:10:1: error: stray '\342' in program
prog.cpp:10:1: error: stray '\200' in program
prog.cpp:10:1: error: stray '\231' in program
prog.cpp:11:1: error: stray '\342' in program
sdl_2_test.cpp:17:24: error: ‘bmp_texture’ was not declared in this scope
^
prog.cpp:11:1: error: stray '\200' in program
prog.cpp:11:1: error: stray '\230' in program
prog.cpp:11:1: error: stray '\342' in program
prog.cpp:11:1: error: stray '\200' in program
prog.cpp:11:1: error: stray '\231' in program
prog.cpp:12:1: error: stray '\342' in program
sdl_2_test.cpp:17:35: error: ‘SDL_DestroyTexture’ was not declared in this scope
^
prog.cpp:12:1: error: stray '\200' in program
prog.cpp:12:1: error: stray '\230' in program
prog.cpp:12:1: error: stray '\342' in program
prog.cpp:12:1: error: stray '\200' in program
prog.cpp:12:1: error: stray '\231' in program
prog.cpp:13:1: error: stray '\342' in program
sdl_2_test.cpp:18:25: error: ‘renderer’ was not declared in this scope
^
prog.cpp:13:1: error: stray '\200' in program
prog.cpp:13:1: error: stray '\230' in program
prog.cpp:13:1: error: stray '\342' in program
prog.cpp:13:1: error: stray '\200' in program
prog.cpp:13:1: error: stray '\231' in program
prog.cpp:14:1: error: stray '\342' in program
sdl_2_test.cpp:18:33: error: ‘SDL_DestoryRenderer’ was not declared in this scope
^
prog.cpp:14:1: error: stray '\200' in program
prog.cpp:14:1: error: stray '\230' in program
prog.cpp:14:1: error: stray '\342' in program
prog.cpp:14:1: error: stray '\200' in program
prog.cpp:14:1: error: stray '\231' in program
prog.cpp:15:1: error: stray '\342' in program
sdl_2_test.cpp: In function ‘int main(int, char**)’:
^
prog.cpp:15:1: error: stray '\200' in program
prog.cpp:15:1: error: stray '\230' in program
prog.cpp:15:1: error: stray '\342' in program
prog.cpp:15:1: error: stray '\200' in program
prog.cpp:15:1: error: stray '\231' in program
prog.cpp:16:1: error: stray '\342' in program
sdl_2_test.cpp:29:3: error: ‘SDL_Window’ was not declared in this scope
^
prog.cpp:16:1: error: stray '\200' in program
prog.cpp:16:1: error: stray '\230' in program
prog.cpp:16:1: error: stray '\342' in program
prog.cpp:16:1: error: stray '\200' in program
prog.cpp:16:1: error: stray '\231' in program
prog.cpp:17:1: error: stray '\342' in program
sdl_2_test.cpp:29:15: error: ‘win’ was not declared in this scope
^
prog.cpp:17:1: error: stray '\200' in program
prog.cpp:17:1: error: stray '\230' in program
prog.cpp:17:1: error: stray '\342' in program
prog.cpp:17:1: error: stray '\200' in program
prog.cpp:17:1: error: stray '\231' in program
prog.cpp:18:1: error: stray '\342' in program
sdl_2_test.cpp:29:88: error: ‘SDL_CreateWindow’ was not declared in this scope
^
prog.cpp:18:1: error: stray '\200' in program
prog.cpp:18:1: error: stray '\230' in program
prog.cpp:18:1: error: stray '\342' in program
prog.cpp:18:1: error: stray '\200' in program
prog.cpp:18:1: error: stray '\231' in program
prog.cpp:19:1: error: stray '\342' in program
sdl_2_test.cpp:30:3: error: ‘SDL_Renderer’ was not declared in this scope
^
prog.cpp:19:1: error: stray '\200' in program
prog.cpp:19:1: error: stray '\230' in program
prog.cpp:19:1: error: stray '\342' in program
prog.cpp:19:1: error: stray '\200' in program
prog.cpp:19:1: error: stray '\231' in program
prog.cpp:20:1: error: stray '\342' in program
sdl_2_test.cpp:30:17: error: ‘renderer’ was not declared in this scope
^
prog.cpp:20:1: error: stray '\200' in program
prog.cpp:20:1: error: stray '\230' in program
prog.cpp:20:1: error: stray '\342' in program
prog.cpp:20:1: error: stray '\200' in program
prog.cpp:20:1: error: stray '\231' in program
prog.cpp:21:1: error: stray '\342' in program
sdl_2_test.cpp:30:56: error: ‘SDL_RENDERER_ACCELERATED’ was not declared in this scope
^
prog.cpp:21:1: error: stray '\200' in program
prog.cpp:21:1: error: stray '\230' in program
prog.cpp:21:1: error: stray '\342' in program
prog.cpp:21:1: error: stray '\200' in program
prog.cpp:21:1: error: stray '\231' in program
prog.cpp:22:1: error: stray '\342' in program
sdl_2_test.cpp:30:80: error: ‘SDL_CreateRenderer’ was not declared in this scope
^
prog.cpp:22:1: error: stray '\200' in program
prog.cpp:22:1: error: stray '\230' in program
prog.cpp:22:1: error: stray '\342' in program
prog.cpp:22:1: error: stray '\200' in program
prog.cpp:22:1: error: stray '\231' in program
prog.cpp:23:1: error: stray '\342' in program
sdl_2_test.cpp:46:24: error: ‘SDL_DestoryWindow’ was not declared in this sc
^
prog.cpp:23:1: error: stray '\200' in program
prog.cpp:23:1: error: stray '\230' in program
prog.cpp:23:1: error: stray '\342' in program
prog.cpp:23:1: error: stray '\200' in program
prog.cpp:23:1: error: stray '\231' in program
prog.cpp:1:1: error: 'gray' does not name a type
gray@elemental:~$ g++ sdl_2_test.cpp `sdl2-config --cflags --libs`
^
Standard output is empty