Open pivenmedia opened 4 years ago
I did this to get it to work.
env GOOS=windows GOARCH=amd64 go get -d github.com/jstarks/npiperelay
env GOOS=windows GOARCH=amd64 go build -o /mnt/c/Users/<myuser>/bin/npiperelay.exe github.com/jstarks/npiperelay
I ended up git sync the entire repo and then ran the build command from that directory to get it to work. The go get -d didn't work for me for some reason.
Hi, when i am trying to build npiperelay.exe under WSL+Ubuntu 18.04 i get error below: ➜ ~ go get -d github.com/jstarks/npiperelay go/src/github.com/jstarks/npiperelay/npiperelay.go:12:2: build constraints exclude all Go files in /home/pvm/go/src/golang.org/x/sys/windows
Please advise if there any workaround.