MSVC 2010 still does not know about "isinf()" macro. So I added a small patch in line 20: # ifndef isinf # define isinf(x) (!_finite(x)) # endif