Boost logo

Boost :

From: Robert Dailey (rcdailey_at_[hidden])
Date: 2008-03-27 17:11:19


On Thu, Mar 27, 2008 at 4:04 PM, Robert Dailey <rcdailey_at_[hidden]> wrote:

> Hi,
>
> When compiling Boost.Python using the *.dsw visual studio project file in
> the boost/libs/python/build directory, the project fails to link. Note that
> I've converted this project to a Visual Studio 9 project. Below are the
> linker errors:
>
> 1>Linking...
> 1> Creating library .\../bin-stage/boost_python_debug.lib and object
> .\../bin-stage/boost_python_debug.exp
> 1>function.obj : error LNK2001: unresolved external symbol "char *
> boost::python::objects::detail::cpp_signature_tag" (?cpp_signature_tag@
> detail_at_objects@python_at_boost@@3PADA)
> 1>function.obj : error LNK2001: unresolved external symbol "char *
> boost::python::objects::detail::py_signature_tag" (?py_signature_tag@
> detail_at_objects@python_at_boost@@3PADA)
> 1>function.obj : error LNK2019: unresolved external symbol "public: static
> class boost::python::list __cdecl
> boost::python::objects::function_doc_signature_generator::function_doc_signatures(struct
> boost::python::objects::function const *)" (?function_doc_signatures@
> function_doc_signature_generator_at_objects@python_at_boost@@SA?AVlist_at_34@
> PBUfunction_at_234@@Z) referenced in function _function_get_doc
> 1>../bin-stage/boost_python_debug.dll : fatal error LNK1120: 3 unresolved
> externals
> 1>Build Time 0:00
> 1>boost_python - 4 error(s), 0 warning(s)
>

Well I just figured out the problem, I should have found this before I
posted, but at least it can be fixed in the repository now:

Simply add "boost\libs\python\src\object\function_doc_signature.cpp" to the
Visual Studio project. I would also like to suggest at this time that you
upgrade the project to a VS9 project if possible!


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