Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pybind11 python37_d.dll access violation

Turns out that pybind11 undefines _DEBUG
which causes Py_DEBUG not to be defined as well,
so one must explicitly define it in VS Preprocessor tab in order to avoid crashes
because of the size difference between the structures on pybind11 and python36_d sides.

Source: https://github.com/pybind/pybind11/issues/1293
 
PREVIOUS NEXT
Tagged: #access #violation
ADD COMMENT
Topic
Name
9+2 =