We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows对make的支持有问题, 网上提到通过chocolate来安装make的方式试了下,依然不OK。 最后摸索了种方案,可以在chatgpt-plus\api\go 目录下,powershell执行如下命令,可以实现打包编译的效果
# GOOS为目标环境的系统,GOARCH为目标环境的CPU架构 $env:CGO_ENABLED=0; $env:GOOS="linux" ; $env:GOARCH="amd64"; go build -o bin/chatgpt-v3-amd64-linux main.go
The text was updated successfully, but these errors were encountered:
命令改进了下,打包的时候请用如下命令。(打包环境是win11, 目标环境是Ubuntu 22) $env:CGO_ENABLED=0; $env:GOOS="linux" ; $env:GOARCH="amd64"; go build -o bin/chatgpt-v3-amd64-linux main.go
$env:CGO_ENABLED=0; $env:GOOS="linux" ; $env:GOARCH="amd64"; go build -o bin/chatgpt-v3-amd64-linux main.go
Sorry, something went wrong.
直接在powershell里面运行
msh01
No branches or pull requests
Windows对make的支持有问题, 网上提到通过chocolate来安装make的方式试了下,依然不OK。
最后摸索了种方案,可以在chatgpt-plus\api\go 目录下,powershell执行如下命令,可以实现打包编译的效果
The text was updated successfully, but these errors were encountered: