PlusToolkit / ndicapi

A common C API for communicating with NDI Polaris and Aurora devices
MIT License
48 stars 32 forks source link

Issue #12 add pre-processor commands to build on python 3.12 #44

Closed thompson318 closed 8 months ago

thompson318 commented 8 months ago

Fixes https://github.com/PlusToolkit/ndicapi/issues/43. This builds on all versions of Python for me and shouldn't affect existing Python versions. See build log: https://github.com/SciKit-Surgery/ndicapi/actions/runs/8002962485

I haven't been able to actually plug in a tracker and make sure it physically gets tracking data though. I also don't really understand what's going on inside Cpython / cython, my fix is based on this https://github.com/cython/cython/issues/5238