Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
problem with mingw
Print
Pages: [
1
]
Author
Topic: problem with mingw (Read 863 times)
0 Members and 1 Guest are viewing this topic.
JasonLeon
Newbie
Posts: 12
problem with mingw
«
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?
«
Last Edit: November 03, 2023, 08:40:58 pm by JasonLeon
»
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11030
Re: problem with mingw
«
Reply #1 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
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
problem with mingw