1.编译 godot-cpp
官方说明文档:https://docs.godotengine.org/en/stable/tutorials/scripting/gdextension/gdextension_cpp_example.html
编译 godot-cpp 要用到编译工具 scons,windows系统安装 scons 最好使用软件安装工具 scoop。
-
安装 scoop (windows端好用的软件安装工具)
#通过powershell执行以下命令(Shift + 右键) #修改scoop安装路径 $env:SCOOP='D:\Programs\Scoop' [environment]::setEnvironmentVariable('SCOOP',$env:SCOOP