Thursday 28 April 2011

Developer Journal 77 - On Boost Serialization

...

Before I work on build Ogre from source I'm going to work on building the Boost Serialization library for a bit longer.

More specifically, the Boost 1.44, multi-threaded, dynamic link Serialization library with MinGW 4.4 and MinGW 4.5.

No luck with MinGW 4.5. I keep getting undefined references to an extended type.



bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\basic_iarchive.o:D:\agi\dep\boost_1_44_0/./boost/archive/detail/basic_serializer.hpp:54: undefined reference to `_imp___
ZNK5boost13serialization18extended_type_infoltERKS1_'

bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\basic_iarchive.o:D:\agi\dep\boost_1_44_0/libs/serialization/src/basic_iarchive.cpp:426: undefined reference to `_imp___Z
N5boost13serialization18extended_type_info4findEPKc'

bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\shared_ptr_helper.o:D:\agi\dep\boost_1_44_0/libs/serialization/src/shared_ptr_helper.cpp:50: undefined reference to `_im
p___ZN5boost13serialization13void_downcastERKNS0_18extended_type_infoES3_PKv'

bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\shared_ptr_helper.o:D:\agi\dep\boost_1_44_0/libs/serialization/src/shared_ptr_helper.cpp:76: undefined reference to `_im
p___ZN5boost13serialization11void_upcastERKNS0_18extended_type_infoES3_PKv
'



I'm going to try MinGW 4.4. If that does not work then I'll compare Boost 1.42 and Boost 1.44. I suspect that there is some change in the extended types.

RELATED

No comments:

Post a Comment