So in Base.h above (around line 97)
Code: Select all
// The following defines macros used within CEGUI for std::min/std::max
// usage, and is done as a compatibility measure for VC6 with native STL.
#if defined(_MSC_VER) && (_MSC_VER <= 1200) && !defined(_STLPORT_VERSION)
# define ceguimin std::_cpp_min
# define ceguimax std::_cpp_max
#else
# define ceguimin std::min
# define ceguimax std::max
#endif
You need to add
Code: Select all
// min/max is defined in algroithm in VS2013+
#if defined(_MSC_VER) && (_MSC_VER >= 1800)
# include <algorithm>
#endif