rdiankov / collada-dom

COLLADA Document Object Model (DOM) C++ Library
78 stars 40 forks source link

Build error on std::max under Windows #38

Open ChrisSchulte opened 3 years ago

ChrisSchulte commented 3 years ago

Build of daeElements.cpp crashes due to lack of "#include \<algorithm>". The build didn't crash before because this include was indirectly included through boost, using this path: src/dae/daeElement.cpp include/dae/daeDatabase.h include/dae.h boost/filesystem/convenience.hpp boost/filesystem/operations.hpp boost/filesystem/path.hpp algorithm Problem is that between boost 1.76 and 1.77 this include in path.hpp has been suppressed. Adding it in daeElements.cpp corrects the problem.