I'm compiling a project that sets the default visibility to hidden using CMAKE_CXX_VISIBILITY_PRESET=hidden. This worked in 1.63 as the initModule is set back to default here, unfortunately after #1 BOOST_PYTHON_USE_GCC_SYMBOL_VISIBILITY is no longer defined so the visibility is not getting set back to default.
So I'm getting errors like ImportError: dynamic module does not define init function (init_kernel) and the equivalent for python 3 ImportError: dynamic module does not define module export function (PyInit__kernel)
I'm compiling a project that sets the default visibility to
hiddenusingCMAKE_CXX_VISIBILITY_PRESET=hidden. This worked in 1.63 as theinitModuleis set back todefaulthere, unfortunately after #1BOOST_PYTHON_USE_GCC_SYMBOL_VISIBILITYis no longer defined so the visibility is not getting set back todefault.So I'm getting errors like
ImportError: dynamic module does not define init function (init_kernel)and the equivalent for python 3ImportError: dynamic module does not define module export function (PyInit__kernel)