go install -v ./fuse ./examples/memfs ./examples/passthrough
运行上面的命令安装cgofuse的,就报错下面的了
go: cannot find main module, but found .git/config in /Users/codedog/cgofuse
to create a module there, run:
go mod init
求解
江西省网友说:Linux
Prerequisites: libfuse-dev, gcc
rclone编译?windows搞过,linux下没有,不过应该要更容易点