fantasy-peak / cpp-freegpt-webui

GPT 3.5/4 with a Chat Web UI. No API key required. Web server developed with c++
GNU General Public License v3.0
240 stars 50 forks source link

执行 xmake build -v -y报错 #130

Closed qiujianjuncom closed 11 months ago

qiujianjuncom commented 11 months ago

image

fantasy-peak commented 11 months ago

https://github.com/fantasy-peak/cpp-freegpt-webui/blob/42aa0df64f7e8bc87a28e757c3b663a1c733dfbb/.github/workflows/ubuntu-clang18.yaml#L40 你看下run下面的命令流程,clang需要改变xmake.lua里面编译参数并且必须是版本要大于等于clang18,因为它用的是cpp23标准,顺便说一下你这个错误可能是工具链问题

fantasy-peak commented 11 months ago

https://github.com/openssl/openssl/issues/8996 你的编译错误似乎是这个原因