Open scottgigante opened 4 years ago
Since we understand Windows is an important OS for NGT, we are considering that. So far, we have no plan for that.
Thank you for the update!
fwiw, I tried compiling NGT on Windows with GitHub Actions. I'm not very good at C++, but wanted to report my findings for others.
The following errors occurred:
error C3646: '_mutex': unknown override specifier
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
fatal error C1083: Cannot open include file: 'sys/time.h'
fatal error C1083: Cannot open include file: 'unistd.h'
fatal error C1083: Cannot open include file: 'pthread.h'
From what I can tell, 1 and 2 are likely smaller changes that will be compatible with Unix.
For 3, 4, and 5, there are some suggested approaches on Stack Overflow.
Overall, I imagine this would take some time.
Build code: https://github.com/ankane/ml-builds/blob/ngt-windows/.github/workflows/ngt-windows.yml Full output: https://github.com/ankane/ml-builds/runs/429047982
(had to set -D UNIX=ON
for it to build the library)
Windows support would be great! I'm trying to use NGT on a client-side app, so lacking Windows support is really a bummer.
Thanks for publishing precompiled wheels for Linux and MacOS. Would it be possible to publish wheels for Windows as well?
Thanks!