I've built SFML from source using the latest Mingw-w64 (gcc 5.3) and things have been working quite alright as I was developing with it. Sadly when I ran the executable file on its own it gave some very weird errors. I sent the file to a few friends and on their end it says missing "libgcc_s_dw2-1.dll"
So the obvious thing is that is not linking the std library statically even though I'm using the:
-static -static-libgcc -static-libstdc++
compiler options.
I remembered that when I built SFML from source CMake gave me options like "sfml_use_static_std_libs", which I think I disabled.
So I'm looking to rebuild it, but I need to make sure if that's the case. I'm building it for Windows and using Code::Blocks.
Is this really what would solve my issue as it doesn't seem to be linking the stdlibrary statically? What other flags should I leave set when rebuilding it? Thanks for the attention!
Aucun commentaire:
Enregistrer un commentaire