pg.ddx.io pgvector/pgvector GitHub issues and pull requests
help / color / mirror / Atom feedFrom: bloodykheeng (@bloodykheeng) <noreply+bloodykheeng@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #870: cant install pgvector on windows
Date: Thu, 03 Jul 2025 11:57:36 +0000
Message-ID: <gh-pgvector-pgvector-870-c3031998731@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-870@github.com>
References: <gh-pgvector-pgvector-870@github.com>
so ive changed my pg root as the docs say and ive got a new error now
this is how ive changed it
```
set "PGROOT=C:\laragon\bin\postgresql\postgresql-17.5-2"
cd %TEMP%
git clone --branch v0.8.0 https://github.com/pgvector/pgvector.git
cd pgvector
nmake /F Makefile.win
nmake /F Makefile.win install
```
this is the error ive got
```
C:\Users\BK\AppData\Local\Temp\pgvector>set "PGROOT=C:\laragon\bin\postgresql\postgresql-17.5-2"
C:\Users\BK\AppData\Local\Temp\pgvector>cd %TEMP%
C:\Users\BK\AppData\Local\Temp>cd pgvector
C:\Users\BK\AppData\Local\Temp\pgvector>nmake /F Makefile.win
Microsoft (R) Program Maintenance Utility Version 14.44.35211.0
Copyright (C) Microsoft Corporation. All rights reserved.
cl /nologo /I"C:\laragon\bin\postgresql\postgresql-17.5-2\include\server\port\win32_msvc" /I"C:\laragon\bin\postgresql\postgresql-17.5-2\include\server\port\win32" /I"C:\laragon\bin\postgresql\postgresql-17.5-2\include\server" /I"C:\laragon\bin\postgresql\postgresql-17.5-2\include" /O2 /fp:fast /c src\bitutils.c /Fosrc\bitutils.obj
bitutils.c
cl /nologo /I"C:\laragon\bin\postgresql\postgresql-17.5-2\include\server\port\win32_msvc" /I"C:\laragon\bin\postgresql\postgresql-17.5-2\include\server\port\win32" /I"C:\laragon\bin\postgresql\postgresql-17.5-2\include\server" /I"C:\laragon\bin\postgresql\postgresql-17.5-2\include" /O2 /fp:fast /c src\bitvec.c /Fosrc\bitvec.obj
bitvec.c
cl /nologo /I"C:\laragon\bin\postgresql\postgresql-17.5-2\include\server\port\win32_msvc" /I"C:\laragon\bin\postgresql\postgresql-17.5-2\include\server\port\win32" /I"C:\laragon\bin\postgresql\postgresql-17.5-2\include\server" /I"C:\laragon\bin\postgresql\postgresql-17.5-2\include" /O2 /fp:fast /c src\halfutils.c /Fosrc\halfutils.obj
halfutils.c
cl /nologo /I"C:\laragon\bin\postgresql\postgresql-17.5-2\include\server\port\win32_msvc" /I"C:\laragon\bin\postgresql\postgresql-17.5-2\include\server\port\win32" /I"C:\laragon\bin\postgresql\postgresql-17.5-2\include\server" /I"C:\laragon\bin\postgresql\postgresql-17.5-2\include" /O2 /fp:fast /c src\halfvec.c /Fosrc\halfvec.obj
halfvec.c
cl /nologo /I"C:\laragon\bin\postgresql\postgresql-17.5-2\include\server\port\win32_msvc" /I"C:\laragon\bin\postgresql\postgresql-17.5-2\include\server\port\win32" /I"C:\laragon\bin\postgresql\postgresql-17.5-2\include\server" /I"C:\laragon\bin\postgresql\postgresql-17.5-2\include" /O2 /fp:fast /c src\hnsw.c /Fosrc\hnsw.obj
hnsw.c
C:\laragon\bin\postgresql\postgresql-17.5-2\include\server\access/tupmacs.h(65): error C2196: case value '4' already used
C:\laragon\bin\postgresql\postgresql-17.5-2\include\server\access/tupmacs.h(197): error C2196: case value '4' already used
NMAKE : fatal error U1077: 'cl /nologo /I"C:\laragon\bin\postgresql\postgresql-17.5-2\include\server\port\win32_msvc" /I"C:\laragon\bin\postgresql\postgresql-17.5-2\include\server\port\win32" /I"C:\laragon\bin\postgresql\postgresql-17.5-2\include\server" /I"C:\laragon\bin\postgresql\postgresql-17.5-2\include" /O2 /fp:fast /c src\hnsw.c /Fosrc\hnsw.obj' : return code '0x2'
Stop.
```
view thread (12+ messages) latest in thread
Message-ID: <gh-pgvector-pgvector-870-c3031998731@github.com>
Permalink: ../gh-pgvector-pgvector-870-c3031998731@github.com/
·
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox