I\'m trying to open a SFML window, but every time it is launched it says \"Access violation reading location: 0xCCCCCCC0.\" The error is occuring in the init() method. Relevant
Set window to a RenderWindow *window;
and create it with
window = new sf::RenderWindow( /*your stuff or default initialize*/ );
and then call
window->create( /*your settings*/ );
if you didn't already initialize it.
From then on just access window using '->' instead of '.'
Fixed it!
Turns out under the C++ pre-processor I set the definition to SFML_STATIC instead of SFML_DYNAMIC