Boost logo

Boost Users :

From: Marcio Del'Valle (mjdelvalle_at_[hidden])
Date: 2002-10-27 11:39:59


Thanks Jeff!!

Marcio Del'Valle

-----Original Message-----
From: Jeff Garland [mailto:jeff_at_[hidden]]
Sent: Friday, October 25, 2002 8:46 PM
To: Boost-Users_at_[hidden]
Subject: RE: [Boost-Users] Date_Time undefined reference

> Ok, here goes a newbie one.
>
> I've already built boost 1.29.0, and I've also managed to build
> boost::date_time (libboost_date_time) using msvc6.0. I've added the .lib
> file to my project, included it in my Project>>Settings>>Object/library
> modules list and I've got the header path ok too.
>
> Why do I keep receiving the following Link Error message?
>
> LNK2001: unresolved external symbol "public: static unsigned long __cdecl
> boost::date_time::gregorian_calendar_base<...
>
> I really can't find a reason, besides the fact that this is supposed to be
a
> runtime link library.

Make sure you define DATE_TIME_INLINE in your client project setting.
Sorry, I broke this switch so it turns out clients always have to define
this macro which is a headache. I'm planning on fixing this in 1.29.1.

Jeff

Info: <http://www.boost.org>
Wiki: <http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl>
Unsubscribe: <mailto:boost-users-unsubscribe_at_[hidden]>

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

Esta mensagem foi verificada pelo E-mail Protegido Terra.
Scan engine: VirusScan / Atualizado em 23/10/2002 / Versão: 1.3.13
Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/


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