Hi, I'm having an issue running the code in this tutorial:
http://www.sfml-dev.org/tutorials/2.0/start-cb.phpIt compiles fine. The project is dynamically linked so I copied the dlls to the root of the project (as shown on many video tutorials. CodeBlocks is able to run the resulting exe with the correct context) but I get the following message in an error window when running the exe:
The procedure entry point _ZSt24__throw_out_of_range_fmtPKcz could not be located in the dynamic library C:\...\sfml-system-d-2.dll
I also tried copying the dlls in the \bin\Debug directory where the debug exe is created. The same error happens.
I've seen a number of people having the same issue and it seems to be something to do with the dlls since the project itself compiled. I'm pretty sure they're the correct dlls because I got them from same package the SFML package (as described in the tutorial)
My last resort would be to compile SFML myself but I'd like to avoid that if possible.
Any ideas?
Some more details about my setup:
SFML GCC 4.9.2 MinGW (DW2) 32bit
Code Blocks 13.12 MinGW (NOT the TDM GCC version)
Windows 10
Project is dynamically linked and the dlls are placed in the project root and where the exe is located.