can't find the boost lib boost_python-vc90-mt-gyd-1_44.lib

Discussion about using Python with libRocket.

can't find the boost lib boost_python-vc90-mt-gyd-1_44.lib

Postby yaxinhoo on Sat Sep 18, 2010 5:07 am

i got the code from gitub, when i want to build , i got the error of can't find the boost_python-vc90-mt-gyd-1_44.lib , i search on google , but i can't find a version can't match it ?

anyone can tell me which version of boost it use , and how to build the boost python, any hints to help me ?

i had got the boost1.44
yaxinhoo
 
Posts: 47
Joined: Sat Sep 18, 2010 4:52 am

Re: can't find the boost lib boost_python-vc90-mt-gyd-1_44.l

Postby lloydw on Sat Sep 18, 2010 7:12 am

You have the right version of boost, however if you want to use the Python bindings with libRocket you need to compile Boost.Python and most likely Python. You can use libRocket without the Python interface, just use the Rocket.sln file.

For for full details on building boost see the boost website http://www.boost.org/doc/libs/1_44_0/libs/python/doc/building.html

If you still run into issues let me know and I can try point you in the right direction.
lloydw
Rocket Engineer
Rocket Engineer
 
Posts: 380
Joined: Tue Jan 15, 2008 10:56 pm

Re: can't find the boost lib boost_python-vc90-mt-gyd-1_44.l

Postby yaxinhoo on Sat Sep 18, 2010 10:30 am

yes , iwant to use python script , caus i like python too

i use bjam "-sTOOLS=msvc" --with-python --prefix=G:\Engine\boost\boost_1_44\stage\lib
to build the boost-python
and then change the libboost_python-vc90-mt-gd-1_44.lib to boost_python-vc90-mt-gyd-1_44.lib,

