You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the mac system starts LiteIDE, system.env cannot be edited, because it is read-only, so directly modify the LiteIDE.app package, open the package, and directly modify the system.evn file,
GOROOT=/usr/local/go
GOPATH=/Users/xxxxxx/Works/Developer/Workspace/Go
GOBIN=/usr/local/go/bin
LITEIDE_GDB=/usr/local/bin/gdb
LITEIDE_MAKE=make
LITEIDE_TERM=/usr/bin/open
LITEIDE_TERMARGS=-a Terminal
LITEIDE_EXEC=/usr/X11R6/bin/xterm
LITEIDE_EXECOPT=-e
After saving, restart LITEIDE, switch the environment to system.env,
16:53:09 LiteBuild: go environment changed
16:53:09 GolangPackage: Found go bin at /usr/local/go/bin/go
16:53:09 GolangPackage: GOROOT='/usr/local/go'
16:53:09 GolangPackage: GOPATH=/Users/xxxxxx/Works/Developer/Workspace/Go
16:53:09 GolangCode: go environment changed
The value of GOROOT has a single quotation mark, which leads to an error in this environment value, and an error is reported when editing
/usr/local/go/bin/go build [/Users/EddyHu/Works/Developer/Workspace/Go/src/main/gopl.io-master/ch2/popcount]
go: cannot find GOROOT directory: '/usr/local/go'
Error: Process exited with code 2.
The text was updated successfully, but these errors were encountered:
After the mac system starts LiteIDE, system.env cannot be edited, because it is read-only, so directly modify the LiteIDE.app package, open the package, and directly modify the system.evn file,
GOROOT=/usr/local/go
GOPATH=/Users/xxxxxx/Works/Developer/Workspace/Go
GOBIN=/usr/local/go/bin
#GOARCH=amd64
#GOOS=darwin
#CGO_ENABLED=1
PATH=$GOROOT/bin:$PATH:/usr/local/bin
PATH=$PATH:/usr/local/bin
LITEIDE_GDB=/usr/local/bin/gdb
LITEIDE_MAKE=make
LITEIDE_TERM=/usr/bin/open
LITEIDE_TERMARGS=-a Terminal
LITEIDE_EXEC=/usr/X11R6/bin/xterm
LITEIDE_EXECOPT=-e
After saving, restart LITEIDE, switch the environment to system.env,
16:53:09 LiteBuild: go environment changed
16:53:09 GolangPackage: Found go bin at /usr/local/go/bin/go
16:53:09 GolangPackage: GOROOT='/usr/local/go'
16:53:09 GolangPackage: GOPATH=/Users/xxxxxx/Works/Developer/Workspace/Go
16:53:09 GolangCode: go environment changed
The value of GOROOT has a single quotation mark, which leads to an error in this environment value, and an error is reported when editing
/usr/local/go/bin/go build [/Users/EddyHu/Works/Developer/Workspace/Go/src/main/gopl.io-master/ch2/popcount]
go: cannot find GOROOT directory: '/usr/local/go'
Error: Process exited with code 2.
The text was updated successfully, but these errors were encountered: