Boost.python building

Posted by Ockonal on Stack Overflow See other posts from Stack Overflow or by Ockonal
Published on 2010-04-04T05:29:58Z Indexed on 2010/04/04 5:33 UTC
Read the original article Hit count: 514

Filed under:
|
|

Hi guys, really can't understand, how to build correctly project that uses boost.python. I've included boost_(python/thread/system)-mt. Here is simple module file:

#include <boost/python.hpp>
#include "script.hpp"
#include "boost/python/detail/wrap_python.hpp"

BOOST_PYTHON_MODULE(temp)
{
    namespace py = boost::python;

    py::def("PyLog", &engine::log);
}

Here is bulid log: http://dpaste.com/179232/. Can't imagine what I forgot.


System: arch linux;

ls /usr/lib |grep boost : http://dpaste.com/179233/

© Stack Overflow or respective owner

Related posts about boost

Related posts about python