From 54f17fc5af0c706ef4b0ae38ac81e7aa7d953bdf Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 14 Oct 2025 18:14:06 +0200 Subject: [PATCH] FIX: 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/slic3r/Utils/FileTransferUtils.hpp:65:27: error: ‘info’ was not declared in this scope 65 | BOOST_LOG_TRIVIAL(info) << std::string("symbol not found: ") + name; | ^~~~ /run/build/BambuStudio/src/slic3r/Utils/FileTransferUtils.hpp:65:9: error: there are no arguments to ‘BOOST_LOG_TRIVIAL’ that depend on a template parameter, so a declaration of ‘BOOST_LOG_TRIVIAL’ must be available [-fpermissive] 65 | BOOST_LOG_TRIVIAL(info) << std::string("symbol not found: ") + name; | ^~~~~~~~~~~~~~~~~ (cherry picked from commit 4c30fb7edd3a4a29db9178685ff276cff2da22f3) --- src/slic3r/Utils/FileTransferUtils.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/slic3r/Utils/FileTransferUtils.hpp b/src/slic3r/Utils/FileTransferUtils.hpp index a7f89cf919..037a1bef0c 100644 --- a/src/slic3r/Utils/FileTransferUtils.hpp +++ b/src/slic3r/Utils/FileTransferUtils.hpp @@ -8,6 +8,7 @@ #include #include #include +#include #ifdef _WIN32 #include