Hi there,
I am using boost::thread for the first time as part of boost::asio. I am
trying to compile the chat_client.cpp example.
When I uncomment the threading line, it won't link. Here's the line in
question:
boost::thread t(boost::bind(&boost::asio::io_service::run, &io_service));
and heres the error:
chat_client.obj : error LNK2019: unresolved external symbol "public:
__thiscall boost::thread::~thread(void)" (??1thread@boost@@QAE@XZ)
referenced in function _main
chat_client.obj : error LNK2019: unresolved external symbol "public:
void __thiscall boost::thread::join(void)" (?join@thread@boost@@QAEXXZ)
referenced in function _main
chat_client.obj : error LNK2019: unresolved external symbol "public:
__thiscall boost::thread::thread(class boost::function0