confusion on using date_time library
I am a newbie of boost and i want to use boost date_time library
i have build the libboost_date_time.lib and boost_date_time.dll and put
them in the lib path
My devlope entironment is vc71 final beta+latest boost i get from cvs
yesterday
when i use some small code to test date_time_lib,i enconter with such
error:
error LNK2019: unresolved external symbol "public: char const *
__thiscall boost::gregorian::greg_month::as_long_string(void)const " (?
as_long_string@greg_month@gregorian@boost@@QBEPBDXZ) referenced in
function "public: static class std::basic_ostream
I am a newbie of boost and i want to use boost date_time library i have build the libboost_date_time.lib and boost_date_time.dll and put them in the lib path
My devlope entironment is vc71 final beta+latest boost i get from cvs yesterday when i use some small code to test date_time_lib,i enconter with such error: error LNK2019: unresolved external symbol "public: char const * __thiscall boost::gregorian::greg_month::as_long_string(void)const " (? as_long_string@greg_month@gregorian@boost@@QBEPBDXZ) referenced in function "public: static class std::basic_ostream
& __cdecl boost::date_time::month_formatter ::format_month(class boost::gregorian::greg_month const &,class std::basic_ostream &)" (?format_month @?$month_formatter@Vgreg_month@gregorian@boost@@Vsimple_format@date_time@ 3@@date_time@boost@@SAAAV?$basic_ostream@DU? $char_traits@D@std@@@std@@ABVgreg_month@gregorian@3@AAV45@@Z)
These symbols are in the library, so it looks like somehow the library is not getting included in the linking path. You might want to double check that the libboost_date_time.lib is in the Link tab of the project. HTH, Jeff
participants (2)
-
jarry_cf@hotmail.com
-
Jeff Garland