[C++-sig] unresolved docstring_options symbols with boost::python 1.34.0 using msvc 8 and 9

Johan Johansson johan2sson at gmail.com
Mon Jul 16 23:04:07 CEST 2007


Hi

I'm having some problems moving from boost 1.33.1 to 1.34.0. More
specifically my python extension isn't linking anymore:

>    Searching W:\boost_1_34_0\stage\lib\boost_python-vc80-mt.lib:
>Finished searching libraries
>MagicMarker.obj : error LNK2001: unresolved external symbol "private:
>static bool volatile boost::python::docstring_options::show_user_defined_"
>(?show_user_defined_ at docstring_options@python at boost@@0_NC)
>MagicMarker.obj : error LNK2001: unresolved external symbol "private:
>static bool volatile boost::python::docstring_options::show_signatures_"
>(?show_signatures_ at docstring_options@python at boost@@0_NC)

That seems to be statistics however:

W:\boost_1_34_0\bin.v2\libs\python\build\msvc-8.0\debug>dumpbin /symbols
function.obj | findstr docstring
...
1B4 00000004 SECT7  notype       External     |
?show_user_defined_ at docstring_options@python at boost@@0_NC (private: static
bool volatile boost::python::docstring_options::show_user_defined_)
1B5 00000005 SECT7  notype       External     |
?show_signatures_ at docstring_options@python at boost@@0_NC (private: static bool

volatile boost::python::docstring_options::show_signatures_)
...

W:\boost_1_34_0\stage\lib>dumpbin /exports boost_python-vc80-mt.lib |
findstr docstring_options
...
?show_signatures_ at docstring_options@python at boost@@0_NC (private: static bool

volatile boost::python::docstring_options::show_signatures_)
?show_user_defined_ at docstring_options@python at boost@@0_NC (private: static
bool volatile boost::python::docstring_options::show_user_defined_)
...

Any ideas?

j
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20070716/42bfe54d/attachment.htm>


More information about the Cplusplus-sig mailing list