Boost logo

Boost Users :

Subject: [Boost-users] unresolved external when building Boost.Thread
From: Kenneth Riddile (kfriddile_at_[hidden])
Date: 2010-08-25 08:16:34

OS - Windows7 x64
compiler - MSVC9
Boost version - 1.44

Running the following command fails to build the thread library with the
following error:

bjam variant=release link=shared threading=multi runtime-link=shared
--layout=tagged install

thread.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) pu
blic: __thiscall boost::gregorian::greg_month::greg_month(unsigned
short)" (__im
p_??0greg_month_at_gregorian@boost@@QAE_at_G@Z) referenced in function
"public: __this
call boost::gregorian::date::date(enum
boost::date_time::special_values)" (??0da
_44.dll : fatal error LNK1120: 1 unresolved externals

Removing "--layout=tagged" from the command results in the thread
library building successfully, but of course that isn't what I want :)

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at