Boost logo

Boost Users :

From: Zhoujie Mao (zhoujie_at_[hidden])
Date: 2004-09-20 12:12:02


Hi Jeff,

Thanks for the suggestion. I actually was trying to
use the static library. I put both the static and
dynamic library in a directory, and included the
directory in my make file. But obviously, g++ can not
find it somehow, are you aware of anything else that
could be the problem? Thanks

George
> > Hi everyone,
> >
> > I just downloaded boost, built it on windows using
> > cygwin. However, when I tried to run an example
> > program. I got a the following link error
> >
> > [Linker error] undefined reference to
> > `boost::gregorian::greg_month::as_short_string()
> > const'
> >
> > I have added the corresponding lib and include
> > directories to my make file.
> >
> > Is there anything I am missing? Any help will be
> > greatly appreciated.
>
> Sounds like you are using the dynamic lib version of
> the date-time library.
>
> You might try
> 1) using the static library instead
> 2) making sure the libboost_date_time.dll is in your
> search path
>
> With number 2 the easiest way is to copy the dll
> into the same directory as
> your executable. But really, I think the static lib
> is the easiest way to go...
>
> HTH,
>
> Jeff

> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
>
http://lists.boost.org/mailman/listinfo.cgi/boost-users
>

                
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail


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