Boost logo

Boost Users :

From: Dave Gomboc (dave_at_[hidden])
Date: 2003-07-09 04:04:50


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)

signals_test.obj : error LNK2019: unresolved external symbol "public:
__thiscall boost::signals::detail::signal_base::~signal_base(void)"
(??1signal_base_at_detail@signals_at_boost@@QAE_at_XZ) referenced in function
"public: __thiscall boost::signal0<void,struct
boost::last_value<void>,int,struct std::less<int>,class
boost::function0<void,class std::allocator<class boost::function_base> >
>::~signal0<void,struct boost::last_value<void>,int,struct
std::less<int>,class boost::function0<void,class std::allocator<class
boost::function_base> >
>(void)"(??1?$signal0_at_XU?$last_value_at_X@boost@@HU?$less_at_H@std@@V?$functio
n0_at_XV?$allocator_at_Vfunction_base_at_boost@@@std@@@2@@boost@@QAE_at_XZ)

I have tried to add library paths in the IDE in a similar fashion to how
I added the include path, but I had no success when building a test
project. What do I need to do to successfully link?

Thanks,
Dave

P.S. It might be a good idea to add the "vc7.1" target to
http://www.boost.org/tools/build/index.html#Configuring.


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