Building in Windows 7 64-bit using EPD 6.3-2 I got the above error. I fixed it
and was able to compile the 2.1.8 tagged version from GitHub by adding:
#if !defined(max)
#define max(a, b) ((a) > (b) ? (a) : (b))
#define min(a, b) ((a) < (b) ? (a) : (b))
#endif
to several of the C++ files
Sorry if someone else has reported this issue.