It does not compile because the default size of size_t varies between OSX (and everywhere else?) Seems like it needs some help to compile on Mac OSX.
example error:
/opensource/tqdm.cpp/include/tqdm/tqdm.h:122:55: error: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Werror,-Wformat] printf("\nfinished: %" PRIu64 "/%" PRIu64 "\n", self.total, self.total); ~~~ ^~~~~~~~~~