2014년 8월 21일 목요일

boost build summary

Build and Install boost

  1. download boost library at http://www.boost.org/
  2. extract library to d:\work.lib\boost_1_56_0\
  3. build build tool
     d:\work.lib\boost_1_56_0>bootstrap.bat
     Building Boost.Build engine
    
     Bootstrapping is done. To build, run:
    
         .\b2
    
     To adjust configuration, edit 'project-config.jam'.
     Further information:
    
         - Command line help:
         .\b2 --help
    
         - Getting started guide:
         http://boost.org/more/getting_started/windows.html
    
         - Boost.Build documentation:
         http://www.boost.org/boost-build2/doc/html/index.html
    
     d:\work.lib\boost_1_56_0>
    
  4. build and install boost library at c:\Boost_x86\, c:\Boost_x64\
     d:\work.lib\boost_1_56_0>b2.exe toolset=msvc-10.0 --build-type=complete --build-dir=d:\work.lib\boost_1_56_0\build_dir_x86 --prefix=c:\Boost_x86 install
    
     d:\work.lib\boost_1_56_0>b2.exe toolset=msvc-10.0 address-model=64 --build-type=complete --build-dir=d:\work.lib\boost_1_56_0\build_dir_x64 --prefix=c:\Boost_x64 install
    
  5. If you want boost::python, install python before build boost. :-)

댓글 없음:

댓글 쓰기