Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - DarkPeace

Pages: [1]
1
General / .exe don't work
« on: June 18, 2022, 02:06:51 am »
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.

Pages: [1]