GabeRundlett / gvox_engine

MIT License
325 stars 19 forks source link

Compilation error #14

Closed ShinySilver closed 4 months ago

ShinySilver commented 4 months ago

Hello again, I have an issue when building gvox engine on linux.

In math.hpp, you include a glsl file which define a select macro. The next line, you include glm.hpp, which somehow include a header with a function called "select".

image

This cause an compilation error.

image

I was able to side step the issue on my end by exchanging line 4 and 5 of math.hpp.

GabeRundlett commented 4 months ago

Thank you for this issue report! I believe I have fixed it with fe1d9cd