Henry Schreiner
Henry Schreiner
@YannickJadoul were you going to look into this? This is a possible workaround without calling CPython API: ```cpp class Example { int x; Example(int x) : x(x) {} public: static...
From Gitter: > pybind11 2.10 issue > > ocp is a package on conda-forge consisting collection of pybind11 extensions for OpenCascade. > > I have another closed source project, Project...
I'm not sure how well MSYS2 is supported by CMake. Can you try the new FindPython (will probably need to update CMake on AppVeyor, say with chocolaty)? This is mostly...
Can you try `-DPYBIND11_FINDPYTHON=ON`? That will use CMake's new FindPython module instead of the long-deprecated PythonInterp/PythonLibs. Are you sure you have installed the dev package for Python? (at least, in...
Sorry, with the new FindPython you use `Python_EXECUTABLE` instead (`PYTHON` -> `Python`).
Yes, just corrected. 😳
You have to check `Python_LIBRARIES` and `Python_INCLUDE_DIRS`, are those correct? Are you still running `find_package(PythonLibs` somewhere? `PYTHON_INCLUDE_DIRS` and `PYTHON_LIBRARIES` should not even be set when using the new search. The...
You should not use both FindPython and FindPythonInterp/FindPythonLibs. They unified it into a single find module partially due to the issue you are seeing - the two modules are not...
I'm personally fine with following numpy more closely (that is, adding features already supported by numpy, within reason).
You can always set `Py_DEBUG` to disable the hiding of `_DEBUG` as a workaround, by the way.