Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-05-18 08:53:18


"Gaetano Mendola" <mendola_at_[hidden]> wrote in message
news:ac3rn5$6jm$1_at_main.gmane.org...
> Hi to all,
>
> I downloaded end extracted boost library to c:\boost_1_28_0
>
> I compiled all with :
>
> bjam "-sTOOLS=msvc"
> "-sMSVC_ROOT=c:\Program Files\Microsoft Visual Studio\VC98"
> "-sVISUALC=c:\Program Files\Microsoft Visual Studio\VC98"

You don't need to set both of those, FWIW. Either one will do.

>
> all was working fine.
>
> When I try to use the thread library in a project
> "Dialog Based" I got this error in linking fase:
>
> Linking...
> Linking...
> OSToken.obj : error LNK2001: unresolved external symbol "public:
__thiscall
> boost::thread::~thread(void)" (??1thread_at_boost@@QAE_at_XZ)
> OSToken.obj : error LNK2001: unresolved external symbol "public:
__thiscall
> boost::thread::thread(void)" (??0thread_at_boost@@QAE_at_XZ)
> Debug/OSToken.exe : fatal error LNK1120: 2 unresolved externals
> Error executing link.exe.

I think the rest of this is Bill Kempf's bailiwick...

-Dave


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk