Boost logo

Boost Users :

Subject: [Boost-users] Problem compiling: 64bit, link=shared, runtime-link=shared
From: Thomas (p_thomas_at_[hidden])
Date: 2010-12-11 05:42:37


Hallo, I need help compiling boost.

My setup:
Windows SDK v7.0
Boost 1.45

My configuration:
bjam --prefic=c:\boost --with-thread --with-system --with-filesystem
--with-program_options --with-date_time link=shared threading=multi
address-model=64 runtime-link=shared toolset=msvc stage

in boost/config/user.hpp I activated #define BOOST_ALL_DYN_LINK

Linking fails with:
thread.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __cdecl
boost::gregorian::greg_month::greg_month(unsigned short)"
(__imp_??0greg_month_at_gregorian@boost@@QEAA_at_G@Z)
referenced in function "public: __cdecl
boost::gregorian::date::date(enum boost::date_time::special_values)"
(??0date_at_gregorian@boost@@QEAA_at_W4special_values_at_date_time_at_2@@Z)
bin.v2\libs\thread\build\msvc-9.0\release\address-model-64\threading-multi\boost_thread-vc90-mt-1_45.dll
: fatal error LNK1120: 1 unresolved externals

Thanks!


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