|
Boost Users : |
From: Johan Johansson (johan2sson_at_[hidden])
Date: 2007-07-17 06:26:05
Since I guess it might make things a little easier I created this example
project. The project and solution files were created with VC9 which I guess
not too many will be running, but the example itself could hardly be any
simpler and VC8 works/doesn't work just as well. The entire code is
#include <boost/python.hpp>
void a_function() {}
using namespace boost::python;
BOOST_PYTHON_MODULE(tepe)
{
def("a_function", a_function);
}
j
"Johan Johansson" <johan2sson_at_[hidden]> wrote in message
news:f7gjcq$nor$1_at_sea.gmane.org...
> 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_at_python@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_at_python@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_at_python@boost@@0_NC (private: static
> bool volatile boost::python::docstring_options::show_user_defined_)
> 1B5 00000005 SECT7 notype External |
> ?show_signatures__at_docstring_options_at_python@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_at_python@boost@@0_NC (private: static
> bool
> volatile boost::python::docstring_options::show_signatures_)
> ?show_user_defined__at_docstring_options_at_python@boost@@0_NC (private: static
> bool volatile boost::python::docstring_options::show_user_defined_)
> ...
>
> Any ideas?
>
> j
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net