Error building from source on windows

How to resolve this error:

error C2039: ‘FuncPtr’: is not a member of ‘c10::impl::detail::with_scattere
d_tensor_options<FuncPtr,void>’

pytorch\aten\src\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(109): error C2039: ‘FuncPtr’: is not a member of ‘c10::impl::detail::with_scattere
d_tensor_options<FuncPtr,void>’

Please describe some details about your specs and the steps.

@peterjc123 thanks for your reply. I stopped building source using msvc2017. Recently in last week I got new msvc2019 licensed version with this I am not facing any issue building pytorch source on windows.

But there is one prb, after build and installing pytorch on windows in my local virtual env, I tried to run simple python visual studio project. I am seeing one error while doing " import torch"
Error:
Could not convert to integer: 3221225477. path exitcode.
value was either too large or too small for an Int32.

any reason why is this error?

Any comments on this issue?