Member Site Forums PyRosetta PyRosetta – General Boost.Python C++/PyRosetta interop Reply To: Boost.Python C++/PyRosetta interop

#4645
Anonymous

    Looks like this was due to a boost incompatibility.

    PyRosetta includes a version of boost_python in the rosetta dir.
    Relinking this to your system version of boost_python should do the trick.

    In my case:

    mv ./libboost_python-mt-py26.so.1.38.0 libboost_python-mt-py26.old &&
    ln -sf /usr/lib/libboost_python-mt-py26.so libboost_python-mt-py26.so.1.38.0

    This insures that conversion and extraction is properly registered globally.

    The above code is no longer necessary, just use:

    void setPosePython(core : : pose : : Pose &p)
    {

    }

    directly.