fegennari / 3DWorld

3D Procedural Game Engine Using OpenGL
GNU General Public License v3.0
1.15k stars 89 forks source link

Compiling errors when using the command #9

Closed WilliamWangPeng closed 3 years ago

WilliamWangPeng commented 3 years ago

HI dear author,
It's truly a honor to write a letter to you, I'm build your project nowadays and found the error when building as following, I wonder if there is a chance that you know the reason? :)

image

thank you
best regards to you
William

fegennari commented 3 years ago

This is a simple error when calling max() on a 32-bit vs. 64-bit unsigned number. I normally build on Windows/Visual Studio in 32-bit, and I don't see those errors. I assume you're building with gcc with a 64-bit build. I only test gcc/linux builds every week or so, and this error was from a recent change. It should be fixed now. Thanks for pointing this out to me.