Hello, I've been trying to set up SFML for a while now, and I think I've almost got it working correctly. I have the simple code to open a window, but it doesn't seem to work. A blank window opens for about a half-second, then instantly closes. The console prints
"Unable to query registry key for joystick at index 0: The system cannot find the file specified.
Press any key to continue...
I'm pretty positive that it isn't an error in the code, but here it is anyway:
#include <SFML/Window.hpp>
using namespace sf;
int main() {
Window window(VideoMode(1200, 800), "Window!");
return 0;
}
Sorry to bother you, but I could use some help. Thank you