首页 / 操作系统 / Linux / Ubuntu下编译最新boost1.39.0或1.35.0
首先下载boost 1.39.0.zip然后解压文件使用ssh传到Ubuntu上将解压好的boost库,拷贝到/opt下使用Linux的命令cp -a -r /home/server/boost /opt然后编译boost下的jamcd boost/tools/jam/执行./build_dist.sh//编译的jam文件在bin.linuxx86下1.39.0第一步:./bootstrap.sh第二步:./bjam -install --build-dir=C:Cpp arget toolset=gcc --build-type=complete stagebjam -sTOOLS=gcc --with-asio install然后使用命令编译boost库./bjam "-sBUILD debug release" --without-python在Ubuntu下编译成功cmake .make