> Did you read this: > > http://www.boost.org/tools/build/msvc-tools.html > Boost.Build - msvc toolset > Thanks - this solved the build problem.
I build and run some of the thread samples, and they cause memory leaks. Actually, just including the <thread.hpp> file, linking with the appropriate boost::thread libarary and creating a thread object in main causes leaks. Are there any extra steps I should be taking before using the thread libarary? I did not notice anything special either in the doc or samples. I am also using other components of the boost libraries such as tokenizer and they work fine. I have Visual C++ 6. Here is the debugger output: Loaded 'D:\WINNT\System32\ntdll.dll', no matching symbolic information found. Loaded symbols for 'D:\Documents and Settings\Administrator\Desktop\dev\boost_1_30_0\libs\thread\build\bin\boost_ thread.dll\msvc\debug\runtime-link-dynamic\threading-multi\boost_threadd.dll ' Loaded symbols for 'D:\WINNT\system32\MSVCP60D.DLL' Loaded symbols for 'D:\WINNT\system32\MSVCRTD.DLL' Loaded 'D:\WINNT\system32\KERNEL32.DLL', no matching symbolic information found. Loaded symbols for 'D:\WINNT\system32\MFC42D.DLL' Loaded 'D:\WINNT\system32\GDI32.DLL', no matching symbolic information found. Loaded 'D:\WINNT\system32\USER32.DLL', no matching symbolic information found. The thread 0x7A0 has exited with code 0 (0x0). Detected memory leaks! Dumping objects -> {75827} normal block at 0x002F9DB8, 5 bytes long. Data: <true > 74 72 75 65 00 {75826} normal block at 0x002F2F98, 6 bytes long. Data: <false > 66 61 6C 73 65 00 {75825} normal block at 0x002F2F50, 1 bytes long. Data: < > 00 {75820} normal block at 0x002F67E8, 24 bytes long. Data: <`wL P// . > 60 77 4C 10 01 00 00 00 50 2F 2F 00 2E 00 CD CD {75814} normal block at 0x002F6728, 8 bytes long. Data: < xL > 08 78 4C 10 01 00 00 00 {155} normal block at 0x002F6790, 24 bytes long. Data: <(tL > 28 74 4C 10 01 00 00 00 00 00 00 00 00 00 00 00 {84} normal block at 0x002F68B8, 512 bytes long. Data: < > 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 {71} normal block at 0x002F6678, 16 bytes long. Data: <@wL > 40 77 4C 10 01 00 00 00 00 00 00 00 00 00 00 00 {50} normal block at 0x002F3038, 20 bytes long. Data: <80/ // 80/ > 38 30 2F 00 E0 2F 2F 00 38 30 2F 00 CD CD CD CD {49} normal block at 0x002F2FE0, 20 bytes long. Data: < > 00 00 00 00 00 00 00 00 00 00 00 00 CD CD CD CD {44} normal block at 0x002F2E80, 33 bytes long. Data: < C > 00 43 00 CD CD CD CD CD CD CD CD CD CD CD CD CD {43} normal block at 0x002F2E18, 40 bytes long. Data: < |L > 14 7C 4C 10 16 00 00 00 00 00 00 00 00 00 00 00 Object dump complete. The thread 0x85C has exited with code 0 (0x0). The program 'D:\Documents and Settings\Administrator\Desktop\dev\simulator\Debug\simulator.exe' has exited with code 0 (0x0). _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost