Hi,
I’m also facing problems when trying to follow the tutorial, however, in my case cmake is able to find all the required files.
I have followed the tutorial from point to point, althought, I had to add this to be able to generate for x64.

cmake -DCMAKE_GENERATOR_PLATFORM=x64 -DCMAKE_PREFIX_PATH=/absolute/path/to/libtorch …

My issue is that when running “cmake --build . -config Release”, I am prompted with the following error:

C:\bd\Features\PyTorch\libtorch\include\c10/util/variant.h(1187): error C2872: ‘std’: ambiguous symbol [C:\bd\Features
PyTorch\example-app\build\example-app.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\forward_list(15): note: could be ‘std’
C:\bd\Features\PyTorch\libtorch\include\c10/util/variant.h(1187): note: or       ‘std’
C:\bd\Features\PyTorch\libtorch\include\c10/util/variant.h(1401): note: see reference to class template instantiation

Does anyone know what is causing this error? I would appreciate any help as I’m completely new to both PyTorch and cmake.