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

Doesn't compile on Windows64 #25

Open
tadas-subonis opened this issue Oct 23, 2014 · 0 comments
Open

Doesn't compile on Windows64 #25

tadas-subonis opened this issue Oct 23, 2014 · 0 comments

Comments

@tadas-subonis
Copy link

I am getting this error (while trying to install a Python package that uses this project):
c:\users\tadas\appdata\local\temp\pip_build_tadas\hat-trie\src../hat-trie/src/hat-trie.h(27) : fatal error C1083: Cannot open include file: 'stdbool.h': No such file or directory

error: command '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Bin\amd64\cl.exe"' failed with exit status 2

The quick fix seems to be to replace stdbool with:

typedef int bool;

define false 0

define true 1

http://stackoverflow.com/questions/8548521/trying-to-use-include-stdbool-h-in-vs-2010

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

1 participant