Subject: Re: [boost] [python] Building and Testing needs to be updated for modular-boost
From: Jürgen Hunold (jhunold_at_[hidden])
Date: 2014-08-05 03:12:26
Am Montag, 4. August 2014, 11:55:12 schrieb Edward Diener:
> On 8/2/2014 5:31 AM, Jürgen Hunold wrote:
> > 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.
Which Python do you use? I have Python-3.4 installed, this would be one
possible reason. Does the example compile without my patch on your system?
-- * Dipl.-Math. Jürgen Hunold ! * voice: ++49 4257 300 ! Fährstraße 1 * fax : ++49 4257 300 ! 31609 Balge/Sebbenhausen * jhunold_at_gmx.eu ! Germany
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk