unresolved external issue and who do I pass a boost patch to?
Hi:
can Anybody help I'm using the boost::filesystem library, and am
including
Sean Farrow wrote:
Hi: can Anybody help I'm using the boost::filesystem library, and am including
and am getting: 1>O2ServerImpl.obj : error LNK2019: unresolved external symbol "class boost::system::error_category const & __stdcall boost::system::get_system_category(void)" (?get_system_category@system@boost@@YGABVerror_category@12@XZ) referenced in function "void __cdecl boost::system::`dynamic initializer for 'system_category''(void)" (??__Esystem_category@system@boost@@YAXXZ) 1>O2ServerImpl.obj : error LNK2019: unresolved external symbol "class boost::system::error_category const & __stdcall boost::system::get_generic_category(void)" (?get_generic_category@system@boost@@YGABVerror_category@12@XZ) referenced in function "void __cdecl boost::system::`dynamic initializer for 'generic_category''(void)" (??__Egeneric_category@system@boost@@YAXXZ)
I am linking with:
libboost_filesystem-vc80-mt-gd-1_39.lib libboost_system-vc80-mt-sgd-1_39.lib
The last one is using static runtime, and the first one is using dynamic runtime? Is this supposed to work?
Also I've modified a boost header file, who do I pass this too for update to the svn trunk?
File an issue on svn.boost.org - Volodya
Hi: I modified both libraries to use static runtime. I still get the same two unresolved externals. Am I missing a header? Cheers Sean. -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Vladimir Prus Sent: 01 March 2009 15:55 To: boost-users@lists.boost.org Subject: Re: [Boost-users] unresolved external issue and who do I pass aboost patch to? Sean Farrow wrote:
Hi: can Anybody help I'm using the boost::filesystem library, and am including
and am getting: 1>O2ServerImpl.obj : error LNK2019: unresolved external symbol "class boost::system::error_category const & __stdcall boost::system::get_system_category(void)" (?get_system_category@system@boost@@YGABVerror_category@12@XZ) referenced in function "void __cdecl boost::system::`dynamic initializer for 'system_category''(void)" (??__Esystem_category@system@boost@@YAXXZ) 1>O2ServerImpl.obj : error LNK2019: unresolved external symbol "class boost::system::error_category const & __stdcall boost::system::get_generic_category(void)" (?get_generic_category@system@boost@@YGABVerror_category@12@XZ) referenced in function "void __cdecl boost::system::`dynamic initializer for 'generic_category''(void)" (??__Egeneric_category@system@boost@@YAXXZ)
I am linking with:
libboost_filesystem-vc80-mt-gd-1_39.lib libboost_system-vc80-mt-sgd-1_39.lib
The last one is using static runtime, and the first one is using dynamic runtime? Is this supposed to work?
Also I've modified a boost header file, who do I pass this too for update to the svn trunk?
File an issue on svn.boost.org - Volodya _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users __________ Information from ESET NOD32 Antivirus, version of virus signature database 3897 (20090228) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3897 (20090228) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com
AMDG Sean Farrow wrote:
I modified both libraries to use static runtime. I still get the same two unresolved externals. Am I missing a header?
No. This is a calling convention problem.
unresolved external symbol "class boost::system::error_category const & __stdcall boost::system::get_system_category(void)
In Christ, Steven Watanabe
participants (3)
-
Sean Farrow
-
Steven Watanabe
-
Vladimir Prus