Henry Schreiner
Henry Schreiner
Is this still a problem with the latest versions? Eventually I hope someone will show me how to setup mingw on GitHub Actions, and then we can test it.
I think this is a conda issue more than a pybind11 one - I expect you could retriever the issue without building an extension at all; it's NumPy's import proves...
I assume you should have been using https://github.com/conda-forge/iminuit-feedstock/blob/abba08ff2067409c066c378e1d25d3a1d244f477/recipe/meta.yaml#L27, but yes, it's not needed for pybind11; nothing special is needed for pybind11.
You need to link with dependencies. There's probably some DLL or static lib in RecFusionSDK that you need to link to. Something like this: https://stackoverflow.com/a/49139257/2402816 perhaps.
You have to install cmake_example before running that file. `pip install .` or similar (probably in a virtual environment).
I would recommend you ask on the kivy project's page, this is a repo with a pybind11 example. I have heard of kivy, but never installed it. One thought is...
You'd just use the full dotted path for the submodule name.
There's an include_directories keyword argument to Extension's, I believe.
What version of pybind11? Should be fine since at least 2.5, maybe earlier. This normally works just fine in virtual environments.
I'm not likely to have time to power up a Windows machine to investigate why this is failing on Windows for a couple of days - in a workshop this...