||=== Build: Debug in DirtyCraft (compiler: GNU GCC Compiler) ===|
C:\Users\George\Desktop\C++\DirtyCraft\Sources\GameState.h|10|warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11|
C:\Program Files (x86)\CodeBlocks\MinGW\include\SFML\System\NonCopyable.hpp|67|error: 'sf::NonCopyable::NonCopyable(const sf::NonCopyable&)' is private|
C:\Program Files (x86)\CodeBlocks\MinGW\include\SFML\Window\Window.hpp|57|error: within this context|
C:\Program Files (x86)\CodeBlocks\MinGW\include\SFML\Graphics\RenderWindow.hpp|44|note: synthesized method 'sf::Window::Window(const sf::Window&)' first required here |
C:\Program Files (x86)\CodeBlocks\MinGW\include\SFML\System\NonCopyable.hpp|67|error: 'sf::NonCopyable::NonCopyable(const sf::NonCopyable&)' is private|
C:\Program Files (x86)\CodeBlocks\MinGW\include\SFML\Graphics\RenderTarget.hpp|51|error: within this context|
C:\Program Files (x86)\CodeBlocks\MinGW\include\SFML\Graphics\RenderWindow.hpp|44|note: synthesized method 'sf::RenderTarget::RenderTarget(const sf::RenderTarget&)' first required here |
C:\Users\George\Desktop\C++\DirtyCraft\Sources\GameState.h|10|note: synthesized method 'sf::RenderWindow::RenderWindow(const sf::RenderWindow&)' first required here |
||=== Build failed: 4 error(s), 1 warning(s) (0 minute(s), 0 second(s)) ===|
I got this, and redirect me ar 2 targets, Im sure they are visible in errors
EDIT:solved, I put it in a namespace, because I want my game to have only one window, and the sistem call it