sqweek / dialog

Simple cross-platform dialog API for go-lang
ISC License
493 stars 76 forks source link

Does not build for windows on linux machine. #16

Closed mayank7533 closed 6 years ago

mayank7533 commented 6 years ago

Gives error message /github.com/AllenDang/w32/user32.go:1039: cannot use flag (type uint32) as type uintptr in argument to procRedrawWindow.Call

sqweek commented 6 years ago

Note this is reported upstream as AllenDang/w32#80 - there's a suggested fix there too.

sqweek commented 6 years ago

The problem was introduced quite recently it seems; if you checkout 7bbaa2bee74 from AllenDang/w32 in your local go/src tree that should also workaround the problem until it's fixed properly.

Let me know if that doesn't work, I've never tried to cross compile go and would love to hear how it goes :)

mayank7533 commented 6 years ago

solved the issue by implementing your workaround in https://github.com/mayank7533/dialog . You might consider accepting my merge request.