I'm new to sfml and was trying to get the example code to run in windows on visual studio code. I have a project with just a main cpp file with the example code in it and all the dlls. I ran g++ -c main.cpp -I(Path to the include folder) and then g++ main.o -o main -L(Path to the lib folder) -lsfml-graphics -lsfml-window -lsfml-system. This all runs fine without error but when I go to run the executable nothing happens it just immediately exits. If I add a print statement to the start of the code still nothing. My compiler is mingw-64 and it has worked fine and I haven't had an issue so I'm not sure where to look.