Top "Boost-python" questions

Library for intuitive and tight integration between c++ and python.

Calling Python functions from C++

I am trying to achieve call Python functions from C++. I thought it could be achieved through function pointers, but …

c++ python callback boost-python
ImportError: /usr/lib/libboost_python.so.1.54.0: undefined symbol: PyClass_Type

I have code written in C++: #include <boost/python.hpp> char const* greet() { return "Yay!"; } BOOST_PYTHON_MODULE(…

c++ python boost boost-python archlinux
Building/including Boost.Python in VS2013

Can someone tell me if I'm doing anything wrong. I'm on Windows 7 using Visual Studio 2013 and I would like to …

python c++ visual-studio boost boost-python
Cmake could not find boost_python

I am trying to build this simple boost python demo from this link on my MacOS High Sierra. Following is …

python c++ boost-python
CMake output name for dynamic-loaded library?

I'm trying to write cmake rules to build dynamic-loaded library for python using boost.python on linux. I'd like to …

python cmake shared-libraries boost-python
How can I implement a C++ class in Python, to be called by C++?

I have a class interface written in C++. I have a few classes that implement this interface also written in …

c++ python swig boost-python
Is it possible to modify PYTHONPATH at runtime?

I have a C++ application dynamically linked to the Python interpreter. I want to be able to import python modules …

c++ python boost-python python-c-api python-embedding
Wrapping arrays in Boost Python

I have a series of C++ structures I am trying to wrap using boost python. I've run into difficulties when …

c++ python boost boost-python
How to tell what python version libboost_python.so is using?

I'd like to know what version of python boost_python.so is expecting. This is on a computer with multiple …

python boost boost-python
Python embedded in CPP: how to get data back to CPP

While working on a C++ project, I was looking for a third party library for something that is not my …

c++ python boost-python