but when i build the roketcorepython , i got the following link errors , can you help me ?
Code: Select all
错误 305 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::objects::class_base::~class_base(void)" ([email protected]@[email protected]@@[email protected]) Interfaces.obj RocketCorePython
错误 306 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::objects::class_base::~class_base(void)" ([email protected]@[email protected]@@[email protected]) ElementChildrenProxy.obj RocketCorePython
错误 307 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::objects::class_base::~class_base(void)" ([email protected]@[email protected]@@[email protected]) ElementInterface.obj RocketCorePython
错误 308 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::objects::class_base::~class_base(void)" ([email protected]@[email protected]@@[email protected]) ElementStyleProxy.obj RocketCorePython
错误 309 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::objects::class_base::~class_base(void)" ([email protected]@[email protected]@@[email protected]) EventInterface.obj RocketCorePython
错误 310 error LNK2019: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::objects::class_base::~class_base(void)" ([email protected]@[email protected]@@[email protected]),该符号在函数 "public: thiscall boost::python::class::~class(void)" ([email protected]@[email protected]@Rocket@@[email protected]@[email protected]@@[email protected]@@[email protected]@@[email protected]) 中被引用 ContextDocumentProxy.obj RocketCorePython
错误 311 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::objects::class_base::~class_base(void)" ([email protected]@[email protected]@@[email protected]) ContextInterface.obj RocketCorePython
错误 312 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::objects::class_base::~class_base(void)" ([email protected]@[email protected]@@[email protected]) ContextProxy.obj RocketCorePython
错误 313 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::objects::class_base::~class_base(void)" ([email protected]@[email protected]@@[email protected]) ElementAttributeProxy.obj RocketCorePython
错误 314 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::converter::shared_ptr_deleter::shared_ptr_deleter(struct boost::python::converter::shared_ptr_deleter const &)" ([email protected]@[email protected]@@[email protected]@@Z) Interfaces.obj RocketCorePython
错误 315 error LNK2019: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::converter::shared_ptr_deleter::shared_ptr_deleter(struct boost::python::converter::shared_ptr_deleter const &)" ([email protected]@[email protected]@@[email protected]@@Z),该符号在函数 "public: thiscall boost::python::class::id_vector::id_vector(void)" (??0id_vector@[email protected]@[email protected]@Rocket@@[email protected]@[email protected]@@[email protected]@@[email protected]@@[email protected]) 中被引用 ElementChildrenProxy.obj RocketCorePython
错误 316 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::converter::shared_ptr_deleter::shared_ptr_deleter(struct boost::python::converter::shared_ptr_deleter const &)" ([email protected]@[email protected]@@[email protected]@@Z) ElementInterface.obj RocketCorePython
错误 317 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::converter::shared_ptr_deleter::shared_ptr_deleter(struct boost::python::converter::shared_ptr_deleter const &)" ([email protected]@[email protected]@@[email protected]@@Z) ElementStyleProxy.obj RocketCorePython
错误 318 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::converter::shared_ptr_deleter::shared_ptr_deleter(struct boost::python::converter::shared_ptr_deleter const &)" ([email protected]@[email protected]@@[email protected]@@Z) EventInterface.obj RocketCorePython
错误 319 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::converter::shared_ptr_deleter::shared_ptr_deleter(struct boost::python::converter::shared_ptr_deleter const &)" ([email protected]@[email protected]@@[email protected]@@Z) ContextDocumentProxy.obj RocketCorePython
错误 320 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::converter::shared_ptr_deleter::shared_ptr_deleter(struct boost::python::converter::shared_ptr_deleter const &)" ([email protected]@[email protected]@@[email protected]@@Z) ContextInterface.obj RocketCorePython
错误 321 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::converter::shared_ptr_deleter::shared_ptr_deleter(struct boost::python::converter::shared_ptr_deleter const &)" ([email protected]@[email protected]@@[email protected]@@Z) ContextProxy.obj RocketCorePython
错误 322 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::converter::shared_ptr_deleter::shared_ptr_deleter(struct boost::python::converter::shared_ptr_deleter const &)" ([email protected]@[email protected]@@[email protected]@@Z) ElementAttributeProxy.obj RocketCorePython
错误 323 error LNK2001: 无法解析的外部符号 "declspec(dllimport) void cdecl boost::python::objects::register_dynamic_id_aux(struct boost::python::type_info,struct std::pair (cdecl)(void ))" ([email protected]@[email protected]@@[email protected]@[email protected][email protected]@boost@@@std@@[email protected]@Z) Interfaces.obj RocketCorePython
错误 324 error LNK2019: 无法解析的外部符号 "declspec(dllimport) void cdecl boost::python::objects::register_dynamic_id_aux(struct boost::python::type_info,struct std::pair (cdecl)(void ))" ([email protected]@[email protected]@@[email protected]@[email protected][email protected]@boost@@@std@@[email protected]@Z),该符号在函数 "public: __thiscall boost::python::class::id_vector::id_vector(void)" (??0id_vector@[email protected]@[email protected]@Rocket@@[email protected]@[email protected]@@[email protected]@@[email protected]@@[email protected]) 中被引用 ElementChildrenProxy.obj RocketCorePython
错误 325 error LNK2001: 无法解析的外部符号 "declspec(dllimport) void cdecl boost::python::objects::register_dynamic_id_aux(struct boost::python::type_info,struct std::pair (cdecl)(void ))" ([email protected]@[email protected]@@[email protected]@[email protected][email protected]@boost@@@std@@[email protected]@Z) ElementInterface.obj RocketCorePython
错误 326 error LNK2001: 无法解析的外部符号 "declspec(dllimport) void cdecl boost::python::objects::register_dynamic_id_aux(struct boost::python::type_info,struct std::pair (cdecl)(void ))" ([email protected]@[email protected]@@[email protected]@[email protected][email protected]@boost@@@std@@[email protected]@Z) ElementStyleProxy.obj RocketCorePython
错误 327 error LNK2001: 无法解析的外部符号 "declspec(dllimport) void cdecl boost::python::objects::register_dynamic_id_aux(struct boost::python::type_info,struct std::pair (cdecl)(void ))" ([email protected]@python@boost@@YAXUtype_info@23@P6A?AU?$pair@PAXUtype_info@python@boost@@@std@@PAX@Z@Z) EventInterface.obj RocketCorePython
错误 328 error LNK2001: 无法解析的外部符号 "declspec(dllimport) void cdecl boost::python::objects::register_dynamic_id_aux(struct boost::python::type_info,struct std::pair (cdecl)(void ))" (imp?register_dynamic_id_aux@objects@python@boost@@YAXUtype_info@23@P6A?AU?$pair@PAXUtype_info@python@boost@@@std@@PAX@Z@Z) ContextDocumentProxy.obj RocketCorePython
错误 329 error LNK2001: 无法解析的外部符号 "declspec(dllimport) void cdecl boost::python::objects::register_dynamic_id_aux(struct boost::python::type_info,struct std::pair (cdecl)(void ))" (imp?register_dynamic_id_aux@objects@python@boost@@YAXUtype_info@23@P6A?AU?$pair@PAXUtype_info@python@boost@@@std@@PAX@Z@Z) ContextInterface.obj RocketCorePython
错误 330 error LNK2001: 无法解析的外部符号 "declspec(dllimport) void cdecl boost::python::objects::register_dynamic_id_aux(struct boost::python::type_info,struct std::pair (cdecl)(void ))" (imp?register_dynamic_id_aux@objects@python@boost@@YAXUtype_info@23@P6A?AU?$pair@PAXUtype_info@python@boost@@@std@@PAX@Z@Z) ContextProxy.obj RocketCorePython
错误 331 error LNK2001: 无法解析的外部符号 "declspec(dllimport) void cdecl boost::python::objects::register_dynamic_id_aux(struct boost::python::type_info,struct std::pair (cdecl)(void ))" (imp?register_dynamic_id_aux@objects@python@boost@@YAXUtype_info@23@P6A?AU?$pair@PAXUtype_info@python@boost@@@std@@PAX@Z@Z) ElementAttributeProxy.obj RocketCorePython
错误 332 error LNK2001: 无法解析的外部符号 "declspec(dllimport) void * cdecl boost::python::objects::find_static_type(void ,struct boost::python::type_info,struct boost::python::type_info)" (imp_?find_static_type@objects@python@boost@@YAPAXPAXUtype_info@23@1@Z) Interfaces.obj RocketCorePython
错误 333 error LNK2001: 无法解析的外部符号 "declspec(dllimport) void * __cdecl boost::python::objects::find_static_type(void ,struct boost::python::type_info,struct boost::python::type_info)" (imp_?find_static_type@objects@python@boost@@YAPAXPAXUtype_info@23@1@Z) ElementChildrenProxy.obj RocketCorePython
错误 334 error LNK2001: 无法解析的外部符号 "declspec(dllimport) void * cdecl boost::python::objects::find_static_type(void *,struct boost::python::type_info,struct boost::python::type_info)" (imp?find_static_type@objects@python@boost@@YAPAXPAXUtype_info@23@1@Z) ElementInterface.obj RocketCorePython
错误 335 error LNK2001: 无法解析的外部符号 "declspec(dllimport) void * cdecl boost::python::objects::find_static_type(void *,struct boost::python::type_info,struct boost::python::type_info)" (__imp?find_static_type@objects@python@boost@@YAPAXPAXUtype_info@23@1@Z) ElementStyleProxy.obj RocketCorePython
错误 336 error LNK2001: 无法解析的外部符号 "declspec(dllimport) void * cdecl boost::python::objects::find_static_type(void ,struct boost::python::type_info,struct boost::python::type_info)" (imp_?find_static_type@objects@python@boost@@YAPAXPAXUtype_info@23@1@Z) EventInterface.obj RocketCorePython
错误 337 error LNK2019: 无法解析的外部符号 "declspec(dllimport) void * __cdecl boost::python::objects::find_static_type(void ,struct boost::python::type_info,struct boost::python::type_info)" (imp_?find_static_type@objects@python@boost@@YAPAXPAXUtype_info@23@1@Z),该符号在函数 "private: virtual void * thiscall boost::python::objects::value_holder::holds(struct boost::python::type_info,bool)" (?holds@?$value_holder@VContextDocumentProxy@Python@Core@Rocket@@@objects@python@boost@@EAEPAXUtype_info@34@N@Z) 中被引用 ContextDocumentProxy.obj RocketCorePython
错误 338 error LNK2001: 无法解析的外部符号 "declspec(dllimport) void * cdecl boost::python::objects::find_static_type(void *,struct boost::python::type_info,struct boost::python::type_info)" (__imp?find_static_type@objects@python@boost@@YAPAXPAXUtype_info@23@1@Z) ContextInterface.obj RocketCorePython
错误 339 error LNK2001: 无法解析的外部符号 "declspec(dllimport) void * cdecl boost::python::objects::find_static_type(void ,struct boost::python::type_info,struct boost::python::type_info)" (imp_?find_static_type@objects@python@boost@@YAPAXPAXUtype_info@23@1@Z) ContextProxy.obj RocketCorePython
错误 340 error LNK2001: 无法解析的外部符号 "declspec(dllimport) void * __cdecl boost::python::objects::find_static_type(void ,struct boost::python::type_info,struct boost::python::type_info)" (imp_?find_static_type@objects@python@boost@@YAPAXPAXUtype_info@23@1@Z) ElementAttributeProxy.obj RocketCorePython
错误 341 error LNK2019: 无法解析的外部符号 "declspec(dllimport) void cdecl boost::python::objects::add_cast(struct boost::python::type_info,struct boost::python::type_info,void * (cdecl)(void ),bool)" (imp_?add_cast@objects@python@boost@@YAXUtype_info@23@0P6APAXPAX@Z_N@Z),该符号在函数 "void cdecl boost::python::objects::register_conversion const &,struct Rocket::Core::Python::WrapperNone,struct Rocket::Core::Python::WrapperNone,struct Rocket::Core::Python::WrapperNone,struct Rocket::Core::Python::WrapperNone,struct Rocket::Core::Python::WrapperNone,struct Rocket::Core::Python::WrapperNone>,class Rocket::Core::Context>(bool,class Rocket::Core::Python::Wrapper const &,struct Rocket::Core::Python::WrapperNone,struct Rocket::Core::Python::WrapperNone,struct Rocket::Core::Python::WrapperNone,struct Rocket::Core::Python::WrapperNone,struct Rocket::Core::Python::WrapperNone,struct Rocket::Core::Python::WrapperNone> ,class Rocket::Core::Context )" (??$register_conversion@V?$Wrapper@VContext@Core@Rocket@@ABV?$StringBase@D@23@UWrapperNone@Python@23@U5623@U5623@U5623@U5623@U5623@@Python@Core@Rocket@@VContext@34@@objects@python@boost@@YAX_NPAV?$Wrapper@VContext@Core@Rocket@@ABV?$StringBase@D@23@UWrapperNone@Python@23@U5623@U5623@U5623@U5623@U5623@@Python@Core@Rocket@@PAVContext@56@@Z) 中被引用 ContextInterface.obj RocketCorePython
错误 342 error LNK2001: 无法解析的外部符号 "declspec(dllimport) void cdecl boost::python::objects::add_cast(struct boost::python::type_info,struct boost::python::type_info,void * (cdecl)(void ),bool)" (imp?add_cast@objects@python@boost@@YAXUtype_info@23@0P6APAXPAX@Z_N@Z) ElementInterface.obj RocketCorePython
错误 343 error LNK2001: 无法解析的外部符号 "declspec(dllimport) void cdecl boost::python::objects::add_cast(struct boost::python::type_info,struct boost::python::type_info,void * (cdecl)(void ),bool)" (imp?add_cast@objects@python@boost@@YAXUtype_info@23@0P6APAXPAX@Z_N@Z) EventInterface.obj RocketCorePython
错误 344 error LNK2019: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::objects::enum_base::~enum_base(void)" (imp_??1enum_base@objects@python@boost@@QAE@XZ),该符号在函数 "public: thiscall boost::python::enum::~enum(void)" (??1?$enum@W4FocusFlags@ElementDocument@Core@Rocket@@@python@boost@@QAE@XZ) 中被引用 ElementInterface.obj RocketCorePython
错误 345 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::objects::enum_base::~enum_base(void)" (__imp??1enum_base@objects@python@boost@@QAE@XZ) Interfaces.obj RocketCorePython
错误 346 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::objects::enum_base::~enum_base(void)" (imp_??1enum_base@objects@python@boost@@QAE@XZ) Module.obj RocketCorePython
错误 347 error LNK2019: 无法解析的外部符号 "declspec(dllimport) protected: thiscall boost::python::objects::enum_base::enum_base(char const *,struct _object * (cdecl)(void const ),void * (cdecl)(struct _object ),void (cdecl)(struct _object ,struct boost::python::converter::rvalue_from_python_stage1_data ),struct boost::python::type_info,char const )" (imp_??0enum_base@objects@python@boost@@IAE@PBDP6APAU_object@@PBX@ZP6APAXPAU4@@ZP6AX3PAUrvalue_from_python_stage1_data@converter@23@@ZUtype_info@23@0@Z),该符号在函数 "public: thiscall boost::python::enum::enum(char const ,char const )" (??0?$enum@W4FocusFlags@ElementDocument@Core@Rocket@@@python@boost@@QAE@PBD0@Z) 中被引用 ElementInterface.obj RocketCorePython
错误 348 error LNK2001: 无法解析的外部符号 "declspec(dllimport) protected: thiscall boost::python::objects::enum_base::enum_base(char const *,struct object * (cdecl)(void const ),void * (cdecl)(struct _object ),void (cdecl)(struct _object ,struct boost::python::converter::rvalue_from_python_stage1_data ),struct boost::python::type_info,char const )" (imp??0enum_base@objects@python@boost@@IAE@PBDP6APAU_object@@PBX@ZP6APAXPAU4@@ZP6AX3PAUrvalue_from_python_stage1_data@converter@23@@ZUtype_info@23@0@Z) Interfaces.obj RocketCorePython
错误 349 error LNK2001: 无法解析的外部符号 "declspec(dllimport) protected: thiscall boost::python::objects::enum_base::enum_base(char const *,struct object * (cdecl)(void const ),void * (cdecl)(struct _object ),void (cdecl)(struct _object ,struct boost::python::converter::rvalue_from_python_stage1_data ),struct boost::python::type_info,char const )" (imp??0enum_base@objects@python@boost@@IAE@PBDP6APAU_object@@PBX@ZP6APAXPAU4@@ZP6AX3PAUrvalue_from_python_stage1_data@converter@23@@ZUtype_info@23@0@Z) Module.obj RocketCorePython
错误 350 error LNK2019: 无法解析的外部符号 "declspec(dllimport) protected: void thiscall boost::python::objects::enum_base::add_value(char const *,long)" (__imp?add_value@enum_base@objects@python@boost@@IAEXPBDJ@Z),该符号在函数 "public: struct boost::python::enum & __thiscall boost::python::enum::value(char const ,enum Rocket::Core::ElementDocument::FocusFlags)" (?value@?$enum_@W4FocusFlags@ElementDocument@Core@Rocket@@@python@boost@@QAEAAU123@PBDW4FocusFlags@ElementDocument@Core@Rocket@@@Z) 中被引用 ElementInterface.obj RocketCorePython
错误 351 error LNK2001: 无法解析的外部符号 "declspec(dllimport) protected: void thiscall boost::python::objects::enum_base::add_value(char const ,long)" (imp_?add_value@enum_base@objects@python@boost@@IAEXPBDJ@Z) Interfaces.obj RocketCorePython
错误 352 error LNK2001: 无法解析的外部符号 "declspec(dllimport) protected: void thiscall boost::python::objects::enum_base::add_value(char const *,long)" (imp?add_value@enum_base@objects@python@boost@@IAEXPBDJ@Z) Module.obj RocketCorePython
错误 353 error LNK2019: 无法解析的外部符号 "__declspec(dllimport) protected: static struct object * cdecl boost::python::objects::enum_base::to_python(struct _typeobject *,long)" (imp?to_python@enum_base@objects@python@boost@@KAPAU_object@@PAU_typeobject@@J@Z),该符号在函数 "private: static struct object * cdecl boost::python::enum::to_python(void const *)" (?to_python@?$enum@W4FocusFlags@ElementDocument@Core@Rocket@@@python@boost@@CAPAU_object@@PBX@Z) 中被引用 ElementInterface.obj RocketCorePython
错误 354 error LNK2001: 无法解析的外部符号 "declspec(dllimport) protected: static struct object * __cdecl boost::python::objects::enum_base::to_python(struct typeobject ,long)" (imp_?to_python@enum_base@objects@python@boost@@KAPAU_object@@PAU_typeobject@@J@Z) Interfaces.obj RocketCorePython
错误 355 error LNK2001: 无法解析的外部符号 "declspec(dllimport) protected: static struct object * __cdecl boost::python::objects::enum_base::to_python(struct typeobject ,long)" (imp_?to_python@enum_base@objects@python@boost@@KAPAU_object@@PAU_typeobject@@J@Z) Module.obj RocketCorePython
错误 356 error LNK2019: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::converter::detail::arg_to_python_base::~arg_to_python_base(void)" (imp??1arg_to_python_base@detail@converter@python@boost@@QAE@XZ),该符号在函数 "public: thiscall boost::python::converter::detail::value_arg_to_python::~value_arg_to_python(void)" (??1?$value_arg_to_python@VDictionary@Core@Rocket@@@detail@converter@python@boost@@QAE@XZ) 中被引用 EventInstancer.obj RocketCorePython
错误 357 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::converter::detail::arg_to_python_base::~arg_to_python_base(void)" (imp??1arg_to_python_base@detail@converter@python@boost@@QAE@XZ) Converters.obj RocketCorePython
错误 358 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::converter::detail::arg_to_python_base::~arg_to_python_base(void)" (imp_??1arg_to_python_base@detail@converter@python@boost@@QAE@XZ) Interfaces.obj RocketCorePython
错误 359 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::converter::detail::arg_to_python_base::~arg_to_python_base(void)" (imp??1arg_to_python_base@detail@converter@python@boost@@QAE@XZ) Module.obj RocketCorePython
错误 360 error LNK2019: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::converter::detail::arg_to_python_base::arg_to_python_base(void const volatile *,struct boost::python::converter::registration const &)" (__imp??0arg_to_python_base@detail@converter@python@boost@@QAE@PDXABUregistration@234@@Z),该符号在函数 "public: thiscall boost::python::converter::detail::value_arg_to_python::value_arg_to_python(class Rocket::Core::Dictionary const &)" (??0?$value_arg_to_python@VDictionary@Core@Rocket@@@detail@converter@python@boost@@QAE@ABVDictionary@Core@Rocket@@@Z) 中被引用 EventInstancer.obj RocketCorePython
错误 361 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::converter::detail::arg_to_python_base::arg_to_python_base(void const volatile *,struct boost::python::converter::registration const &)" (imp??0arg_to_python_base@detail@converter@python@boost@@QAE@PDXABUregistration@234@@Z) Converters.obj RocketCorePython
错误 362 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::converter::detail::arg_to_python_base::arg_to_python_base(void const volatile *,struct boost::python::converter::registration const &)" (__imp??0arg_to_python_base@detail@converter@python@boost@@QAE@PDXABUregistration@234@@Z) Interfaces.obj RocketCorePython
错误 363 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::converter::detail::arg_to_python_base::arg_to_python_base(void const volatile ,struct boost::python::converter::registration const &)" (imp_??0arg_to_python_base@detail@converter@python@boost@@QAE@PDXABUregistration@234@@Z) Module.obj RocketCorePython
错误 364 error LNK2019: 无法解析的外部符号 "declspec(dllimport) public: struct object * thiscall boost::python::handle::release(void)" (imp?release@?$handle@U_object@@@python@boost@@QAEPAU_object@@XZ),该符号在函数 "struct object * cdecl boost::python::detail::convert_result >(class Rocket::Core::Vector2 const &)" (??$convert_result@V?$Vector2@M@Core@Rocket@@@detail@python@boost@@YAPAU_object@@ABV?$Vector2@M@Core@Rocket@@@Z) 中被引用 Interfaces.obj RocketCorePython
错误 365 fatal error LNK1120: 12 个无法解析的外部命令 ..\bin_rocketcore_d.pyd RocketCorePython
错误 506 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::objects::class_base::~class_base(void)" (imp??1class_base@objects@python@boost@@QAE@XZ) DataSourceWrapper.obj RocketControlsPython
错误 507 error LNK2019: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::objects::class_base::~class_base(void)" (imp_??1class_base@objects@python@boost@@QAE@XZ),该符号在函数 "public: thiscall boost::python::class::~class(void)" (??1?$class@VDataGridRowProxy@Python@Controls@Rocket@@Unot_specified@detail@python@boost@@U5678@U5678@@python@boost@@QAE@XZ) 中被引用 DataGridRowProxy.obj RocketControlsPython
错误 508 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::objects::class_base::~class_base(void)" (__imp??1class_base@objects@python@boost@@QAE@XZ) ElementInterface.obj RocketControlsPython
错误 509 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::objects::class_base::~class_base(void)" (imp_??1class_base@objects@python@boost@@QAE@XZ) SelectOptionProxy.obj RocketControlsPython
错误 510 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::objects::class_base::~class_base(void)" (imp??1class_base@objects@python@boost@@QAE@XZ) DataFormatterWrapper.obj RocketControlsPython
错误 511 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::converter::shared_ptr_deleter::shared_ptr_deleter(struct boost::python::converter::shared_ptr_deleter const &)" (__imp??0shared_ptr_deleter@converter@python@boost@@QAE@ABU0123@@Z) DataSourceWrapper.obj RocketControlsPython
错误 512 error LNK2019: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::converter::shared_ptr_deleter::shared_ptr_deleter(struct boost::python::converter::shared_ptr_deleter const &)" (imp_??0shared_ptr_deleter@converter@python@boost@@QAE@ABU0123@@Z),该符号在函数 "private: static void cdecl boost::python::converter::shared_ptr_from_python::construct(struct _object ,struct boost::python::converter::rvalue_from_python_stage1_data )" (?construct@?$shared_ptr_from_python@VDataGridRowProxy@Python@Controls@Rocket@@@converter@python@boost@@CAXPAU_object@@PAUrvalue_from_python_stage1_data@234@@Z) 中被引用 DataGridRowProxy.obj RocketControlsPython
错误 513 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::converter::shared_ptr_deleter::shared_ptr_deleter(struct boost::python::converter::shared_ptr_deleter const &)" (imp_??0shared_ptr_deleter@converter@python@boost@@QAE@ABU0123@@Z) ElementInterface.obj RocketControlsPython
错误 514 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::converter::shared_ptr_deleter::shared_ptr_deleter(struct boost::python::converter::shared_ptr_deleter const &)" (imp??0shared_ptr_deleter@converter@python@boost@@QAE@ABU0123@@Z) SelectOptionProxy.obj RocketControlsPython
错误 515 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::converter::shared_ptr_deleter::shared_ptr_deleter(struct boost::python::converter::shared_ptr_deleter const &)" (__imp??0shared_ptr_deleter@converter@python@boost@@QAE@ABU0123@@Z) DataFormatterWrapper.obj RocketControlsPython
错误 516 error LNK2001: 无法解析的外部符号 "declspec(dllimport) void cdecl boost::python::objects::register_dynamic_id_aux(struct boost::python::type_info,struct std::pair (__cdecl)(void ))" (imp_?register_dynamic_id_aux@objects@python@boost@@YAXUtype_info@23@P6A?AU?$pair@PAXUtype_info@python@boost@@@std@@PAX@Z@Z) DataSourceWrapper.obj RocketControlsPython
错误 517 error LNK2019: 无法解析的外部符号 "declspec(dllimport) void cdecl boost::python::objects::register_dynamic_id_aux(struct boost::python::type_info,struct std::pair (cdecl)(void ))" (imp_?register_dynamic_id_aux@objects@python@boost@@YAXUtype_info@23@P6A?AU?$pair@PAXUtype_info@python@boost@@@std@@PAX@Z@Z),该符号在函数 "void cdecl boost::python::objects::register_dynamic_id(class Rocket::Controls::Python::DataGridRowProxy )" (??$register_dynamic_id@VDataGridRowProxy@Python@Controls@Rocket@@@objects@python@boost@@YAXPAVDataGridRowProxy@Python@Controls@Rocket@@@Z) 中被引用 DataGridRowProxy.obj RocketControlsPython
错误 518 error LNK2001: 无法解析的外部符号 "declspec(dllimport) void cdecl boost::python::objects::register_dynamic_id_aux(struct boost::python::type_info,struct std::pair (cdecl)(void ))" (imp?register_dynamic_id_aux@objects@python@boost@@YAXUtype_info@23@P6A?AU?$pair@PAXUtype_info@python@boost@@@std@@PAX@Z@Z) ElementInterface.obj RocketControlsPython
错误 519 error LNK2001: 无法解析的外部符号 "declspec(dllimport) void cdecl boost::python::objects::register_dynamic_id_aux(struct boost::python::type_info,struct std::pair (cdecl)(void ))" (imp?register_dynamic_id_aux@objects@python@boost@@YAXUtype_info@23@P6A?AU?$pair@PAXUtype_info@python@boost@@@std@@PAX@Z@Z) SelectOptionProxy.obj RocketControlsPython
错误 520 error LNK2001: 无法解析的外部符号 "declspec(dllimport) void cdecl boost::python::objects::register_dynamic_id_aux(struct boost::python::type_info,struct std::pair (cdecl)(void ))" (imp?register_dynamic_id_aux@objects@python@boost@@YAXUtype_info@23@P6A?AU?$pair@PAXUtype_info@python@boost@@@std@@PAX@Z@Z) DataFormatterWrapper.obj RocketControlsPython
错误 521 error LNK2001: 无法解析的外部符号 "declspec(dllimport) void * cdecl boost::python::objects::find_static_type(void *,struct boost::python::type_info,struct boost::python::type_info)" (__imp?find_static_type@objects@python@boost@@YAPAXPAXUtype_info@23@1@Z) DataSourceWrapper.obj RocketControlsPython
错误 522 error LNK2019: 无法解析的外部符号 "declspec(dllimport) void * cdecl boost::python::objects::find_static_type(void ,struct boost::python::type_info,struct boost::python::type_info)" (imp_?find_static_type@objects@python@boost@@YAPAXPAXUtype_info@23@1@Z),该符号在函数 "private: virtual void * thiscall boost::python::objects::value_holder::holds(struct boost::python::type_info,bool)" (?holds@?$value_holder@VDataGridRowProxy@Python@Controls@Rocket@@@objects@python@boost@@EAEPAXUtype_info@34@_N@Z) 中被引用 DataGridRowProxy.obj RocketControlsPython
错误 523 error LNK2001: 无法解析的外部符号 "declspec(dllimport) void * cdecl boost::python::objects::find_static_type(void ,struct boost::python::type_info,struct boost::python::type_info)" (imp_?find_static_type@objects@python@boost@@YAPAXPAXUtype_info@23@1@Z) ElementInterface.obj RocketControlsPython
错误 524 error LNK2001: 无法解析的外部符号 "declspec(dllimport) void * cdecl boost::python::objects::find_static_type(void *,struct boost::python::type_info,struct boost::python::type_info)" (imp?find_static_type@objects@python@boost@@YAPAXPAXUtype_info@23@1@Z) SelectOptionProxy.obj RocketControlsPython
错误 525 error LNK2001: 无法解析的外部符号 "declspec(dllimport) void * cdecl boost::python::objects::find_static_type(void *,struct boost::python::type_info,struct boost::python::type_info)" (__imp?find_static_type@objects@python@boost@@YAPAXPAXUtype_info@23@1@Z) DataFormatterWrapper.obj RocketControlsPython
错误 526 error LNK2019: 无法解析的外部符号 "declspec(dllimport) void cdecl boost::python::objects::add_cast(struct boost::python::type_info,struct boost::python::type_info,void * (cdecl)(void ),bool)" (imp?add_cast@objects@python@boost@@YAXUtype_info@23@0P6APAXPAX@Z_N@Z),该符号在函数 "void cdecl boost::python::objects::register_conversion(bool,class Rocket::Controls::ElementFormControl ,class Rocket::Core::Element )" (??$register_conversion@VElementFormControl@Controls@Rocket@@VElement@Core@3@@objects@python@boost@@YAX_NPAVElementFormControl@Controls@Rocket@@PAVElement@Core@5@@Z) 中被引用 ElementInterface.obj RocketControlsPython
错误 527 error LNK2001: 无法解析的外部符号 "declspec(dllimport) void cdecl boost::python::objects::add_cast(struct boost::python::type_info,struct boost::python::type_info,void * (cdecl)(void ),bool)" (__imp?add_cast@objects@python@boost@@YAXUtype_info@23@0P6APAXPAX@Z_N@Z) DataFormatterWrapper.obj RocketControlsPython
错误 528 error LNK2001: 无法解析的外部符号 "declspec(dllimport) void cdecl boost::python::objects::add_cast(struct boost::python::type_info,struct boost::python::type_info,void * (cdecl)(void ),bool)" (imp?add_cast@objects@python@boost@@YAXUtype_info@23@0P6APAXPAX@Z_N@Z) DataSourceWrapper.obj RocketControlsPython
错误 529 error LNK2019: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::converter::detail::arg_to_python_base::~arg_to_python_base(void)" (__imp??1arg_to_python_base@detail@converter@python@boost@@QAE@XZ),该符号在函数 "public: thiscall boost::python::converter::detail::value_arg_to_python,class std::allocator > > >::~value_arg_to_python,class std::allocator > > >(void)" (??1?$value_arg_to_python@V?$vector@V?$StringBase@D@Core@Rocket@@V?$allocator@V?$StringBase@D@Core@Rocket@@@std@@@std@@@detail@converter@python@boost@@QAE@XZ) 中被引用 DataFormatterWrapper.obj RocketControlsPython
错误 530 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::converter::detail::arg_to_python_base::~arg_to_python_base(void)" (imp??1arg_to_python_base@detail@converter@python@boost@@QAE@XZ) DataSourceWrapper.obj RocketControlsPython
错误 531 error LNK2019: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::converter::detail::arg_to_python_base::arg_to_python_base(void const volatile *,struct boost::python::converter::registration const &)" (__imp??0arg_to_python_base@detail@converter@python@boost@@QAE@PDXABUregistration@234@@Z),该符号在函数 "public: thiscall boost::python::converter::detail::value_arg_to_python,class std::allocator > > >::value_arg_to_python,class std::allocator > > >(class std::vector,class std::allocator > > const &)" (??0?$value_arg_to_python@V?$vector@V?$StringBase@D@Core@Rocket@@V?$allocator@V?$StringBase@D@Core@Rocket@@@std@@@std@@@detail@converter@python@boost@@QAE@ABV?$vector@V?$StringBase@D@Core@Rocket@@V?$allocator@V?$StringBase@D@Core@Rocket@@@std@@@std@@@Z) 中被引用 DataFormatterWrapper.obj RocketControlsPython
错误 532 error LNK2001: 无法解析的外部符号 "declspec(dllimport) public: thiscall boost::python::converter::detail::arg_to_python_base::arg_to_python_base(void const volatile *,struct boost::python::converter::registration const &)" (imp_??0arg_to_python_base@detail@converter@python@boost@@QAE@PDXABUregistration@234@@Z) DataSourceWrapper.obj RocketControlsPython
错误 533 fatal error LNK1120: 7 个无法解析的外部命令 ..\bin_rocketcontrols_d.pyd RocketControlsPython
yaxinhoo
 
