Open gdude2002 opened 8 years ago
Alright, so it turns out that stdint.h
is a C99 thing, and wasn't added before Visual C++ 2010. That's likely the issue with this, since MS's official tools for Python module compilation are pretty old.
It might be better to include or download something like this for portability.
According to Danny on the Discord API server, there's a bunch more C99 stuff used in erlpack.
Maybe you guys could ship wheels? I know you're already building for Windows, and you've already got erlpack on PyPi, so it'd just be an extra build step, wouldn't it?
I talked to Jake on the API server about this, and he stated that you guys aren't in a position to build wheels regularly - so, he half-jokingly asked me to do it. And so, I've done it.
https://bamboo.gserv.me/browse/DSCRD-ERLPK/latest
These wheels are built for Python 2.7.x using the MSVC bundled with Visual Studio 2015, for both x86 and x64 on Windows 10 Pro x64, and will automatically be built whenever you guys push a commit to the master
branch.
Python 2.7 for Windows is compiled with MSVC 2008, and so usually you'd also want your extensions compiled with MSVC 2008. However, since MSVC 2008 doesn't actually support C99, I had to use a later version anyway, so I figured going with the latest was the best idea.
Seems to be expecting a missing header - I'm really not sure what the equivalent for VC is, though.