OP-Engineering/op-sqlite

Windows support

Opened this issue · 7 comments

It would be nice to have support for MacOS and Windows

macos is already supported. I don't know how windows modules work, so PRs are welcome

No idea buddy. I will probably not do this myself, no free time atm. Somebody else will have to take care of it.

@ospfranco any idea how much work is to add windows support?

Nope, I have never developed for windows

@ospfranco Hi, I can try adding windows support. Can you tell me how you built the jni libs(android), .a files(ios)? I noticed you have 2 versions, I did not find any make files.

Before you start developing this, I hope you realize will have to maintain the Windows versions for ever. The moment I change the API or do some breaking change I will not even try to take a look and try to make it work.

That being said, for any existing library file in the repo. You need to compile it in their source repo and then drop them here. You will probably need to compile crsqlite and libsql. crsqlite I cannot help, I just found some prebuilt binary and dropped it in the repo. For libsql turso paid me for development time to port to mobile platforms. Here are the instructions (link to the PR is inside) on how to compile libsql for mobile targets.