
23 Jan
2006
23 Jan
'06
12:34 p.m.
when i compile the Following code in vc 8.0,it prints error "LINK : fatal error LNK1104: cannot open file 'libboost_signals-vc80-mt-s-1_34.lib",how can i resolv it??? #include <iostream> #include <boost/signal.hpp> using namespace boost; struct HelloWorld { void operator () () const { std::cout << "test hello world" <<std::endl; } }; int main() { boost::signal<void ()> sig; HelloWorld hello; sig.connect(hello); sig(); }