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

[request] support for windows #11

Open
xcapt opened this issue Aug 23, 2020 · 2 comments
Open

[request] support for windows #11

xcapt opened this issue Aug 23, 2020 · 2 comments

Comments

@xcapt
Copy link

xcapt commented Aug 23, 2020

installing on windows gives:
` addon.cc

annoyindexwrapper.cc

win_delay_load_hook.cc

...\node_modules\annoy\annoylib.h(46): fatal error C1083: Cannot open include file: 'mman.h': No such file or directory (compiling source file ..\addon.cc) [...node_modules\annoy\build\addon.vcxproj]

...\node_modules\annoy\annoylib.h(46): fatal error C1083: Cannot open include file: 'mman.h': No such file or directory (compiling source file ..\annoyindexwrapper.cc) [...\node_modules\annoy\build\addon.vcxproj]`

which I understand to be linked to mman.h not being available on windows as per
https://stackoverflow.com/questions/29660492/windows-equivalent-for-sys-mman-h

Any chance this could be worked around ?

@jimkang
Copy link
Owner

jimkang commented Aug 23, 2020

I do not have a Windows machine, so I can't really try any workarounds. If you end up finding a mman.h equivalent that works, please let me know, and I can note it in the README!

@prathameshnetake
Copy link

ty this -> https://www.npmjs.com/package/annoy-node

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

3 participants