Boost logo

Boost Users :

Subject: Re: [Boost-users] linker error when using from_simple_string()
From: Igor R (boost.lists_at_[hidden])
Date: 2013-03-17 07:44:22


> This line of code:
> date birthday(from_simple_string(s));
>
> causes this error:
> Undefined symbols for architecture x86_64:
> "boost::gregorian::greg_month::get_month_map_ptr()", referenced from:
> unsigned short
> boost::date_time::month_str_to_ushort<boost::gregorian::greg_month>(std::string
> const&) in boost2-aLwtLt.o
> ld: symbol(s) not found for architecture x86_64

Can you show the linker line? Do you link Boost.DateTime library?


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