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

Windows executable for Version 1.2.0 not compiling #95

Closed
linqiaozhi opened this issue Mar 30, 2020 · 5 comments
Closed

Windows executable for Version 1.2.0 not compiling #95

linqiaozhi opened this issue Mar 30, 2020 · 5 comments

Comments

@linqiaozhi
Copy link
Member

Since @jspidlen contributed a Visual Studio solution in #23, I have been using it to compile a Windows binary that I attach to each release. With this Version 1.2.0 release, I am encountering errors related to the Annoy library...even though we have not made any changes to the Annoy library since the last release.

The first error is the file mman.h is not in the include path. That file is in src\winlibs, and when I add it to the Additional Include Paths, a whole new series of errors appear relating to other dependencies of Annoy. I have no experience with Visual Studio, so I am struggling to solve them...just wanted to reach out to @jspidlen or other Windows developers to see if you could figure out what changed.

@dkobak
Copy link
Collaborator

dkobak commented Mar 30, 2020

Oh this might be why the conda package complained about the Windows version!

Will @JosefFlowJo get notified or should we email him?

@JosefFlowJo
Copy link
Contributor

JosefFlowJo commented Mar 30, 2020 via email

@dkobak
Copy link
Collaborator

dkobak commented Apr 15, 2020

@linqiaozhi We did update the Annoy version though, around four months ago: 42e4617. I wonder if the errors are connected to that.

The first error is the file mman.h is not in the include path. That file is in src\winlibs, and when I add it to the Additional Include Paths, a whole new series of errors appear relating to other dependencies of Annoy.

I would guess that src\winlibs should be in the include path (didn't you need it there previously?). Can you post the errors you are getting?

@dkobak
Copy link
Collaborator

dkobak commented Apr 15, 2020

Hmm, we might need to update the mman.h file, taking it from here: https://github.com/spotify/annoy/tree/master/src

@linqiaozhi
Copy link
Member Author

Resolved!

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