andlabs / ui

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

malformed #cgo argument #323

Closed coolit closed 5 years ago

coolit commented 5 years ago

I have a similar problem with #223 and #112. My go version is go1.11 windows/amd64. Any help will be appreciated.

andlabs commented 5 years ago

What's the full error message? Are you sure you are running Go 1.11, or is an older Go version still in your %PATH%? (Run go version.)

coolit commented 5 years ago

I used LiteIDE, but the same problem not found in other IDEs.

andlabs commented 5 years ago

Then you'll need to figure out where the Go in LiteIDE comes from, and point it at the correct Go...

coolit commented 5 years ago

Problem solved. It seemed it was due to that, I put this github folder of 'andlabs' under my custom Gopath, instead of the system Gopath. But, other project has no such problems.