mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-24 22:38:02 -05:00
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:
1 parent
887a8f1806
commit
88890b9bb1
14 files changed
+69
-72
No files matched your search
@@ -2,9 +2,6 @@
|
||||
#include "libslic3r/Platform.hpp"
|
||||
#include <boost/filesystem/operations.hpp>
|
||||
#include <cstddef>
|
||||
#include <boost/process/pipe.hpp>
|
||||
#include <boost/process/search_path.hpp>
|
||||
#include <boost/process/io.hpp>
|
||||
#include <cassert>
|
||||
#include <algorithm>
|
||||
#include <boost/bind/bind.hpp>
|
||||
@@ -39,7 +36,7 @@
|
||||
#include <pwd.h>
|
||||
#include <boost/filesystem.hpp>
|
||||
#include <boost/system/error_code.hpp>
|
||||
#include <boost/process.hpp>
|
||||
#include <slic3r/Utils/BoostProcessCompat.hpp>
|
||||
#endif
|
||||
|
||||
namespace Slic3r {
|
||||
|
||||
Reference in new issue
Block a user