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

Undefined Errors #327

Open
iamacarpet opened this Issue Oct 3, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@iamacarpet

iamacarpet commented Oct 3, 2017

Hello,

Not sure if I'm doing something wrong, but I've updated to the latest version and when trying to build, I get loads of undefined errors:

# github.com/lxn/walk
../github.com/lxn/walk/brush.go:252:12: undefined: win.CreatePatternBrush
../github.com/lxn/walk/brush.go:349:21: undefined: win.TRIVERTEX
../github.com/lxn/walk/brush.go:360:22: undefined: win.GRADIENT_TRIANGLE
../github.com/lxn/walk/brush.go:369:6: undefined: win.GradientFill
../github.com/lxn/walk/brush.go:369:127: undefined: win.GRADIENT_FILL_TRIANGLE
../github.com/lxn/walk/canvas.go:303:17: undefined: win.TRIVERTEX
../github.com/lxn/walk/canvas.go:321:13: undefined: win.GRADIENT_RECT
../github.com/lxn/walk/canvas.go:326:6: undefined: win.GradientFill
../github.com/lxn/walk/checkbox.go:66:6: undefined: win.IsAppThemed
../github.com/lxn/walk/checkbox.go:74:19: undefined: win.GetThemePartSize
../github.com/lxn/walk/checkbox.go:74:19: too many errors

Build command:

user@vdev2:~/go-projects/src/github.com/lxn/walk/examples/radiobutton$ GOOS=windows GOARCH=amd64 go build -ldflags="-H windowsgui"
@lxn

This comment has been minimized.

Show comment
Hide comment
@lxn

lxn Oct 3, 2017

Owner

Looks like you need to go get -u github.com/lxn/win as well.

Owner

lxn commented Oct 3, 2017

Looks like you need to go get -u github.com/lxn/win as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment