Greets all,
I'm in need of using the Date-Time library but I'm encountering a few
issues. I tried compiling the following simple code:
-----------------
#include
#include <iostream>
using namespace boost::gregorian;
int main()
{
date birthday(1979,3,26);
return 0;
}
-------------------
and got the following error(s):
--------------------Configuration: boost_date - Win32
Debug--------------------
Compiling...
test_date.cpp
d:\softdev\vstudio6\vc98\include\new(35) : warning C4290: C++ Exception
Specification ignored
Linking...
test_date.obj : error LNK2001: unresolved external symbol "public: static
unsigned long __cdecl boost::date_time::gregorian_calendar_base,unsigned long>::day_number(struct
boost::date_time::year_month_day_base const &)" (?day_number@?$gregorian_ca
lendar_base@U?$year_month_day_base@Vgreg_year@gregorian@boost@@Vgreg_month@2
3@Vgreg_day@23@@date_time@boost@@K@date_time@boost@@SAKABU?$year_month_day_b
ase@Vgreg_year@gregorian@boost@@Vgreg_month@23@Vgreg_day@23@@23@@Z)
Debug/boost_date.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
boost_date.exe - 2 error(s), 1 warning(s)
-------------------------------
Any clues as to what could be happening here folks?? I'm using MSVC6 with
SP5 + STLPort 4.5.3 on WinXP
.: Keno :.