https://issues.dlang.org/show_bug.cgi?id=15482
--- Comment #2 from Sobirari Muhomori <dfj1es...@sneakemail.com> --- There's a little incompatibility here: mssdk provides these guids in a static library and declares them as extern in headers, but gnu toolchain can't handle this scenario gracefully and would link all guids into executable, hence mingw headers declare guids as static (hidden in C) and doesn't provide static library with them. To use mssdk library and declare guids as extern, write extern extern(C) immutable IID GUID_Button; (without initializer) instead of what currently is in uuid.d --