当前位置: 首页 > 工具软件 > godot-go > 使用案例 >

godot 编译失败

公良修竹
2023-12-01

godot 编译失败

版本:3.4.2-stable

环境:vs2019、python3

问题:编译时候C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\ShlObj.h编译失败

x86_x64 Cross Tools Command Prompt for VS 2019下执行操作

D:\godot> scons.exe -j8 p=windows vsproj=yes
  • x64_x86 Cross Tools Command Prompt for VS 2019是32位系统

命令“chcp 65001 >NUL && echo Starting SCons && cmd /V /C set “plat=x64” ^& (if "x64"“x64” (set “plat=x86_amd64”)) ^& set “tools=yes” ^& (if “debug”“release” (set “tools=no”)) ^& call "…已退出,代码为 2。

将python和scons环境加上系统环境变量

C:\ProgramData\Anaconda3
C:\ProgramData\Anaconda3\Scripts

Unable to initialize Video driver

Your video card driver does not support any 
of the supported OpenGL versions.
Please update your drivers or if you have
 a very old or integrated GPU, upgrade it.

下载驱动

独立显卡
https://developer.nvidia.com/opengl-driver
集成显卡
https://www.intel.com/content/www/us/en/download-center/home.html
还是没办法运行,在设备管理器将集成显卡禁用运行成功

 类似资料: