Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiling on windows #14

Closed
kdar opened this issue Mar 19, 2013 · 4 comments
Closed

compiling on windows #14

kdar opened this issue Mar 19, 2013 · 4 comments

Comments

@kdar
Copy link

kdar commented Mar 19, 2013

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
@skelterjohn
Copy link
Owner

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
Copy link
Author

kdar commented Mar 19, 2013

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
Copy link
Author

kdar commented Mar 19, 2013

Close this please :).

@skelterjohn
Copy link
Owner

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 <[email protected]

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
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants