SFML Giving NonCopyable Error when Initializing a Window Via Class
问题 I'm making a Game class with a function that makes a window. When I try to execute the function, VS 2012 gives me this error: Error 1 error C2248: 'sf::NonCopyable::operator =' : cannot access private member declared in class 'sf::NonCopyable' C:\SFML-2.0-rc\include\SFML\Window\Window.hpp 476 1 Faceman Here is my Game.h (unfinished): #ifndef FP_MENU #define FP_MENU #include <SFML/Graphics.hpp> class GAME { public: sf::RenderWindow GameWindow; void createWindow(); unsigned int getWindowWidth()