My Opera is closing 3rd of March

Li Min 李珉

Tianjin 19 Hangzhou 26 Singapore ?

Subscribe to RSS feed

Today I re-built the Boost Libraries and Boost Se...

Today I re-built the Boost Libraries and Boost Serialization LIbrary in my machine with win2k(sp4) and vc6(sp6).
I extract the basic package to partition D and and add the patch of regex. Then the direct build is executed with the instructions in Getting Started.
  • Download or build bjam
  • .
  • VCVARS32.BAT or VSVARS32.BAT has been invoked. I mean, to set up all of the environment for each toolset he wants to use in the normal way.
  • Build the stage. It toke long time.
    bjam "-sTOOLS=msvc" "-sMSVC_ROOT=D:\Program Files\Microsoft Visual Studio\VC98" "-sVISUALC=D:\Program Files\Microsoft Visual Studio\VC98" "-sBUILD=debug release" stage
  • Install it. Just copy files.
    bjam "-sTOOLS=msvc" "--prefix=D:\boost"  "-sMSVC_ROOT=D:\Program Files\Microsoft Visual Studio\VC98" "-sVISUALC=D:\Program Files\Microsoft Visual Studio\VC98" "-sBUILD=debug release" install
  • Then you install Boost Serialization. Instructions:
  • Extract files and use spirit 1.6x. It's simple. Just follow the Requirements in its document.
  • Directly build the lib, skipping run the test suites.
    set SPIRIT_ROOT=D:\spirit-1.6.1 
    go to boost-root/libs/serialization/build and change the default jamfile to remove all wchar source files and change <threading>single/multi to  <threading>multi. 
    bjam "-sTOOLS=msvc" "-sMSVC_ROOT=D:\Program Files\Microsoft Visual Studio\VC98" "-sVISUALC=D:\Program Files\Microsoft Visual Studio\VC98"