Boost logo

Boost :

Subject: Re: [boost] [python] Building and Testing needs to be updated for modular-boost
From: Edward Diener (eldiener_at_[hidden])
Date: 2014-08-04 11:55:12


On 8/2/2014 5:31 AM, Jürgen Hunold wrote:
> Hi Edward,
>
> Am Freitag, 1. August 2014, 21:42:57 schrieb Edward Diener:
>> Attempting to follow the building and testing explanation for
>> Boost.Python in modular-boost, it appears it no longer works with the
>> new structure of modular-boost and Boost Build.
>>
>> Staring with the 3.1 Basic Procedure section I invoke in the
>>
>> libs/python/example/quickstart/ directory the command:
>> > b2 toolset=gcc-4.8.1 --verbose-test test
>
>> I do not know who is taking care of Boost Python now but it appears that
>> it needs to be updated for modular-boost.
>
> It even needs more caretaking. After fixing boost-build.jam to point to the new
> build system location, I had to tweak the example itself. Full patch to get
> things compiling again attached.

With the example that you tweaked I get:

> embedding.cpp: In function 'void exec_test()':
> embedding.cpp:56:48: error: 'PyInit_embedded_hello' was not declared in this scope
> if (PyImport_AppendInittab("embedded_hello", PyInit_embedded_hello) == -1)

It appears that the change you made in embedding.cpp is not correct, or
I am doing something wrong.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk