
On 20.10.2010 15:07 "Bryce Lelbach" <admin@thefireflyproject.us> <admin@thefireflyproject.us> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Can you test archive compatibility on MSVC or Linux gcc? We're working on mingw but atm there are a few outstanding issues with it.
Linux x86 and Linux x64 with gcc 4.5.0 both work flawlessly. I tried a build with MS Visual C++ 2010 Express. Boost builds, but when linking against boost_serialization.lib the following linker error is raised: msvcprt.lib(MSVCP100.dll) : error LNK2005: "public: class std::locale::facet * _ _thiscall std::locale::facet::_Decref(void)" (?_Decref@facet@locale@std@@QAEPAV1 23@XZ) already defined in boost_serialization.lib(binary_oarchive.obj). msvcprt.lib(MSVCP100.dll) : error LNK2005: "public: void __thiscall std::locale: :facet::_Incref(void)" (?_Incref@facet@locale@std@@QAEXXZ) already defined in boost_ serialization.lib(binary_oarchive.obj). msvcprt.lib(MSVCP100.dll) : error LNK2005: "public: static unsigned int __cdecl std::codecvt<char,char,int>::_Getcat(class std::locale::facet const * *,class st d::locale const *)" (?_Getcat@?$codecvt@DDH@std@@SAIPAPBVfacet@locale@2@PBV42@@Z ) already defined in boost_serialization.lib(binary_oarchive.obj. msvcprt.lib(MSVCP100.dll) : error LNK2005: "public: class std::locale __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::getloc(void)const " (?getloc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QBE?AVlocale@2@XZ) already defined in boost_serialization.lib(binary_oarchive.obj). msvcprt.lib(MSVCP100.dll) : error LNK2005: "public: __int64 __thiscall std::basi c_streambuf<char,struct std::char_traits<char> >::sputn(char const *,__int64)" ( ?sputn@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAE_JPBD_J@Z) already defined in boost_serialization.lib(binary_oarchive.obj). msvcprt.lib(MSVCP100.dll) : error LNK2005: "public: __thiscall std::codecvt<char ,char,int>::codecvt<char,char,int>(unsigned int)" (??0?$codecvt@DDH@std@@QAE@I@Z ) already defined in boost_serialization.lib(binary_oarchive.obj). msvcprt.lib(MSVCP100.dll) : error LNK2005: "protected: virtual __thiscall std::c odecvt<char,char,int>::~codecvt<char,char,int>(void)" (??1?$codecvt@DDH@std@@MAE @XZ) already defined in boost_serialization.lib(binary_oarchive.obj). msvcprt.lib(MSVCP100.dll) : error LNK2005: "public: class std::locale __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::pubimbue(class std:: locale const &)" (?pubimbue@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAE?A Vlocale@2@ABV32@@Z) already defined in boost_serialization.lib(binary_oarchive.obj). msvcprt.lib(MSVCP100.dll) : error LNK2005: "public: class std::_Yarn<char> & __t hiscall std::_Yarn<char>::operator=(char const *)" (??4?$_Yarn@D@std@@QAEAAV01@P BD@Z) already defined in boost_serialization.lib(binary_oarchive.obj). msvcprt.lib(MSVCP100.dll) : error LNK2005: "private: __thiscall std::locale::_Lo cimp::_Locimp(class std::locale::_Locimp const &)" (??0_Locimp@locale@std@@AAE@A BV012@@Z) already defined in boost_serialization.lib(binary_oarchive.obj). msvcprt.lib(MSVCP100.dll) : error LNK2005: "protected: virtual __thiscall std::l ocale::_Locimp::~_Locimp(void)" (??1_Locimp@locale@std@@MAE@XZ) already defined in b oost_serialization.lib(binary_oarchive.obj). NMAKE : fatal error U1077: ""C:\Program Files\Microsoft Visual Studio 10.0\VC\BI N\link.EXE"": Return-Code "0x450" Stop. Bottom line: boost_serialization is totally useless on Windows, as it neither works with -gcc 3.4.5 -gcc 4.4.0 -msvc 2010 Philipp