Closed gravestench closed 3 years ago
Resolved by https://github.com/OpenDiablo2/dialog/pull/1
We ended up just forking from @sqweek and fixing the repo. It was some kind of threading issue.
The fix is here, where we call dialog.Init()
func (a *App) Run() {
wnd := g.NewMasterWindow("HellSpawner", 1280, 720, 0, a.setupFonts)
wnd.SetBgColor(color.RGBA{10, 10, 10, 255})
sampleRate := beep.SampleRate(22050)
if err := speaker.Init(sampleRate, sampleRate.N(time.Second/10)); err != nil {
log.Fatal(err)
}
dialog.Init()
wnd.Main(a.render)
}
This is being caused, likely, by GOTK3+
I've filed an issue with the maintainer of squeek: https://github.com/sqweek/dialog/issues/51
hey are not likely to fix this, so we will likely need to pull their code into our project.
Error log:
I'm pretty sure I have the dependencies met.
I've installed the following: