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