# Unrecognized CMAKE\_SYSTEM\_NAME = Windows while building Pytorch in Windows

**URL:** <https://discuss.pytorch.org/t/unrecognized-cmake-system-name-windows-while-building-pytorch-in-windows/215713>\
**Category:** windows\
**Created:** [January 22, 2025, 11:47am UTC](https://discuss.pytorch.org/t/unrecognized-cmake-system-name-windows-while-building-pytorch-in-windows/215713 "2025-01-22T11:47:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jenet](https://discuss.pytorch.org/letter_avatar_proxy/v4/letter/j/85e7bf/32.png) [@Jenet](https://discuss.pytorch.org/u/Jenet)\
**Post date:** [January 22, 2025, 11:47am UTC](https://discuss.pytorch.org/t/unrecognized-cmake-system-name-windows-while-building-pytorch-in-windows/215713/1 "2025-01-22T11:47:13Z")

</div>

Hi,

I am trying to build Pytorch v2.5.1 from source in Windows with a latest clang compiler.  
Steps followed:

1. git clone --recursive [GitHub - pytorch/pytorch: Tensors and Dynamic neural networks in Python with strong GPU acceleration](https://github.com/pytorch/pytorch)
2. cd pytorch
3. Git checkout v2.5.1
4. git submodule sync
5. git submodule update --init --recursive
6. python setup.py install

But I am facing errors as:

```auto
CMake Error at aten/src/ATen/native/quantized/cpu/qnnpack/CMakeLists.txt:59 (message):
  Unrecognized CMAKE_SYSTEM_PROCESSOR = AMD64

-- Configuring incomplete, errors occurred!

```
