Boost logo

Boost Users :

From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2008-02-21 04:59:33


Andreas Fabri wrote:
> Hello,
>
>
> With the precompiled boost libs from boost-consulting I get linker
> errors
>
> error LNK2019: unresolved external symbol "private: void __cdecl
> boost::detail::tss::init(class boost::function1<void,void *,class
> std::allocator<class boost::function_base> > *)"
> (?init_at_tss@detail_at_boost@@AEAAXPEAV?$function1_at_XPEAXV?$allocator_at_Vfunction_base_at_boost@@@std@@@3@@Z)
> referenced in function "public: __cdecl boost::detail::tss::tss(class
> boost::function1<void,void *,class std::allocator<class
> boost::function_base> > *)"
> (??0tss_at_detail@boost@@QEAA_at_PEAV?$function1_at_XPEAXV?$allocator_at_Vfunction_base_at_boost@@@std@@@2@@Z)
>
>
>
> I started a shell such that Microsoft Visual Studio
> 8/VC/BIN/amd64/CL.EXE
> is the compiler on the $PATH
>
> I then run bjam --toolset=msvc"
>
> but the problem persists. Is there another toolset I have to
> choose?

Try start with opening the standard Visual Studio 2005 command prompt, do
whatever you need to do to get to the boost source root and issue:

bjam msvc address-model=64

It that doesn't help, try out the boost.build mailing list.

HTH / Johan


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