Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building in Windows, missing CMakeLists.txt #111

Open
jluisreymejias opened this issue Sep 23, 2024 · 1 comment
Open

Building in Windows, missing CMakeLists.txt #111

jluisreymejias opened this issue Sep 23, 2024 · 1 comment

Comments

@jluisreymejias
Copy link

Hello, Is there any available CMakeLists.txt or instructions to build in Windows with Visual Studio ?

By the way, really nice extension,

@hasaranga
Copy link

add sqlite3.h, sqlite3.c, sqlite3ext.h, sqlite-vec.h, sqlite-vec.c files into the project.

then use following code in your source file.

#ifndef SQLITE_CORE
#define SQLITE_CORE
#endif

#ifndef SQLITE_VEC_STATIC
#define SQLITE_VEC_STATIC
#endif

#ifndef SQLITE_VEC_ENABLE_AVX
#define SQLITE_VEC_ENABLE_AVX
#endif

#include "sqlite-vec/sqlite3.h"
#include "sqlite-vec/sqlite-vec.h"

check examples/simple-c/demo.c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants