liteide icon indicating copy to clipboard operation
liteide copied to clipboard

GOPATH and other env can't be phrase correctly.

Open ghost opened this issue 2 years ago • 2 comments

What version of LiteIDE are you using (LiteIDE About - Version and Build Qt Version)?

Latest(build by archlinux)

What version of Go are you using (go version)?

go version go1.21.0 linux/amd64

What operating system and processor architecture are you using(go env)?

GOHOSTARCH='amd64' GOHOSTOS='linux'

When I tried to complie program through LiteIDE, it reported such error: " go: GOPATH entry is relative; must be absolute path: "'/home/user/go'". For more details see: 'go help gopath' ".

Then, I tried to set GOPATH manually in Settings->GolangPackage as /home/user/go' (without '), the go build report such error:"go: cannot find GOROOT directory: '/usr/lib/go'"

ghost avatar Aug 24 '23 11:08 ghost

When I tried to compile through terminal manually, it reported nothing and complie normally.

yjacks avatar Aug 24 '23 11:08 yjacks

use liteide x38.3

visualfc avatar Aug 24 '23 11:08 visualfc