You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you for your wonderfull work. I am using boost.python for several years with great satisfaction.
The issue is mostly described in the title: if we use the flag -fvisibility=hidden, the "init" function of a module is not visible and thus can not be loaded in python.
The issue is not present on Linux and gcc, because attribute ((visibility("default"))) is added to the declaration of this function.
A quick and dirty workaround is to compile the code with the BOOST_PYTHON_USE_GCC_SYMBOL_VISIBILITY flag (see boost/python/config/detail.hpp).