Closed arcanosam closed 7 years ago
Than you for reporting! It looks like Visual Studio is not allowing C99 syntax. This is indeed something that should work "out of the box" if pip install does this. I will try to reproduce on a clean VM, as I don't have a working Windows installation right now.
Hi!
So, this could be the real problem? VS 2010 compiler do not support C99?
https://stackoverflow.com/a/7614436
thanks!
Oh that is seriously bad, I didn't know that (they were only lagging ten years behind the C standard..), I would have guessed there was just a compiler flag missing.
Is there a reason you have to use VS2010 when compiling, or could you use a more recent VS version?
Currently my idea is that the library should be buildable on a still-supported version of Windows running the dev tools available for download from Microsoft (currently VS2017).
my python app must running on windows 7 32 bits.
I try to compiling using visual studio build tools 2015, but give me an error, telling me that visual studio 2010 not found and are required.
I think it's because the version of Python I'm using: 3.4.4. I need to use this version because in windows 7 I don't need to install VC++ Redistributable, so I can use cx_freeze to packing and distribute my app without any third party installation.
Did you think in remake your code using cython?
Could this way be more quickly and more "portable" (for missing a better word) your code?
thanks for your return, hope I'm be help in some way..
Samuel
The sad story is that Python 2.7 on Windows does not support using C99 as it is hard coded to use a specific compiler (http://aka.ms/vcpython27).
I don't plan on porting this library from C99 to something that the obsolete VC++ 9.0 supports. The unfortunate fact of this is that Python 2.7 is not, and will not, be supported on Windows.
Contributions are of course always welcome, but I am documenting this as a known limitation for now.
I could not build the package
I'm using:
links helped me:
log of building:
other log building: