I successfully compiled the example program with g++ on windows 11, but when I run the program, I get a popup window with this message:
the procedure entry point _ZSt28__throw_bad_array_new_lenghtv could not be located in the dynamic link library "C:\SFML-projects\template\sfml-window-2.dll"
SFML-projects\template is my project folder, and I copied all the .dll files there.
I am using MinGW 32, and the "SFML-2.6.0-windows-gcc-13.1.0-mingw-32-bit" package from the downloads page.
How do I fix this?