Hello everyone! Sorry for my english.
I know my problem is on many forums, but I did'nt found the good answer.
I have Code Blocks 20.03 and SFML 2.5.1 on Windows 10. Also, I'm a beginner with C++ and SFML.
When I compile my graphic project in Code Blocks it's all good, but when I open the executable in bin/Debug directory, it don't work. First, a message said for missing dll (libgcc_s_seh-1.dll, libstdc++-6.dll and libwinpthread-1.dll), but I found them and pasted it in the executable directory. Now, the problem is the .exe open, but close immediately.
I tried the getchar() trick at the end of my code, but I think it's only for console projects.
Thanks.