pg.ddx.io pgvector/pgvector GitHub issues and pull requests
help / color / mirror / Atom feedFrom: dmm-l-mediehus (@dmm-l-mediehus) <noreply+dmm-l-mediehus@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: [pgvector/pgvector] issue #669: Fails to nmake on PostgreSQL 17 RC1 [Windows]
Date: Wed, 11 Sep 2024 09:53:24 +0000
Message-ID: <gh-pgvector-pgvector-669@github.com> (raw)
Tried installing pgvector on my new PostgreSQL 17 RC1.
It fails to install on Windows when doing nmake:
```
Creating library vector.lib and object vector.exp
halfvec.obj : error LNK2019: unresolved external symbol float_to_shortest_decimal_bufn referenced in function halfvec_out
sparsevec.obj : error LNK2001: unresolved external symbol float_to_shortest_decimal_bufn
vector.obj : error LNK2001: unresolved external symbol float_to_shortest_decimal_bufn
halfvec.obj : error LNK2019: unresolved external symbol float_to_shortest_decimal_buf referenced in function Float4ToHalf
vector.dll : fatal error LNK1120: 2 unresolved externals
NMAKE : fatal error U1077: 'cl /nologo /I"C:\PostgreSQL\include\server\port\win32_msvc" /I"C:\PostgreSQL\include\server\port\win32" /I"C:\PostgreSQL\include\server" /I"C:\PostgreSQL\include" /O2 /fp:fast src\bitutils.obj src\bitvec.obj src\halfutils.obj src\halfvec.obj src\hnsw.obj src\hnswbuild.obj src\hnswinsert.obj src\hnswscan.obj src\hnswutils.obj src\hnswvacuum.obj src\ivfbuild.obj src\ivfflat.obj src\ivfinsert.obj src\ivfkmeans.obj src\ivfscan.obj src\ivfutils.obj src\ivfvacuum.obj src\sparsevec.obj src\vector.obj "C:\PostgreSQL\lib\postgres.lib" /link /DLL /OUT:vector.dll' : return code '0x2'
Stop.
```
Works fine using PostgreSQL 16
view thread (22+ messages) latest in thread
Message-ID: <gh-pgvector-pgvector-669@github.com>
Permalink: ../gh-pgvector-pgvector-669@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