Quick Guide to Compiling Boost for op64 - r52/op64 GitHub Wiki

Instructions as of Boost 1.60.0

Windows

  1. Acquire a copy of the Boost library from http://www.boost.org/
  2. Open up a Visual Studio command prompt (and navigate to the directory of the Boost library)
  3. Build Boost.Build using bootstrap.bat
  4. Build Boost with b2 --with-filesystem --with-log toolset=<compiler> address-model=64 variant=release link=shared threading=multi runtime-link=shared stage
  5. Do it again except with variant=debug for debug builds
  6. Copy the built lib files from $BOOST_ROOT$/stage/lib to op64/Libraries/boost/win_x64/lib and copy the DLLs to op64's main directory
  7. Remember to set the environment variable BOOST_ROOT to the Boost directory

Linux

Tested on Ubuntu 14.04

  1. Acquire a copy of the Boost library from http://www.boost.org/
  2. Navigate to the directory of the Boost library where you've extracted it
  3. Build Boost.Build using ./bootstrap.sh --prefix=/usr/local
  4. Build Boost with ./b2 --with-filesystem --with-log toolset=<compiler> address-model=64 variant=release link=shared threading=multi runtime-link=shared install. Sufficient rights to /usr/local/ or sudo will be required.
⚠️ **GitHub.com Fallback** ⚠️