Posts: 47
Joined: Sat Sep 18, 2010 4:52 am

Re: can't find the boost lib boost_python-vc90-mt-gyd-1_44.l

Postby yaxinhoo on Sat Sep 18, 2010 10:50 am

can you upload you boost_python-vc90-mt-gyd-1_44.lib or bjam build script.
the "http://www.boost.org/doc/libs/1_44_0/libs/python/doc/building.html" instruction is too complex to me.

i had python 2.7 install and i also got the python 2.7 source .
yaxinhoo
 
Posts: 47
Joined: Sat Sep 18, 2010 4:52 am

Re: can't find the boost lib boost_python-vc90-mt-gyd-1_44.l

Postby lloydw on Sat Sep 18, 2010 7:52 pm

You've got it compiling, you're almost there. Unfortunately you cannot rename dynamic .lib files as they internally reference the .dll name.

The extra "y" in my version of the library is because I have python debugging enabled (as sometime I need to step through the python code). If you don't want python debugging enabled, edit the name of the lib to link with in the visual studio project settings and change Rocket/Core/Python/Python.h as below (to ensure debug python is never used)

Code: Select all
/// Add this
#ifdef _DEBUG
#undef _DEBUG
#define DEBUG_DISABLED
#endif
/// End Add

// Python header includes
#include <Python.h>

