cheind / py-lapsolver

Fast linear assignment problem (LAP) solvers for Python based on c-extensions
MIT License
154 stars 24 forks source link

Fails to build on Windows using Python 3.10 + Fix #17

Open AlphonsG opened 2 years ago

AlphonsG commented 2 years ago

Fails with py-lapsolver\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifier.

Checking out the master branch of the pybind11 submodule, instead of the currently set branch v2.2, fixes the error and the build finishes. All tests passed.

cheind commented 2 years ago

ah nice, thanks for letting me know. Will hopefully update soon.

AlphonsG commented 2 years ago

No problem mate, thanks.