OS: Windows 10 20H2
CMake gui: 3.20.1
SFML ver: From github
I run all the SFML examples downloaded from offical website , all example programs run ok without problem .
But , when I run my cmake SFML example , except for ftp.exe , sockets.exe , voip.exe (maybe don't use opengl) run normally ,other programs like island.exe , shader.exe , win32.exe (use opengl) run with problem , the window is displayed and then disappears immediately. Whether SFML_OPENGL_ES option is checked or not and whether the compiler is Mingw or MSVS when I cmake from source .