VNL Errors on Windows 10

Hi Dzenan,
I cloned the 5.1rc1 build into a clean directory.
I made a new separate build directory.
I use all the default settings in CMake. I just press configure then generate. I don’t set anything

(any suggestions about what I should set?)

642 projects are loaded there are fewer errors but a few libs still don’t fully build:

I’ll update with a complete set of errors after the build is done.

I get the same set of errors:

24>C:\Users\shane\source\repos\ITK\Modules\ThirdParty\HDF5\src\itkhdf5\src\H5timer.c(117,25): error C2079: ‘rusage’ uses undefined struct ‘rusage’
24>C:\Users\shane\source\repos\ITK\Modules\ThirdParty\HDF5\src\itkhdf5\src\H5timer.c(126,5): error C2065: ‘RUSAGE_SELF’: undeclared identifier
24>C:\Users\shane\source\repos\ITK\Modules\ThirdParty\HDF5\src\itkhdf5\src\H5timer.c(127,35): error C2224: left of ‘.ru_utime’ must have struct/union type
24>C:\Users\shane\source\repos\ITK\Modules\ThirdParty\HDF5\src\itkhdf5\src\H5timer.c(128,36): error C2224: left of ‘.ru_utime’ must have struct/union type
24>C:\Users\shane\source\repos\ITK\Modules\ThirdParty\HDF5\src\itkhdf5\src\H5timer.c(129,35): error C2224: left of ‘.ru_stime’ must have struct/union type
24>C:\Users\shane\source\repos\ITK\Modules\ThirdParty\HDF5\src\itkhdf5\src\H5timer.c(130,36): error C2224: left of ‘.ru_stime’ must have struct/union type

Later in the build I get this:
`

7>C:\Users\shane\source\repos\ITK\Modules\ThirdParty\GDCM\src\gdcm\Source\Common\gdcmSystem.cxx(812,3): error C3861: ‘gettimeofday’: identifier not found

`