SFML community forums

Help => General => Topic started by: JasonLeon on November 03, 2023, 07:34:22 pm

Title: problem with mingw
Post by: JasonLeon on November 03, 2023, 07:34:22 pm
Hi, I'm using CLion with mingw64.

My exe needs libgcc_s_seh-1.dll, libstdc++-6.dll and libwinpthread-1.dll.

I was wondering how can I statically link mingw?
Title: Re: problem with mingw
Post by: eXpl0it3r on November 05, 2023, 04:41:05 pm
You need to build SFML from source with SFML_USE_STATIC_STD_LIBS set to true and then when you build your application afd -static to the linker command