So I am wanting to use boost signals in my C++ program.
I add:
#include <boost/signal.hpp>
But I get this error when I build.
fatal error LNK1104: cannot open file 'libboost_signals-vc90-mt-gd-1_42.lib'
The lib file is not contained within my boost directory.
Typing ‘libboost_signal’ (with variations) into google hasn’t helped.
Anyone encountered this problem before? Any help is greatly appreciated.
most of Boost is header-file-only source, so you just need to
#include <boost/whatever.hpp>and your done. However, there’s a few sections that require a dll – examples are date/time, regex and signals.So yuo need to build the signals dll. instructions are on the boost website and are easy – so easy I’ve forgotten how I did it last time. (check out section 5.2 on the site).