andlabs / ui

Platform-native GUI library for Go.
Other
8.33k stars 651 forks source link

Build failing on High Sierra #313

Closed andydotxyz closed 5 years ago

andydotxyz commented 5 years ago

On 10.13.6 I see the following error

➜ ui git:(master) go build
go build github.com/andlabs/ui: invalid flag in #cgo LDFLAGS: -mmacosx-version-min=10.8

If I remove the -mmacosx-version-min from link_darwin_amd64.go the build succeeds.

andlabs commented 5 years ago

Duplicate of golang/go#23749. Update your Go.

andydotxyz commented 5 years ago

Thank you for that - I had not noticed that the cgo updated covered the mac specifics. Updating to 1.10.3 fixed it.