Boost logo

Boost Users :

From: John Maddock (john_maddock_at_[hidden])
Date: 2003-07-10 06:48:51


> I'm trying to use boost::signals and boost::regex with MSVC 7.1
>
> I retrieved the current CVS state with WinCVS, downloaded a binary of
> bjam (3.1.4), used the Visual Studio .NET 2003 Command Prompt, invoked
> bjam with the argument "-sTOOLS=vc7.1", and have added the boost path to
> Tools|Options|Projects|VC++ Directories (Include Files).
>
> When I compile programs I get link errors, e.g. signals_test.obj : error
> LNK2019: unresolved external symbol "public: void __thiscall
> boost::signals::connection::disconnect(void)const "
> (?disconnect_at_connection@signals_at_boost@@QBEXXZ) referenced in function
> "public: __thiscall boost::signals::connection::~connection(void)"
> (??1connection_at_signals@boost@@QAE_at_XZ)

While regex will automatically link to the right library file, with signals
you have to explicitly add the lib to your projects dependencies
(alternatively add the signals lib source to your project).

John.


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