Error C2182 (illegal use of type 'void') looks like the same problem as https://github.com/libfive/libfive/issues/279. Matt's suggestion worked for me -- does that error go away if you build https://github.com/libfive/libfive/pull/282?
For error C2398 it looks like your compiler wants the numbers in tests written as
1.3f instead of
1.3. This is weird but apparently Visual Studio has been this way for a while: https://stackoverflow.com/questions/33605632/error-83-error-c2398-conversion-from-double-to-float-requires-a-narrowing-c.