From: apoorvam (@apoorvam) <noreply+apoorvam@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #593: src\bitvec.c(43): warning C4141: 'dllexport': used more than once
Date: Wed, 04 Jun 2025 20:47:14 +0000
Message-ID: <gh-pgvector-pgvector-593-c2941411612@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-593@github.com>
References: <gh-pgvector-pgvector-593@github.com>
@ankane Thanks, it would be nice to add in documentation there that we need to use "x64 Native Tools Command Prompt for VS 2022" (replace the right version number). That wasnt obvious to me as first time building this.
Running above command prompt as administrator and then compile as below worked for me:
```
set "PGROOT=C:\Program Files\PostgreSQL\17"
nmake /F Makefile.win clean
nmake /F Makefile.win
nmake /F Makefile.win install
```