skelterjohn/go.uik

compiling on windows

kdar opened this issue · 4 comments

kdar commented

I tried to build the uikradio on windows 7 64 bit using 64bit go (tip):

D:\dev\go-3rdparty\src\github.com\skelterjohn\go.uik\examples\uikradio>go build
# github.com/skelterjohn/go.wde/win
..\..\..\go.wde\win\events_windows.go:55: cannot use msg (type uint32) as type uint in function argument
..\..\..\go.wde\win\events_windows.go:116: cannot use 24 (type uint32) as type uint in assignment
..\..\..\go.wde\win\events_windows.go:170: cannot use msg (type uint32) as type uint in function argument
..\..\..\go.wde\win\events_windows.go:173: cannot use msg (type uint32) as type uint in function argument
..\..\..\go.wde\win\events_windows.go:184: cannot use msg (type uint32) as type uint in function argument
..\..\..\go.wde\win\utils_windows.go:92: cannot use 80 (type uint32) as type uint in assignment
..\..\..\go.wde\win\win_windows.go:77: cannot use w32.CW_USEDEFAULT + int32(width) (type int32) as type int in field value
..\..\..\go.wde\win\win_windows.go:78: cannot use w32.CW_USEDEFAULT + int32(height) (type int32) as type int in field value
..\..\..\go.wde\win\win_windows.go:80: undefined: w32.AdjustWindowRectEx
..\..\..\go.wde\win\win_windows.go:177: cannot use 40 (type uint32) as type uint in assignment
..\..\..\go.wde\win\win_windows.go:177: too many errors

Thanks for the note.

What are the odds that you submit a pull-request with the types changed appropriately? I haven't got a windows machine to test with.

kdar commented

Erm, my w32 package wasn't update and was an old one. I think this bites me more often than not when using go get.

kdar commented

Close this please :).

Gotcha. It's often useful to run "go get -u" when getting new software, for
this reason :)

On Tue, Mar 19, 2013 at 10:48 AM, Kevin Darlington <notifications@github.com

wrote:

Erm, my w32 package wasn't update and was an old one. I think this bites
me more often than not when using go get.


Reply to this email directly or view it on GitHubhttps://github.com//issues/14#issuecomment-15118586
.