Results 31 comments of jclc

Any update on this? This is particularly unfortunate for me since my Documents folder is a symlink pointing to a separate drive.

Turns out this could be a filesystem permission issue with Snap and Flatpak. Running `flatpak override --user --filesystem=host com.jgraph.drawio.desktop` fixes the issue, I had similar issues with a few other...

It shouldn't require anything extra, the headers are included in the source. The only Vulkan types SDL2 even cares about are the instance and surface pointers. Just enable the option...

Here's a demo you can try it out on https://github.com/vulkan-go/demos/tree/master/vulkancube/vulkancube_sdl2

I don't think supporting MSVC is a priority for the Go team. It has incompatible linkage with GCC when compiling C++ and their C support is laughably bad. If you...

https://github.com/andlabs/ui/issues/326#issuecomment-426847357 Apparently some linker flags are lost in the ether when including both packages. Appending `-lole32 -loleaut32 -limm32 -lversion` to `CGO_LDFLAGS` fixes this issue.

The error message is triggered by SDL2, so I would imagine that it's an SDL2 issue. Adding these linker flags as a CGO directive would probably fix it, but I'd...

You're right, it seems that SDL2 is now linked statically... that's not good. `ui` being linked statically shouldn't affect SDL2, so I believe this is an issue with Go.

Yeah that's the thing though, `ui` seems to force static linking on SDL2 which I don't want. Also, the error comes from g++ for some reason. `ui` uses C++ on...

Returning to my project after a while, I'm finding more linker flags being lost. ``` /usr/local/go/pkg/tool/linux_amd64/link: running x86_64-w64-mingw32-g++ failed: exit status 1 /usr/lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld: /usr/lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2.a(hid.o):(.text+0x382): undefined reference to `__imp_SetupDiGetClassDevsA' /usr/lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld: /usr/lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2.a(hid.o):(.text+0x391):...