-
-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Good evening,
I may be entirely in the realm of wrong as I've only recently started looking into the world of kotlin/multiplatform.
When using IntelliJ on linux and building a mingwx64 binary it will not run on windows when including this library
stating that libstdc++-6.dll is missing or not found. I have tried linker opts below with no luck.
Any ideas outside of installing mingw on windows? Or any idea what would be causing this on all my windows 10/11 instances?
My hopes is a binary without any additional dependencies needed or libs copied alongside the exe
mingwX64() {
binaries {
compilerOptions {
allWarningsAsErrors = true
}
executable {
linkerOpts.addAll(listOf("-static", "-static-libgcc", "-static-libstdc++"))
entryPoint = "main"
}
}
}
Copilot
Metadata
Metadata
Assignees
Labels
No labels