Monday, September 06, 2004

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 single/multi to  multi.
    bjam "-sTOOLS=msvc" "-sMSVC_ROOT=D:\Program Files\Microsoft Visual Studio\VC98" "-sVISUALC=D:\Program Files\Microsoft Visual Studio\VC98"



  • This page is powered by Blogger. Isn't yours?