ondrajz / go-callvis

Visualize call graph of a Go program using Graphviz
https://ofabry.github.io/go-callvis
MIT License
5.93k stars 410 forks source link

Problem during installation #157

Open remyleone opened 1 year ago

remyleone commented 1 year ago
$ go install github.com/ofabry/go-callvis@latest

go: downloading github.com/ofabry/go-callvis v0.7.0
go: downloading golang.org/x/tools v0.8.0
go: downloading github.com/goccy/go-graphviz v0.1.1
go: downloading github.com/fogleman/gg v1.3.0
go: downloading golang.org/x/image v0.6.0
go: downloading github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0
# github.com/goccy/go-graphviz/internal/ccall
In file included from dotgen.c:15:
go/pkg/mod/github.com/goccy/go-graphviz@v0.1.1/internal/ccall/dotgen/dotsplines.c:2310:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
go/pkg/mod/github.com/goccy/go-graphviz@v0.1.1/internal/ccall/dotgen/dotsplines.c:2310:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
go/pkg/mod/github.com/goccy/go-graphviz@v0.1.1/internal/ccall/dotgen/dotsplines.c:2504:16: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
go/pkg/mod/github.com/goccy/go-graphviz@v0.1.1/internal/ccall/dotgen/dotsplines.c:2504:16: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Sherlockouo commented 1 year ago

got same issue when installing

huturen commented 1 year ago

got same issue when installing

iostrovok commented 1 year ago

same MacOS ventura (13.3) go version go1.20.4 darwin/arm64

levnzzz commented 1 year ago

got same issue when installing

SZLforGithub commented 1 year ago

same issue here but those warnings didn't stop the install, the installation was successful run <your GOPATH>/bin/go-callvis --version to verify it

rishinair11 commented 6 months ago

Basically,

$(go env GOPATH)/bin/go-callvis