Hi everyone,

 

I just started to play around with boost threads a bit and got stuck with the following linker message:

 

 

DQThread.obj : error LNK2001: unresolved external symbol "void __cdecl boost::detail::add_thread_exit_function(struct boost::detail::thread_exit_function_base *)" (?add_thread_exit_function@detail@boost@@YAXPAUthread_exit_function_base@12@@Z)

 

I’m using the following code line:

boost::this_thread::at_thread_exit(&DQThread::OnErrorExit);

 

which compiles fine. Searching the libraries I couldn’t find ‘add_thread_exit_function’ either. I wonder if it is exported at all? What am I missing? I’d be really greateful for any hints in this regard J

 

Peter J

 

---

Peter Thiess, Lead Software Engineer

Adobe Systems Engineering GmbH

Grosse Elbstrasse 27

22767 Hamburg, Germany

+49 40 306 36 214

pthiess@adobe.com

 

Registergericht: Hamburg HRB 745 37

Geschäftsführer: Thomas Mührke