[C++-sig] Boost python undef symbols

Stefan Seefeld stefan at seefeld.name
Sat Jul 14 11:47:08 EDT 2018


On 07/13/18 08:41, Servando Arboli wrote:
>
> Dear all,
>
> I’m trying to install boost python in Windows but I must be doing
> something wrong. The execution of b2 with python has produced a
> library, but when I’m trying to link I get errors related to undefined
> symbols.
>
>  
>
> I’ve done a dumpbin /symbols with the library generated by b2,
> filtering the undef symbols, I get plenty of them:
>

[...]

Of course. Your code (as well as Boost.Python) is using symbols provided
by other libraries, including the standard C++ library (which provides
operator new and delete), and the Python library itself (which provides
all the symbols starting with `__impl_Py`), so you need to make sure
those libraries are linked to in your command-line.



Stefan

-- 

      ...ich hab' noch einen Koffer in Berlin...
    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20180714/73a2f69a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.png
Type: image/png
Size: 1478 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20180714/73a2f69a/attachment.png>


More information about the Cplusplus-sig mailing list