Build against recent system Boost (>= 1.87) (#15835)

Boost 1.87 removed io_service and io_context::reset(), and 1.88 moved the classic Boost.Process API under boost/process/v1/ and dropped deadline_timer from boost/asio.hpp. Use io_context, restart() and steady_timer, and include Boost.Process only through the new slic3r/Utils/BoostProcessCompat.hpp, which picks the v1 headers on 1.88+. The bundled Boost 1.84 build is unchanged.
This commit is contained in:
Kenneth Raplee authored and GitHub committed 2026-10-25 14:33:17 -05:00
1 parent 887a8f1806
commit 88890b9bb1
14 files changed
+69 -72

No files matched your search

+1 -9
View File
@@ -1,9 +1,6 @@
#include "ProcessRunner.hpp"
#include <boost/process/cmd.hpp>
#include <boost/process/args.hpp>
#include <boost/process/env.hpp>
#include <boost/process.hpp>
#include <slic3r/Utils/BoostProcessCompat.hpp>
#include <wx/event.h>
#include <wx/timer.h>
#include <string>
@@ -12,12 +9,7 @@
#include <vector>
#include <system_error>
#include <memory>
#include <boost/process/pipe.hpp>
#include <boost/process/io.hpp>
#include <exception>
#ifdef _WIN32
#include <boost/process/windows.hpp>
#endif
namespace Slic3r { namespace GUI {