Comments (6)
Hey @cdtaichen, can you try the windows
branch? https://github.com/pgvector/pgvector/compare/windows
This adds PGDLLEXPORT
, which may help (from looking at this thread).
from pgvector.
Ok, I will try this right now, thanks!
from pgvector.
Great. Would also be good to see the error message from the Postgres server log when it crashes (not sure where that'll be on Windows).
from pgvector.
fwiw, I was able to get the tests passing with MSYS2 (without the PGDLLEXPORT
change).
Code: https://github.com/pgvector/pgvector/blob/windows-ci/.github/workflows/build.yml
Logs: https://github.com/pgvector/pgvector/actions/runs/3201375566/jobs/5229281611
from pgvector.
Hi Kane,
This is my GCC compile batch file, is it ok for this project?
//---
@echo Compile Windows Dll using GCC
@echo.
@echo off
gcc -shared -W ^
-std=c99 ^
-fPIC ^
src/ivfbuild.c src/ivfflat.c src/ivfinsert.c src/ivfkmeans.c src/ivfscan.c src/ivfutils.c src/ivfvacuum.c src/vector.c ^
-o vector.dll ^
-I ../../../_Include/Kernel/TCDBLib/PostgreSQL/PG14/server/port/win32_msvc ^
-I ../../../_Include/Kernel/TCDBLib/PostgreSQL/PG14/server/port/win32 ^
-I ../../../_Include/Kernel/TCDBLib/PostgreSQL/PG14/server ^
-I ../../../_Include/Kernel/TCDBLib/PostgreSQL/PG14 ^
-L ../../../_Output/Runtime/PostgreSQL/PG14/lib ^
-l:postgres.lib ^
-l:libpgcommon.lib ^
-l:libpgport.lib
pause
from pgvector.
Sorry echo, it looks like you were accidentally tagged. Moved to #38 to reduce noise.
from pgvector.
Related Issues (20)
- ERROR: operator class "vector_cosine_ops" does not accept data type sparsevec. on pgvector/pgvector:0.7.0-pg16 HOT 3
- Expected output does not match test HOT 1
- Custom classification algorithm? HOT 3
- Different results when doing a query with or without and HNSW index HOT 5
- Issue installing on mac HOT 3
- Is there some doc to illustrate the storage layout in index file for HNSW ? HOT 2
- Warning: unknown attribute target_clones HOT 4
- A quick question about length of neighbors for one Element HOT 1
- Fail to Use index query when add order by desc HOT 6
- HNSW index cannot recall any data HOT 2
- Understanding HNSW and IVFFLAT index creation and storage HOT 2
- Make function multiversioning configurable HOT 1
- Lack of result when selecting data without limit
- Support for multiquery? HOT 3
- Cannot install pgvector on windows no matter what is tried. HOT 1
- pgvector Query Time Slower Than ChromaDB and pgvector Not Building HNSW Index on Small Number of Rows HOT 7
- Supported datatypes HOT 4
- vector.so: undefined symbol: _xgetbv HOT 5
- Adding data after building hnsw index is much slower HOT 3
- 【ef_search】set hnsw.ef_search = 1001 failed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pgvector.