#ifdef ROCKET_PLATFORM_WIN32
   #pragma warning(push)
   #pragma warning(disable: 4244)
#endif

// Prevent Boost from auto-linking with the wrong library.
#define BOOST_ALL_NO_LIB
#include <boost/python.hpp>
// remap boost::python to python for easier access
namespace python = boost::python;

#ifdef ROCKET_PLATFORM_WIN32
   #pragma warning(pop)
#endif

/// Add this
#ifdef DEBUG_DISABLED
#define _DEBUG
#endif
/// End Add


Ensure you always use Rocket/Core/Python/Python.h when including python across your project.

I've added a section to the documentation on building the Boost::Python libraries here.
lloydw
Rocket Engineer
Rocket Engineer
 
Posts: 380
Joined: Tue Jan 15, 2008 10:56 pm

Re: can't find the boost lib boost_python-vc90-mt-gyd-1_44.l

Postby yaxinhoo on Sun Sep 19, 2010 2:17 pm

thx , it is great
yaxinhoo
 
Posts: 47
Joined: Sat Sep 18, 2010 4:52 am

Re: can't find the boost lib boost_python-vc90-mt-gyd-1_44.l

Postby yaxinhoo on Sun Sep 19, 2010 2:38 pm

i follow you instruction and success build , but when i build the pyrocketinvaders , i got an exception and the demo crash at line of "if PyType_Ready(&class_type_object))" in the class.cpp

