gocyto icon indicating copy to clipboard operation
gocyto copied to clipboard

could not determine GOARCH and Go compiler

Open Shahanewaz opened this issue 4 years ago • 4 comments

I have the gocyto bash file in my gocyto directory. From that directory, I was using the following command:

./gocyto --out test.html directory-of-my-package

I got the error "failed packages load: could not determine GOARCH and Go compiler". When I checked for go env, I found that I have the following:

GOARCH="amd64" GCCGO="gccgo"

Shahanewaz avatar Apr 02 '21 18:04 Shahanewaz

+1 to this

jonmather avatar Oct 07 '21 16:10 jonmather

For macos, I had to build and install myself:

git clone git clone https://github.com/protolambda/gocyto.git /tmp/gocyto
pushd /tmp/gocyto

go build && go install

popd

Now I get panic: pointer analysis failed no main/test packages to analyze (check $GOROOT/$GOPATH), so checking out #7

NickLarsenNZ avatar Nov 10 '21 20:11 NickLarsenNZ

i also meet this error.

soluty avatar Sep 11 '23 13:09 soluty