Frank Birbacher | 21 May 23:07

Re: date_time giving undefined references

Hi!

Hane, Christopher A schrieb:
> I can successfully
> build other boost examples passing only the include directory to g++,
> but all date_time ones that I have tried fail.
[snip]
> Any clue what is going wrong here?

Yes. You need more sources. There is a lib/date_time/src... folder 
containing .cpp files which need to be compiled and linked to the 
program. Usually these sources are already compiled and linked into a 
library. But in your case I guess they are not (yet :) )

See the "Getting Started Guide" here 
http://www.boost.org/doc/libs/1_35_0/more/getting_started/index.html

Frank

Gmane