ifduyue / python-xxhash

Python Binding for xxHash

Home Page:https://pypi.org/project/xxhash/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build fails on Python 3.4 on Windows 7 x64

opened this issue · comments

Trying to build on Windows 7 x64 with Python 3 I get the following error:

python-xxhash.c
python-xxhash.c(363) : error C2099: initializer is not a constant
python-xxhash.c(687) : error C2099: initializer is not a constant
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\Bin\\amd64\\cl.exe' failed with exit status 2

Thanks for reporting. I will look into this a few days later. It's Chinese Spring Festeval here.

A google search leads me here: https://docs.python.org/3.4/extending/windows.html
Paragraphs before Section 4.2. described how to solve this.

Here is a possible fix 09fff4f, not tested yet.

I'm going to close this issue. Feel free to reopen it if the problem isn't solved.