
31 Aug
2011
31 Aug
'11
8:10 a.m.
Alessandro Candini wrote:
I'm really interested in exemple 5 of boost asio:
http://www.boost.org/doc/libs/1_47_0/doc/html/boost_asio/tutorial/tuttimer5/...
I've tried it with boost-1.47.0. I can compile without warnings using:
g++ -Wall -pedantic -lboost_thread -lboost_system -o timer5 timer5.cpp
Try building like so: g++ -Wall -pedantic -o timer5 timer5.cpp -lpthread -lboost_thread -lboost_system