Boost logo

Boost :

From: sfranke2000 (franke_at_[hidden])
Date: 2002-01-31 13:29:51


I'm desperately trying to compile the examples in the
...\libs\python\build\build.dsw workspace with Visual
Studio 6 SP5.

After adjusting all paths in the project settings bpl_static
compiles with a few warnings (see below), but I don't get any
example project linked (in any configuration, see output for
getting_started1 below) due to unresolved externals.

I'm completely unable to interpret what's missing here.
Can you help me?

Thanks,
Stefan

--------------------Configuration: bpl_static - Win32 Release---------
-----------
Compiling...
classes.cpp
conversions.cpp
extension_class.cpp
D:\dev\Projects\CreamScript\boost\libs\python\src\extension_class.cpp
(686) : warning C4660: template-class
specialization 'meta_class<class
boost::python::detail::extension_instance>' is already instantiated
D:\dev\Projects\CreamScript\boost\libs\python\src\extension_class.cpp
(687) : warning C4660: template-class specialization 'class_t<class
boost::python::detail::extension_instance>' is already instantiated
functions.cpp
init_function.cpp
module_builder.cpp
objects.cpp
types.cpp
Spawn Time 0:25.4
Creating library...
Spawn Time 0:00.0
--------------------Configuration: getting_started1 - Win32 Release---
-----------------
Compiling...
getting_started1.cpp
..\..\..\..\boost/python/detail/extension_class.hpp(74) : warning
C4231: nonstandard extension used : 'extern' before template explicit
instantiation
..\..\..\..\boost/python/detail/extension_class.hpp(75) : warning
C4231: nonstandard extension used : 'extern' before template explicit
instantiation
Spawn Time 0:01.8
Linking...
   Creating library Release/getting_started1.lib and object
Release/getting_started1.exp
getting_started1.obj : error LNK2001: unresolved external
symbol "bool __cdecl boost::python::handle_exception_impl(class
boost::function0<void,struct boost::empty_function_policy,struct
boost::empty_function_mixin,int>)" (?handle_exception_impl_at_pyt
hon_at_boost@@YA_NV?
$function0_at_XUempty_function_policy_at_boost@@Uempty_function_mixin_at_2@H_at_2@
@Z)
bpl_static.lib(types.obj) : error LNK2001: unresolved external
symbol "bool __cdecl boost::python::handle_exception_impl(class
boost::function0<void,struct boost::empty_function_policy,struct
boost::empty_function_mixin,int>)" (?handle_exception_imp
l_at_python@boost@@YA_NV?
$function0_at_XUempty_function_policy_at_boost@@Uempty_function_mixin_at_2@H_at_2@
@Z)
bpl_static.lib(module_builder.obj) : error LNK2001: unresolved
external symbol "struct _object * __cdecl
boost::python::expect_non_null(struct _object *)" (?
expect_non_null_at_python@boost@@YAPAU_object@@PAU3@@Z)
bpl_static.lib(functions.obj) : error LNK2001: unresolved external
symbol "struct _object * __cdecl boost::python::expect_non_null
(struct _object *)" (?
expect_non_null_at_python@boost@@YAPAU_object@@PAU3@@Z)
bpl_static.lib(objects.obj) : error LNK2001: unresolved external
symbol "struct _object * __cdecl boost::python::expect_non_null
(struct _object *)" (?
expect_non_null_at_python@boost@@YAPAU_object@@PAU3@@Z)
Release/getting_started1.dll : fatal error LNK1120: 2 unresolved
externals
Error executing link.exe.

getting_started1.dll - 6 error(s), 4 warning(s)
Build Time 0:27.8


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