quarkslab / arybo

Manipulation, canonicalization and identification of mixed boolean-arithmetic symbolic expressions
BSD 3-Clause "New" or "Revised" License
300 stars 35 forks source link

Installation Arybo via pip on Windows, 'ssize_t': redefinition #5

Open trietptm opened 6 years ago

trietptm commented 6 years ago

Hi, I install Arybo via pip and Python 3.6.5 32bit on Windows and receive this error:

C:\Program Files (x86)\python36-32\include\pyconfig.h(174): error C2371: 'ssize_t': redefinition; different basic types include\pa/compat.h(32): note: see declaration of 'ssize_t'

After I comment the lines defining ssize_t in pyconfig.h, I could install Arybo via pip.

aguinet commented 4 years ago

Is this still the case with arybo 1.1.0 under Windows/Python 32 bits ?

trietptm commented 4 years ago

Yes, it's still the issue with arybo 1.1.0 under Windows Python 3 32 bits because it failed to build pytanque. I could install Arybo with Python 3 64-bit BTW.

python37\include\pyconfig.h(167): error C2371: 'ssize_t': redefinition; different basic types
    include\pa/compat.h(32): note: see declaration of 'ssize_t'

I've just tried to compile pytanque from https://github.com/quarkslab/arybo/tree/master/petanque , it still could not be manually compiled and the same error above is returned.