boost::thread & member function

2019-09-01 04:38发布

问题:

I've facing this problem when trying to use boost::thread:

unresolved external symbols:

public: __thiscall boost::thread::~thread(void)
public: __thiscall boost::thread::thread(void)

Does anyone have any idea?

回答1:

You haven't told your linker to link with the boost threads library. Without info on compiler and platform, nobody can help you further.