I get, from Visual C++, these linker errors, 8 in total, trying to
build the above C++ source:
C_test.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) void __cdecl
boost:
ython::detail::init_module(char const *,void
(__cdecl*)(void))"
(__imp_?init_module@detail@python@boost@@YAXPBDP6AXXZ@Z) referenced in
function _inithalf
C_test.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) void __cdecl
boost:
ython::detail::scope_setattr_doc(char const *,class
boost:
ython::api:
bject const &,char const *)"
(__imp_?scope_setattr_doc@detail@python@boost@@YAXPBDABVobject@api@23@0@Z)
referenced in function "void __cdecl boost:
ython::def<int
(__cdecl*)(float)>(char const *,int (__cdecl*)(float))"
(??$def@P6AHM@Z@python@boost@@YAXPBDP6AHM@Z@Z)
C_test.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) class boost:
ython::api:
bject __cdecl
boost:
ython:
bjects::function_object(struct
boost:
ython:
bjects:
y_function const &)"
(__imp_?function_object@objects@python@boost@@YA?AVobject@api@23@ABUpy_function@123@@Z)
referenced in function "class boost:
ython::api:
bject __cdecl
boost:
ython::detail::make_function_aux<int (__cdecl*)(float),struct
boost:
ython::default_call_policies,struct
boost::mpl::vector2<int,float> >(int (__cdecl*)(float),struct
boost:
ython::default_call_policies const &,struct
boost::mpl::vector2<int,float> const &)"
(??$make_function_aux@P6AHM@ZUdefault_call_policies@python@boost@@U?$vector2@HM@mpl@3@@detail@python@boost@@YA?AVobject@api@12@P6AHM@ZABUdefault_call_policies@12@ABU?$vector2@HM@mpl@2@@Z)
C_test.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __thiscall
boost:
ython:
bjects:
y_function_impl_base:
y_function_impl_base(void)"
(__imp_??0py_function_impl_base@objects@python@boost@@QAE@XZ)
referenced in function "public: __thiscall
boost:
ython:
bjects::caller_py_function_impl<struct
boost:
ython::detail::caller<int (__cdecl*)(float),struct
boost:
ython::default_call_policies,struct
boost::mpl::vector2<int,float> > >::caller_py_function_impl<struct
boost:
ython::detail::caller<int (__cdecl*)(float),struct
boost:
ython::default_call_policies,struct
boost::mpl::vector2<int,float> > >(struct
boost:
ython::detail::caller<int (__cdecl*)(float),struct
boost:
ython::default_call_policies,struct
boost::mpl::vector2<int,float> > const &)"
(??0?$caller_py_function_impl@U?$caller@P6AHM@ZUdefault_call_policies@python@boost@@U?$vector2@HM@mpl@3@@detail@python@boost@@@objects@python@boost@@QAE@ABU?$caller@P6AHM@ZUdefault_call_policies@python@boost@@U?$vector2@HM@mpl@3@@detail@23@@Z)
C_test.obj : error LNK2001: unresolved external symbol "public:
virtual unsigned int __thiscall
boost:
ython:
bjects:
y_function_impl_base::max_arity(void)const "
(?max_arity@py_function_impl_base@objects@python@boost@@UBEIXZ)
C_test.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: virtual __thiscall
boost:
ython:
bjects:
y_function_impl_base::~py_function_impl_base(void)"
(__imp_??1py_function_impl_base@objects@python@boost@@UAE@XZ)
referenced in function "public: virtual __thiscall
boost:
ython:
bjects::caller_py_function_impl<struct
boost:
ython::detail::caller<int (__cdecl*)(float),struct
boost:
ython::default_call_policies,struct
boost::mpl::vector2<int,float> > >::~caller_py_function_impl<struct
boost:
ython::detail::caller<int (__cdecl*)(float),struct
boost:
ython::default_call_policies,struct
boost::mpl::vector2<int,float> > >(void)"
(??1?$caller_py_function_impl@U?$caller@P6AHM@ZUdefault_call_policies@python@boost@@U?$vector2@HM@mpl@3@@detail@python@boost@@@objects@python@boost@@UAE@XZ)
C_test.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) struct
boost:
ython::converter::rvalue_from_python_stage1_data __cdecl
boost:
ython::converter::rvalue_from_python_stage1(struct _object
*,struct boost:
ython::converter::registration const &)"
(__imp_?rvalue_from_python_stage1@converter@python@boost@@YA?AUrvalue_from_python_stage1_data@123@PAU_object@@ABUregistration@123@@Z)
referenced in function "public: __thiscall
boost:
ython::converter::arg_rvalue_from_python<float>::arg_rvalue_from_python<float>(struct
_object *)"
(??0?$arg_rvalue_from_python@M@converter@python@boost@@QAE@PAU_object@@@Z)
C_test.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) struct boost:
ython::converter::registration
const & __cdecl boost:
ython::converter::registry::lookup(struct
boost:
ython::type_info)"
(__imp_?lookup@registry@converter@python@boost@@YAABUregistration@234@Utype_info@34@@Z)
referenced in function "struct boost:
ython::converter::registration
const & __cdecl
boost:
ython::converter::detail::registry_lookup<float const volatile
(float const volatile & (__cdecl*)(void))"
(??$registry_lookup@$$CDM@detail@converter@python@boost@@YAABUregistration@123@P6AADMXZ@Z)
C:\Documents and Settings\Erik\My Documents\Visual Studio
2005\Projects\C_test\Debug\C_test.dll : fatal error LNK1120: 8
unresolved externals