AllenDang / w32

A wrapper of windows apis for the Go Programming Language.
Other
766 stars 246 forks source link

Cannot run in windows7 64bit。why?How can fix it? #78

Open woozhu opened 6 years ago

woozhu commented 6 years ago

just the title。

woozhu commented 6 years ago

Development Environment Info

Windows 7 64-bit MinGW 32-bit gcc 6.3.0 go version go1.9.2 windows/amd64

woozhu commented 6 years ago

github.com/AllenDang/w32

cc1.exe: sorry, unimplemented: 64-bit mode not compiled in 错误: 进程退出代码 2.

bronze1man commented 6 years ago

Looks like this package need cgo and have several bugs. https://github.com/AllenDang/w32/issues/74 https://github.com/AllenDang/w32/issues/72 https://github.com/AllenDang/w32/pull/77

gonutz commented 4 years ago

I have an actively maintained fork which I use to create both 32 and 64 bit applications, both for work and for private projects. My fork does not use CGo. It has diverged quite a bit from this original fork. You could give it a try instead:

https://github.com/gonutz/w32