liteide
liteide copied to clipboard
GOPATH and other env can't be phrase correctly.
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'"
When I tried to compile through terminal manually, it reported nothing and complie normally.
use liteide x38.3