Code: Select all
  BOOST_PYTHON_DECL type_handle class_type()
  {
      if (class_type_object.tp_dict == 0)
      {
          Py_TYPE(&class_type_object) = incref(class_metatype().get());
          class_type_object.tp_base = &PyBaseObject_Type;
          if (PyType_Ready(&class_type_object))
              return type_handle();
//          class_type_object.tp_setattro = class_setattro;
      }
      return type_handle(borrowed(&class_type_object));
  }


Code: Select all
“PyRocketInvaders_d.exe”: 已加载“G:\Engine\UI\libRocketNew\bin\_rocketcore_d.pyd”,已加载符号。
PyRocketInvaders_d.exe 中的 0x1e00a575 处最可能的异常: 0xC0000005: 读取位置 0x00000001 时发生访问冲突
PyRocketInvaders_d.exe 中的 0x1e00a575 处未处理的异常: 0xC0000005: 读取位置 0x00000001 时发生访问冲突

Code: Select all
“PyRocketInvaders_d.exe”: 已加载“G:\Engine\UI\libRocketNew\bin\PyRocketInvaders_d.exe”,已加载符号。
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\ntdll.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\kernel32.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\KernelBase.dll”
“PyRocketInvaders_d.exe”: 已加载“G:\Engine\UI\libRocketNew\bin\RocketCore_d.dll”,已加载符号。
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\winsxs\x86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.30729.1_none_bb1f6aa1308c35eb\msvcp90d.dll”,已加载符号。
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\winsxs\x86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.30729.1_none_bb1f6aa1308c35eb\msvcr90d.dll”,已加载符号。
“PyRocketInvaders_d.exe”: 已加载“G:\Engine\UI\libRocketNew\bin\RocketDebugger_d.dll”,已加载符号。
“PyRocketInvaders_d.exe”: 已加载“G:\Engine\UI\libRocketNew\bin\RocketControls_d.dll”,已加载符号。
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\user32.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\gdi32.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\lpk.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\usp10.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\msvcrt.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\opengl32.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\advapi32.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\sechost.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\rpcrt4.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\glu32.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\ddraw.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\dciman32.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\setupapi.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\cfgmgr32.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\oleaut32.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\ole32.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\devobj.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\dwmapi.dll”
“PyRocketInvaders_d.exe”: 已加载“G:\Engine\UI\libRocketNew\bin\boost_python-vc90-mt-gyd-1_44.dll”,已加载符号。
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\python27.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\shell32.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\shlwapi.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4926_none_508ed732bcbc0e5a\msvcr90.dll”
“PyRocketInvaders_d.exe”: 已加载“G:\Engine\UI\libRocketNew\bin\python27_d.dll”,已加载符号。
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\apphelp.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\AppPatch\AcLayers.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\sspicli.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\userenv.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\profapi.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\winspool.drv”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\mpr.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\imm32.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\msctf.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\uxtheme.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Program Files\360safe\safemon\safemon.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\msimg32.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\msvcp60.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\wininet.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\normaliz.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\urlmon.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\crypt32.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\msasn1.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\iertutil.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\psapi.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\version.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\ws2_32.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\nsi.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16385_none_421189da2b7fabfc\comctl32.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\cryptbase.dll”
“PyRocketInvaders_d.exe”: 已加载“C:\Windows\System32\nvoglv32.dll”
线程 'Win32 线程' (0x1880) 已退出,返回值为 0 (0x0)。
线程 'Win32 线程' (0x1dec) 已退出,返回值为 0 (0x0)。
线程 'Win32 线程' (0x1668) 已退出,返回值为 0 (0x0)。
“PyRocketInvaders_d.exe”: 已加载“G:\Engine\UI\libRocketNew\bin\_rocketcore_d.pyd”,已加载符号。
PyRocketInvaders_d.exe 中的 0x1e00a575 处最可能的异常: 0xC0000005: 读取位置 0x00000001 时发生访问冲突
PyRocketInvaders_d.exe 中的 0x1e00a575 处未处理的异常: 0xC0000005: 读取位置 0x00000001 时发生访问冲突
yaxinhoo
 
