giu: [Windows] go get github.com/AllenDang/giu fails

Not sure what the requirements are, just following along with the README.

Error:

# github.com/AllenDang/giu/imgui
C:\Users\#####\AppData\Local\Temp\go-build3633627171\b001\_x039.o: In function `ImeSetInputScreenPosFn_DefaultImpl':
..\..\..\go\pkg\mod\github.com\!allen!dang\giu@v0.5.3\imgui/imgui.cpp:10724: undefined reference to `ImmGetContext'
..\..\..\go\pkg\mod\github.com\!allen!dang\giu@v0.5.3\imgui/imgui.cpp:10730: undefined reference to `ImmSetCompositionWindow'
..\..\..\go\pkg\mod\github.com\!allen!dang\giu@v0.5.3\imgui/imgui.cpp:10731: undefined reference to `ImmReleaseContext'
collect2.exe: error: ld returned 1 exit status

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

@AllenDang , yeah I am not even sure now, cause I did all of that. I am going to just wipe the box in a few days and try again. I’ll close this though since it seems to be on my end.

You are not alone. I have the same problem with the same mingw version as yours.

emm, linking to libimm32.a solves the problem

@Ramoflaple you’r a boss man 😉