From: LZQCN (@LZQCN) <noreply+LZQCN@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #70: Error building on windows
Date: Thu, 20 Feb 2025 21:51:33 +0000
Message-ID: <gh-pgvector-pgvector-70-c2672767601@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-70@github.com>
References: <gh-pgvector-pgvector-70@github.com>
If you have encountered the issue `library machine type 'x64' conflicts with target machine type 'x86'`, then you should delete the local pgvector repository. Next, find the x64 Native Tools Command Prompt for VS 2022 in the Start menu, and open it with **administrative privileges**.
like this lnk file:
```
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Visual Studio 2022\Visual Studio Tools\VC\x64 Native Tools Command Prompt for VS 2022.lnk
```
Then clone pgvector repository and execute the installation command again.