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

install on windows with mingw #17

Open
bathyg opened this issue May 10, 2017 · 0 comments
Open

install on windows with mingw #17

bathyg opened this issue May 10, 2017 · 0 comments

Comments

@bathyg
Copy link

bathyg commented May 10, 2017

First of all, I cannot pip install it on windows, therefore I used python setup.py install. It seems that -W and -Wundef is not compatible with MSVC cl.exe so I changed to mingw32 and added a distutils.cfg at python Lib/dist
I found this still cannot be compiled and I switched to mingw32-x64
Still no luck,
Eventually I found that these two lines in setup.py
" "-DVERSION="%s"" % VERSION_STR,
"-DLZ4_VERSION="r124"",
"

needs to be:

"
"-DVERSION=\"%s\"" % VERSION_STR,
"-DLZ4_VERSION=\"r124\"",
"
Hope this helps for anyone who is having trouble installing it under windows.

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