Skip to content Skip to sidebar Skip to footer
Showing posts with the label Boost Python

Error Compiling Boost.python Quickstart

I've been trying to compile the Boost.Python 'quickstart' ($BOOST_PATH\libs\python\exam… Read more Error Compiling Boost.python Quickstart

Create Boost-python Nested Namespace

Using boost python I need create nested namespace. Assume I have following cpp class structure: nam… Read more Create Boost-python Nested Namespace

Can't Load Boost.python Module - Undefined Symbols

I have a library that I wrote in C and need to access from Python, so I wrapped it using Boost.Pyth… Read more Can't Load Boost.python Module - Undefined Symbols

Importerror: /usr/lib/libboost_python.so.1.54.0: Undefined Symbol: Pyclass_type

I have code written in C++: #include char const* greet() { return 'Yay!'; } BOOST_PYTH… Read more Importerror: /usr/lib/libboost_python.so.1.54.0: Undefined Symbol: Pyclass_type

How To Call Python From A Boost Thread?

I have a Python app that calls a C++ boost python library and it all works. However, I have a callb… Read more How To Call Python From A Boost Thread?

How To Compile Static Library With -fpic From Boost.python

By default, libboostpython.a is compiled without -fPIC. But I have to make a python extension and i… Read more How To Compile Static Library With -fpic From Boost.python

Pass A Type Object (class, Not An Instance) From Python To C++

I would like to have a boost::python-wrapped c++ function which is able to receive type (rather tha… Read more Pass A Type Object (class, Not An Instance) From Python To C++

Sending Python Function As Boost.function Argument

Things are getting complicated in my world of trying to mesh Python code with my C++. Essentially, … Read more Sending Python Function As Boost.function Argument