- checkout https://github.com/wsoltys/oncrpc-win32
- build oncrpc.lib and rpcgen with \oncrpc-win32\win32\projects\librpc\librpc.sln
- get the 1.3.0 sources: https://github.com/downloads/sahlberg/libnfs/libnfs-1.3.0.tar.gz
- apply the build fix: https://github.com/sahlberg/libnfs/commit/35bb34b41c0892cb3b4f01a5210327b8afd7003b
- build libnfs.dll with \libnfs\win32\libnfs\libnfs.vcxproj