Closed jclc closed 6 years ago
Meant to post this issue on go-sdl2. Sorry.
For what it's worth, those specific linker errors have nothing to do with C++; they have to do with missing -loleaut32
, -limm32
, and -lversion
in the linker flags.
Well what do you know, adding those + -lole32
fixed it, thanks! It is odd that this only occurs when importing both ui and go-sdl2/sdl, individually they build just fine.
I'm importing this package alongside https://github.com/veandco/go-sdl2 and I get this error when cross-compiling to Windows using mingw:
The package ui uses C++, could this be confusing the Go linker into using C++ linkage for SDL2?