|
Boost Users : |
From: Jeff Garland (jeff_at_[hidden])
Date: 2003-03-19 10:13:00
> 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_at_greg_month_at_gregorian@boost@@QBEPBDXZ) referenced in
> function "public: static class std::basic_ostream<char,struct
> std::char_traits<char> > & __cdecl boost::date_time::month_formatter
> <class boost::gregorian::greg_month,class
> boost::date_time::simple_format>::format_month(class
> boost::gregorian::greg_month const &,class std::basic_ostream<char,struct
> std::char_traits<char> > &)" (?format_month
> @?$month_formatter_at_Vgreg_month_at_gregorian@boost@@Vsimple_format_at_date_time@
> 3@@date_time_at_boost@@SAAAV?$basic_ostream_at_DU?
> $char_traits_at_D@std@@@std@@ABVgreg_month_at_gregorian@3_at_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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net