Hello boost,
I started using the new serialization library. I use it to serialize a class
which contains, among other things, a std::set >
The project compiles just fine with many warnings because RTTI is not turned
on but it compiles. However it does not link. I get this error:
Creating library Debug/MyAX.lib and object Debug/MyAX.exp
Config.obj : error LNK2019: unresolved external symbol "void __cdecl
boost::serialization::load,class std::allocator >,struct
std::less,class std::allocator > >,class
std::allocator,class std::allocator > > > >(class
boost::archive::xml_iarchive &,class std::set,class
std::allocator >,struct std::less,class
std::allocator > >,class std::allocator,class
std::allocator > > > &,unsigned int)"
(??$load@Vxml_iarchive@archive@boost@@V?$set@V?$basic_string@_WU?$char_trait
s@_W@std@@V?$allocator@_W@2@@std@@U?$less@V?$basic_string@_WU?$char_traits@_
W@std@@V?$allocator@_W@2@@std@@@2@V?$allocator@V?$basic_string@_WU?$char_tra
its@_W@std@@V?$allocator@_W@2@@std@@@2@@std@@@serialization@boost@@YAXAAVxml
_iarchive@archive@1@AAV?$set@V?$basic_string@_WU?$char_traits@_W@std@@V?$all
ocator@_W@2@@std@@U?$less@V?$basic_string@_WU?$char_traits@_W@std@@V?$alloca
tor@_W@2@@std@@@2@V?$allocator@V?$basic_string@_WU?$char_traits@_W@std@@V?$a
llocator@_W@2@@std@@@2@@std@@I@Z) referenced in function "public: static
void __cdecl boost::serialization::free_loader,class
std::allocator >,struct std::less,class
std::allocator > >,class std::allocator,class
std::allocator > > > >::invoke(class boost::archive::xml_iarchive
&,class std::set,class std::allocator >,struct std::less,class
std::allocator > >,class std::allocator,class
std::allocator > > > &,unsigned int)"
(?invoke@?$free_loader@Vxml_iarchive@archive@boost@@V?$set@V?$basic_string@_
WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@U?$less@V?$basic_string@_WU?
$char_traits@_W@std@@V?$allocator@_W@2@@std@@@2@V?$allocator@V?$basic_string
@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@@2@@std@@@serialization@bo
ost@@SAXAAVxml_iarchive@archive@3@AAV?$set@V?$basic_string@_WU?$char_traits@
_W@std@@V?$allocator@_W@2@@std@@U?$less@V?$basic_string@_WU?$char_traits@_W@
std@@V?$allocator@_W@2@@std@@@2@V?$allocator@V?$basic_string@_WU?$char_trait
s@_W@std@@V?$allocator@_W@2@@std@@@2@@std@@I@Z)
Sorry for the length of the error. Anyway, I am using VC++ 7.1. I don't know
if it matters but my project has the "Treat wchar_t as built in type" option
turned on.
Any idea what am I doing wrong? Thanks,
-delfin
-----Original Message-----
From: boost-users-bounces@lists.boost.org [mailto:boost-users-
bounces@lists.boost.org] On Behalf Of Beman Dawes
Sent: Tuesday, November 09, 2004 6:03 PM
To: boost-users@lists.boost.org; boost@lists.boost.org; boost-
users@lists.boost.org
Subject: Re: [boost][boost-users][random] Open bugs
At 02:00 PM 11/8/2004, Cromwell Enage wrote:
Any chance that any of the following bug reports will
be resolved before the release?
<http://sourceforge.net/tracker/index.php?func=detail&aid=911758&group_id
=75>86&atid=107586>
<http://sourceforge.net/tracker/index.php?func=detail&aid=715667&group_id
=75>86&atid=107586>
<http://sourceforge.net/tracker/index.php?func=detail&aid=652567&group_id
=75>86&atid=107586>
TIA!
Cromwell Enage
Jens has now cleared all of these.
--Beman
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users