Posts: 47
Joined: Sat Sep 18, 2010 4:52 am

Re: can't find the boost lib boost_python-vc90-mt-gyd-1_44.l

Postby lloydw on Sun Sep 19, 2010 5:33 pm

When you switched over to using the debug version of Python as described in the documentation did you undo the header changes I provided above for Rocket/Core/Python/Python.h? If you look at the log you provided PyInvaders is loading both python27.dll and python27_d.dll, which is causing the crash. In debug builds you should only be loading the debug library.

Please ensure you revert the above header file and rebuild all of libRocket.

You can check which dll by using the retail version of python27.dll with depends (http://www.dependencywalker.com/). Run it and open pyinvaders_d.exe. Depends will show you all the linked in DLLs and which one is loading python27.dll, instead of python27_d.dll.
lloydw
Rocket Engineer
Rocket Engineer
 
Posts: 380
Joined: Tue Jan 15, 2008 10:56 pm

Re: can't find the boost lib boost_python-vc90-mt-gyd-1_44.l

Postby yaxinhoo on Thu Sep 23, 2010 12:07 am

thx ,
yaxinhoo
 
Posts: 47
Joined: Sat Sep 18, 2010 4:52 am

Re: can't find the boost lib boost_python-vc90-mt-gyd-1_44.l

Postby yaxinhoo on Thu Sep 23, 2010 6:35 am

thinks lloydw very much .
i follow the instruction of
http://librocket.com/wiki/documentation ... oostPython
to set pytohon debug on and build boostpython . then use the dependency walker to watch boost_python-vc90-mt-gyd-1_44.dll
the generate dll always use python27.dll and python27_d.dll .
the walker tell me system can't find python27_d.dll.

i had define the bjam-config.jam . i wonder if other config i missed out of your instruction to tell system the path of python7_d.dll , so system can find python_d.dll.

any hints to help me ?
yaxinhoo
 
Posts: 47
Joined: Sat Sep 18, 2010 4:52 am

Next

Return to libRocket and Python


cron