boost(1.32.0) date_time libraries with stlport4.6.2..single threaded libraries not generated..

Hi I am trying to create the boost libraries with toolset vc-7_1-stlport. STLPort 4.6.2 has been installed Successfully and runs fine on the system ( VC .Net2003 C++7.1). The problem is that only the multi-threaded libaries are being created. The single threaded (dynamic and static) are not being genereated. I also read on earlier posts a few problems with wchar_t. So I modified the vc71.mak file of STLPort4.6.2 to add /Zc:wchar_t and then recompiled STLPort. I also changed the Vc-7_1-stlport-tools.jam file to look like #feature native-wchar_t : off on ; feature native-wchar_t : on off ; Since the Multi-threaded libraries are being built, I assume I do not have the wchar_t problem. The bjam command I use is: bjam "-sTOOLS=vc-7_1-stlport" "-sSTLPORT_VERSION=4.6.2" "-sSTLPORT_4.6.2_PATH=C:\SourceLibrary\STLport-4.6.2" "-sBUILD=debug release <runtime-link>static/dynamic <threading>single/multi <stlport-iostream>on <native-wchar_t>on" install On one of the boost.regex pages it is written : Note that the full STLPort libraries appear not to support single-thread static builds.... If it is not possible to create single threaded static builds then how to use the boost multi-threaded date_time libraries with the STLport libraries??? Any help is much appreciated. Manish Mangal Stratagen Systems 1-425.821.8454 ext. 136

On one of the boost.regex pages it is written : Note that the full STLPort libraries appear not to support single-thread static builds....
STLport's makefiles only build the multithreaded versions, there is no STLPort version built that supports static single thread runtimes (of course you can build this variant yourself from the IDE if you want).
If it is not possible to create single threaded static builds then how to use the boost multi-threaded date_time libraries with the STLport libraries???
Just use them: make sure the libraries are in your lib search path, and then set your project to use any of the multithreaded runtimes (under code generation). The code will link to the right STLport and Boost libs "automagically". HTH, John.
participants (2)
-
John Maddock
-
Manish Mangal