Ipotrick / Daxa

Daxa is a convenient, simple and modern gpu abstraction built on vulkan
MIT License
381 stars 28 forks source link

Compilation error #86

Closed ShinySilver closed 7 months ago

ShinySilver commented 7 months ago

Somehow, I get an error during compilation on Linux: image

The error is caused by a macro called "None" already existing. I could not find what defined this macro in my system, so I avoided the issue by adding "ifdef None", "undef None", "endif" line 100 in types.hpp.

gcc version and build logs below. image install-x64-linux-dbg-out.log

GabeRundlett commented 7 months ago

Thanks for this info! This shouldn't happen and is a bug. I think I know how to fix it.

GabeRundlett commented 7 months ago

Should be fixed with https://github.com/Ipotrick/Daxa/commit/ed6318ab3d15f7dd6dc92cd6e4700be22fd382d0. Feel free to open another issue if this didn't fix it.

ShinySilver commented 7 months ago

It works. Thanks :)