
"John D"
Hello
This will be an exceptionally stupid problem for whomever is kind enough to clarify a cause and solution. I will keep it brief in hopes that it is not an issue in need of complexity.
The code:
boost::this_thread::sleep(boost::posix_time::milliseconds(20));
The attempt:
g++ -lcurl -lboost_thread -lpthread -pthread c.cpp -o app
With gcc you usually need to put the library flags after everything else to ensure they are searched in the right order: g++ -pthread c.cpp -o app -lcurl -lboost_thread -lpthread Have you tried that? Anthony -- Anthony Williams Author of C++ Concurrency in Action | http://www.manning.com/williams Custom Software Development | http://www.justsoftwaresolutions.co.uk Just Software Solutions Ltd, Registered in England, Company Number 5478976. Registered Office: 15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK