pg.ddx.io pgvector/pgvector GitHub issues and pull requests
help / color / mirror / Atom feedFrom: deadsoul44 (@deadsoul44) <noreply+deadsoul44@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: [pgvector/pgvector] issue #681: error LNK2019: unresolved external symbol
Date: Wed, 25 Sep 2024 11:05:26 +0000
Message-ID: <gh-pgvector-pgvector-681@github.com> (raw)
Hello,
I get the following error when trying to install on Windows with PostgreSQL\14.
```
C:\Users\mutlusi\AppData\Local\Temp\1\pgvector>set "PGROOT=C:\Program Files\PostgreSQL\14"
C:\Users\mutlusi\AppData\Local\Temp\1\pgvector>nmake /F Makefile.win
Microsoft (R) Program Maintenance Utility Version 14.41.34120.0
Copyright (C) Microsoft Corporation. All rights reserved.
cl /nologo /I"C:\Program Files\PostgreSQL\14\include\server\port\win32_msvc" /I"C:\Program Files\PostgreSQL\14\include\server\port\win32" /I"C:\Program Files\PostgreSQL\14\include\server" /I"C:\Program Files\PostgreSQL\14\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:\Program Files\PostgreSQL\14\lib\postgres.lib" /link /DLL /OUT:vector.dll
Creating library vector.lib and object vector.exp
bitutils.obj : error LNK2019: unresolved external symbol __imp__pg_number_of_ones referenced in function _BitHammingDistanceDefault
sparsevec.obj : error LNK2001: unresolved external symbol _errstart
vector.obj : error LNK2001: unresolved external symbol _errstart
ivfinsert.obj : error LNK2001: unresolved external symbol _errstart
ivfkmeans.obj : error LNK2001: unresolved external symbol _errstart
ivfscan.obj : error LNK2001: unresolved external symbol _errstart
ivfutils.obj : error LNK2001: unresolved external symbol _errstart
hnswscan.obj : error LNK2001: unresolved external symbol _errstart
hnswutils.obj : error LNK2001: unresolved external symbol _errstart
hnswvacuum.obj : error LNK2001: unresolved external symbol _errstart
ivfbuild.obj : error LNK2001: unresolved external symbol _errstart
bitvec.obj : error LNK2001: unresolved external symbol _errstart
halfvec.obj : error LNK2001: unresolved external symbol _errstart
hnswbuild.obj : error LNK2001: unresolved external symbol _errstart
hnswinsert.obj : error LNK2001: unresolved external symbol _errstart
sparsevec.obj : error LNK2001: unresolved external symbol _errfinish
vector.obj : error LNK2001: unresolved external symbol _errfinish
ivfinsert.obj : error LNK2001: unresolved external symbol _errfinish
ivfkmeans.obj : error LNK2001: unresolved external symbol _errfinish
```
How can I solve this problem?
Thanks in advance.
view thread (7+ messages) latest in thread
Message-ID: <gh-pgvector-pgvector-681@github.com>
Permalink: ../gh-pgvector-pgvector-681@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