From 8e6e68de3f170ef3d75727e8a25fc8ba2760c5f9 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Sun, 10 Dec 2023 23:30:52 +0100 Subject: [PATCH] Fix missing BOOST_LOG_TRIVIAL declaration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit /run/build/BambuStudio/src/libslic3r/Brim.cpp: In function ‘void Slic3r::make_brim(const Print&, PrintTryCancel, Polygons&, std::map&, std::map&, std::vector >&, std::vector&)’: /run/build/BambuStudio/src/libslic3r/Brim.cpp:1656:23: error: ‘debug’ was not declared in this scope 1656 | BOOST_LOG_TRIVIAL(debug) << "brim_width_max, num_loops: " << brim_width_max << ", " << num_loops; | ^~~~~ /run/build/BambuStudio/src/libslic3r/Brim.cpp:1656:5: error: ‘BOOST_LOG_TRIVIAL’ was not declared in this scope 1656 | BOOST_LOG_TRIVIAL(debug) << "brim_width_max, num_loops: " << brim_width_max << ", " << num_loops; | ^~~~~~~~~~~~~~~~~ /run/build/BambuStudio/src/libslic3r/Brim.cpp: In function ‘Slic3r::ExtrusionEntityCollection Slic3r::make_brim(const Print&, PrintTryCancel, Polygons&)’: /run/build/BambuStudio/src/libslic3r/Brim.cpp:1675:23: error: ‘debug’ was not declared in this scope 1675 | BOOST_LOG_TRIVIAL(debug) << "brim_width_max, num_loops: " << brim_width_max << ", " << num_loops; | ^~~~~ /run/build/BambuStudio/src/libslic3r/Brim.cpp:1675:5: error: ‘BOOST_LOG_TRIVIAL’ was not declared in this scope 1675 | BOOST_LOG_TRIVIAL(debug) << "brim_width_max, num_loops: " << brim_width_max << ", " << num_loops; | ^~~~~~~~~~~~~~~~~ --- src/libslic3r/Brim.cpp | 2 ++ src/libslic3r/Config.cpp | 1 + 2 files changed, 3 insertions(+) diff --git a/src/libslic3r/Brim.cpp b/src/libslic3r/Brim.cpp index 48e62693d..b3301dbb6 100644 --- a/src/libslic3r/Brim.cpp +++ b/src/libslic3r/Brim.cpp @@ -13,6 +13,8 @@ #include #include +#include + #ifndef NDEBUG // #define BRIM_DEBUG_TO_SVG #endif diff --git a/src/libslic3r/Config.cpp b/src/libslic3r/Config.cpp index 503635098..2936e3176 100644 --- a/src/libslic3r/Config.cpp +++ b/src/libslic3r/Config.cpp @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include