You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create a GitHub Action that builds the BanditPAM wheels on Windows. Here is the workflow file for reference. However, the build job fails with this exception:
headers\carma\include\carma(28): error C2371: 'ssize_t': redefinition; different basic types
C:\Users\runneradmin\AppData\Local\pypa\cibuildwheel\Cache\nuget-cpython\pythonx86.3.6.8\tools\include\pyconfig.h(174): note: see declaration of 'ssize_t'
It seems that carma and CPython3.6 from NuGet both define ssize_t, leading to the exception. Can anyone please offer some assistance so I can ship this Action in a future release of BanditPAM?
The text was updated successfully, but these errors were encountered:
Unsure if these are the same bug but figured I'd offer if useful:
I ran into similar issues trying to build a python project that relies on Carma on Windows, specifically these two errors c4430 missing type specifier int assumed C3646 tsize unknown override specifier
both at line 38 of https://github.com/RUrlus/carma/blob/stable/include/carma_bits/arraystore.h
Based on pytorch/pytorch#69948
I reverted to VS2019 and python 3.9, and it then built without error. Trying either VS2022 or python 3.10 would error. Unsure the root cause of the issue, but figured this might help in debugging/fixing.
Thanks so much for the awesome package!
I am trying to create a GitHub Action that builds the BanditPAM wheels on Windows. Here is the workflow file for reference. However, the build job fails with this exception:
It seems that carma and CPython3.6 from NuGet both define
ssize_t
, leading to the exception. Can anyone please offer some assistance so I can ship this Action in a future release of BanditPAM?The text was updated successfully, but these errors were encountered: