|
Boost Users : |
Subject: Re: [Boost-users] Problem when using Boost.Asio at Fedora 11
From: Ravi (lists_ravi_at_[hidden])
Date: 2009-08-26 21:30:37
On Wednesday 26 August 2009 20:50:02 Davi Vercillo C. Garcia wrote:
> I'm trying to compile using this command: g++ -I/usr/include/boost/
> example.cpp -o example", and I'm getting this error:
[snip]
You need to specify the correct libraries (like so):
g++ -pthread -o example example.cc -lboost_system -lboost_date_time
Regards,
Ravi
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