Skip to content

Added boost compatibility for newer versions.#211

Open
oedze wants to merge 1 commit into
microsoft:developfrom
oedze:feature/update-boost
Open

Added boost compatibility for newer versions.#211
oedze wants to merge 1 commit into
microsoft:developfrom
oedze:feature/update-boost

Conversation

@oedze

@oedze oedze commented Jul 17, 2026

Copy link
Copy Markdown

Now works on versions after boost 1.87
Removed support for version below boost 1.66

Current libraries are not supporting boost 1.87 and newer which removed the depcreated io_service and ip::addressv4

Tested on debian:trixie docker environment using the following steps:

Start container:

docker run -it -v ./:/do-client debian:trixie bash

install this repo

cd ./do-client/build/scripts
./bootstrap.sh --install build 

Install newer boost version

cd ~
wget https://archives.boost.io/release/1.91.0/source/boost_1_91_0.tar.bz2
tar xf boost_1_91_0.tar.bz2
cd boost_1_91_0
./bootstrap.sh --prefix=/opt/boost-1.91
./b2 install

Then add:

generate_options.extend(["-DBOOST_ROOT=/opt/boost-1.91"])

to the build.py:353

Then run and test with clean option

python3 ./build/build.py --project agent --package-for deb --clean
python3 ./build/build.py --project sdk --package-for deb --clean

cd /tmp/build-deliveryoptimization-agent/linux-debug/
apt-get install ./deliveryoptimization-agent*.deb

cd /tmp/build-deliveryoptimization-sdk/linux-debug/
apt-get install ./libdeliveryoptimization*.deb

cd /tmp/build-deliveryoptimization-agent/linux-debug/client-lite/test
./deliveryoptimization-agent-tests

Since ubuntu 18 uses boost 1.65, support for that must also be dropped to use the newer boost versions.

Now works on versions after boost 1.87
Removed support for version below boost 1.66
@oedze
oedze requested a review from a team as a code owner July 17, 2026 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant