Was this problem ever resolved?  I am getting exactly the same issue on OSX
Mavericks.  I create a new Xcode commandline project, link libpython3.4.1
and libboost_python dylibs, add relevant header-search-paths.

Then I modify main.c to:

    #include <boost/python.hpp>

    int main( int argc, const char* argv[] )
    {
        Py_Initialize();    
        using namespace boost::python;    
        object main_module = import("__main__"); // <--
EXC_BAD_ACCESS(code=1, address=0x0)
    }

In fact everything below the error can be removed, giving a minimal failure
example.



--
View this message in context: 
http://boost.2283326.n4.nabble.com/boost-python-embedding-error-runtime-Mac-OS-X-1-38-tp2702075p4668060.html
Sent from the Python - c++-sig mailing list archive at Nabble.com.
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
https://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to