build boost with zlib and bzip

step1 download boost

cd boost_1_87_0

.\bootstrap.bat


step2 download zlib and bzip2

zlib: https://zlib.net/fossils/zlib-1.2.11.tar.gz
bzip2: https://sourceware.org/pub/bzip2/bzip2-latest.tar.gz

step3 build


b2.exe install --prefix=D:\boost_1_87_0\install \ 
      toolset=msvc-14.3 \
      address-model=64 \
      link=static \
      --with-iostreams \
      -sZLIB_SOURCE="D:\zlib-1.2.11" \ 
      -sBZIP2_SOURCE="D:\bzip2-1.0.8"

posted @ 2025-03-13 17:46  wioponsen  阅读(95)  评论(0)    收藏  举报