Closed huanghuangzym closed 3 years ago
make install build github.com/goccy/go-graphviz/internal/ccall: cannot load github.com/goccy/go-graphviz/internal/ccall: no Go source files build github.com/goccy/go-graphviz/internal/ccall: cannot load github.com/goccy/go-graphviz/internal/ccall: no Go source files go install -tags "" -ldflags "-X main.commit=v0.6.1" build github.com/goccy/go-graphviz/internal/ccall: cannot load github.com/goccy/go-graphviz/internal/ccall: no Go source files Makefile:22: recipe for target 'install' failed make: *** [install] Error 1
I alse meet this.
Please provide the following information:
go env
go-callvis ...
thanks ,i resolve it ,export CGO_ENABLED=0 then compile success ,thanks
make install build github.com/goccy/go-graphviz/internal/ccall: cannot load github.com/goccy/go-graphviz/internal/ccall: no Go source files build github.com/goccy/go-graphviz/internal/ccall: cannot load github.com/goccy/go-graphviz/internal/ccall: no Go source files go install -tags "" -ldflags "-X main.commit=v0.6.1" build github.com/goccy/go-graphviz/internal/ccall: cannot load github.com/goccy/go-graphviz/internal/ccall: no Go source files Makefile:22: recipe for target 'install' failed make: *** [install] Error 1