Skip to content

Commit 16e532f

Browse files
authoredNov 28, 2024
libslic3r: include tbb/spin_mutex to fix compilation error (SoftFever#7505)
PrintObject.cpp references tbb::spin_mutex, thus it needs to include tbb/spin_mutex. Otherwise compilation fails with: error: ‘spin_mutex’ is not a member of ‘tbb’ Supersedes SoftFever#7057
1 parent 508d0e6 commit 16e532f

File tree

3 files changed

+1
-14
lines changed

3 files changed

+1
-14
lines changed
 

‎flatpak/io.github.softfever.OrcaSlicer.yml

-2
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,6 @@ modules:
304304
# OrcaSlicer Source Archive
305305
- type: dir
306306
path: ../
307-
- type: patch
308-
path: patches/libslic3r_missing_include.patch
309307

310308
# AppData metainfo for Gnome Software & Co.
311309
- type: file

‎flatpak/patches/libslic3r_missing_include.patch

-12
This file was deleted.

‎src/libslic3r/PrintObject.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
#include <boost/log/trivial.hpp>
3232

3333
#include <tbb/parallel_for.h>
34+
#include <tbb/spin_mutex.h>
3435

3536
#include <Shiny/Shiny.h>
3637

0 commit comments

Comments
 (0)
Please sign in to comment.