Skip to content
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

GOPATH and other env can't be phrase correctly. #1283

Open
yjacks opened this issue Aug 24, 2023 · 2 comments
Open

GOPATH and other env can't be phrase correctly. #1283

yjacks opened this issue Aug 24, 2023 · 2 comments

Comments

@yjacks
Copy link

yjacks commented Aug 24, 2023

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'"

@yjacks
Copy link
Author

yjacks commented Aug 24, 2023

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

@visualfc
Copy link
Owner

use liteide x38.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants