BoomingTech / Piccolo

Piccolo (formerly Pilot) – mini game engine for games104
MIT License
5.69k stars 1.79k forks source link

fix: build error in archlinux #480

Open YXHXianYu opened 5 months ago

YXHXianYu commented 5 months ago

Archlinux在编译Piccolo时,会遇到 uint32_t 等类型不存在的问题,如: #475

经过检查,发现是由于JoltPhysics和vulkan memory allocator这两个库分别少引用了cstdint和cstdio的问题,导致在archlinux平台无法正常通过编译。

我分别在两个文件中加入了两行#include命令,添加后,Piccolo均可以在我的Archlinux和Windows平台正常通过编译。

1evergreen commented 3 months ago

archlinux 遇到了同样的头文件问题, 通过这个可以解决