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

C++ Server Cannot Read My Message From Python Client Via Socket

I have wrote a python client script to send message to the server via tcp. import socket TCP_IP = … Read more C++ Server Cannot Read My Message From Python Client Via Socket

Run Python In C++

I have an application written in C++ and a testing system (also in C++). Testing system is pretty c… Read more Run Python In C++

Multiprecision Python Library That Plays Well With Boost::multiprecision Or Other Options?

I am working on a project that revolves around multiprecision 'complex' numbers, specifical… Read more Multiprecision Python Library That Plays Well With Boost::multiprecision Or Other Options?

Add Member Functions To A Boost Python Class After The Fact?

In Boost Python, you can expose a C++ class to Python like this: object obj = class_ ('MyClass&… Read more Add Member Functions To A Boost Python Class After The Fact?

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

Linking To Boost::python Using Visual C++ Express 10

I've built Python (3.2.1) and boost::python (1_47_0) under Windows with Visual C++ Express 2010… Read more Linking To Boost::python Using Visual C++ Express 10

How To Reinitialise An Embedded Python Interpreter?

I'm working on embedding Python in our test suite application. The purpose is to use Python to … Read more How To Reinitialise An Embedded Python Interpreter?

Exposing Static Constant With Boost

I am using Boost 1.44.0 to cross-compile C++ code for Python. I'm trying to expose a static con… Read more Exposing Static Constant With Boost

How Iterate (key, Value) Boost::python:dict

How can I iterate in C++ over my boost::python:dict ? I need key and value in every loop round. My… Read more How Iterate (key, Value) Boost::python:dict

Attempted Relative Import Beyond Top-level Package With Boost/python

I've tried multiple ways to import a module in a post here, but I decided to post a new questio… Read more Attempted Relative Import Beyond Top-level Package With Boost/python

What Happens During And After Boost::python::import?

The Boost documentation does not specify this. When I use boost::python::import, where exactly is t… Read more What Happens During And After Boost::python::import?

Cannot Link Boost.python With Mingw

I have already build boost.python lib by mingw,Got two lib files: libboost_python-mgw45-mt-1_46_1.… Read more Cannot Link Boost.python With Mingw

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

Import Dlib ImportError Symbol Not Found: _PyClass_Type

When I run import dlib in Python 3.6 I get the following error: Traceback (most recent call last): … Read more Import Dlib ImportError Symbol Not Found: _PyClass_Type

Linking To Boost::python Using Visual C++ Express 10

I've built Python (3.2.1) and boost::python (1_47_0) under Windows with Visual C++ Express 2010… Read more Linking To Boost::python Using Visual C++ Express 10

How To Wrap Functions Overloaded By Type?

Suppose there is a class MyArray which implements an array of SomeType. It is written in C++ and wr… Read more How To Wrap Functions Overloaded By Type?

Crash On Call From Boost::python::exec( Anything )

I'm trying to implement some Python stuff into my program and I've decided to use Boost::Py… Read more Crash On Call From Boost::python::exec( Anything )