VeroFess / PalWorld-Server-Unoffical-Api

A PalWorld Server API like minecraft bukkit, not finish yet
275 stars 17 forks source link

请问这个是什么问题楠 #34

Open caodaye opened 9 months ago

caodaye commented 9 months ago

PS D:\palu\PalWorld-Server-Unoffical-Api> xmake -y checking for platform ... windows checking for architecture ... x64 checking for Microsoft Visual Studio (x64) version ... 2022 checking for Microsoft C/C++ Compiler (x64) version ... 19.39.33519 => install vcpkg::folly latest .. failed

vcpkg not found! if you want to get more verbose errors, please see: -> D:\palu\PalWorld-Server-Unoffical-Api\build.packages\v\vcpkg_folly\latest\cache\installdir.failed\logs\install.txt error: install failed! warning: vcpkg root directory not found, maybe you need set $VCPKG_ROOT! PS D:\palu\PalWorld-Server-Unoffical-Api>

我分别尝试过

PS D:\palu> xmake -y xmake.lua not found, scanning files .. error: project not found! PS D:\palu>

piz-ewing commented 9 months ago

没有安装 vcpkg 参考 vcpkg

> git clone https://github.com/microsoft/vcpkg
> .\vcpkg\bootstrap-vcpkg.bat

需要手动设置 VCPKG_ROOT 到环境变量

如果有链接错误(fatal error LNK1104: ....),参考 #33