[go-nuts] attempting to build cmdg on windows

2025-04-20 Thread John O'Regan
Hello All, I'm new to Golang and to the group so apologies in advance for any stupid questions. Please don't flame me! :) I'm attempting to build Thomas Habets' cmdg on my Windows 10 machine. This is as far as I get: - - - - >set "GOOS=windows" >set "GOARCH=386" >cd C:\Users\User\cmdg >go b

Re: [go-nuts] attempting to build cmdg on windows

2025-04-20 Thread Kurtis Rader
In general you only need to set env vars like GOOS and GOARCH if you are cross-compiling. That is, building a program for a different architecture. Don't set env vars unless you understand the purpose of the vars. The compilation errors are because the code relies on a package that is incompatible