1
F:\CodeBlocks-Programs\SFML Tutorial 02\main.cpp||In function 'void GameLoop()':|
F:\CodeBlocks-Programs\SFML Tutorial 02\main.cpp|38|error: no matching function for call to 'sf::RenderWindow::Display(Object&)'|
F:\CodeBlocks-Programs\SFML Tutorial 02\main.cpp|38|note: candidate is:|
F:\Libraries\SFML-1.6-sdk-windows-mingw\SFML-1.6\include\SFML\Window\Window.hpp|249|note: void sf::Window::Display()|
F:\Libraries\SFML-1.6-sdk-windows-mingw\SFML-1.6\include\SFML\Window\Window.hpp|249|note: candidate expects 0 arguments, 1 provided|
||=== Build finished: 4 errors, 0 warnings (0 minutes, 1 seconds) ===|
I tried it and this is what I got. Maybe window is not a class? What am I doing wrong? I wrote it verbatim.
F:\CodeBlocks-Programs\SFML Tutorial 02\main.cpp|38|error: no matching function for call to 'sf::RenderWindow::Display(Object&)'|
F:\CodeBlocks-Programs\SFML Tutorial 02\main.cpp|38|note: candidate is:|
F:\Libraries\SFML-1.6-sdk-windows-mingw\SFML-1.6\include\SFML\Window\Window.hpp|249|note: void sf::Window::Display()|
F:\Libraries\SFML-1.6-sdk-windows-mingw\SFML-1.6\include\SFML\Window\Window.hpp|249|note: candidate expects 0 arguments, 1 provided|
||=== Build finished: 4 errors, 0 warnings (0 minutes, 1 seconds) ===|
I tried it and this is what I got. Maybe window is not a class? What am I doing wrong? I wrote it verbatim.