doyubkim / fluid-engine-dev

Fluid simulation engine for computer graphics applications
https://fluidenginedevelopment.org/
MIT License
1.88k stars 263 forks source link

Newer Versions of Flatbuffer is breaking the build in particle_system_data2.cpp #330

Open lokitkhemka opened 11 months ago

lokitkhemka commented 11 months ago

Specifically, the below lines in particle_system_data2.h are causing the issue:

namespace flatbuffers { class FlatBufferBuilder; template<typename T> struct Offset; }

definition of type 'FlatBufferBuilder' conflicts with type alias of the same name is the error message. Can you update the code to fix the error? For now, I am hacking in your generated flatbuffers files to get rid of the error. Thank you.

utilForever commented 11 months ago

Okay. I'll check it.