leogazio
(Leonardo Gazio)
March 10, 2017, 8:45pm
1
Hey there, when I try compiling on Linux selecting cross-win32 on LiteIDE, I get that error;
go: cannot find GOROOT directory: /root/go
Error: process exited with code 2.
Anyone knows how to fix it?
PS: I only get this error when I select cross-win32 on LiteIDE, when I select default option “system”, it compiles normally without any error.
Tnx.
geosoft1
(George Calianu)
March 11, 2017, 7:07am
2
i guess you didn’t properly install Go on Linux (GOROOT variable?). you can use this project for install correctly the environment. compiling for Windows32 from Linux works for me.
also,even i don’t think it matters in this case still check if you have 32 bit support.for Debian/Ubuntu use
sudo apt-get install libc6-dev-i386
system
(system)
Closed
June 9, 2017, 7:08am
3
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.