-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix build with upstream dependencies #696
Conversation
can not pass compiling on macos and windows: macos: windows: |
Hi, I have bumped Boost in the vendored deps following PrusaSlicer and tested building on Windows 11. |
fixes #6355
Fixes build on Boost 1.79.0.
Deprecated in Boost 1.79.0 and no longer included by filesystem.hpp.
Fixes linking errors like: /nix/store/039g378vc3pc3dvi9dzdlrd0i4q93qwf-binutils-2.39/bin/ld: slic3r/liblibslic3r_gui.a(GUI_ObjectTable.cpp.o): in function `wxClassInfo::IsKindOf(wxClassInfo const*) const': /nix/store/hzl7rsdq0k6affzy2rz35lhn51lq6zh3-wxwidgets-3.1.5/include/wx-3.1/wx/rtti.h:88: undefined reference to `wxGridCellEditorEvtHandler::ms_classInfo' /nix/store/039g378vc3pc3dvi9dzdlrd0i4q93qwf-binutils-2.39/bin/ld: /nix/store/hzl7rsdq0k6affzy2rz35lhn51lq6zh3-wxwidgets-3.1.5/include/wx-3.1/wx/rtti.h:93: undefined reference to `wxGridCellEditorEvtHandler::ms_classInfo' /nix/store/039g378vc3pc3dvi9dzdlrd0i4q93qwf-binutils-2.39/bin/ld: /nix/store/hzl7rsdq0k6affzy2rz35lhn51lq6zh3-wxwidgets-3.1.5/include/wx-3.1/wx/rtti.h:99: undefined reference to `wxGridCellEditorEvtHandler::ms_classInfo' /nix/store/039g378vc3pc3dvi9dzdlrd0i4q93qwf-binutils-2.39/bin/ld: /nix/store/hzl7rsdq0k6affzy2rz35lhn51lq6zh3-wxwidgets-3.1.5/include/wx-3.1/wx/rtti.h:93: undefined reference to `wxGridCellEditorEvtHandler::ms_classInfo' /nix/store/039g378vc3pc3dvi9dzdlrd0i4q93qwf-binutils-2.39/bin/ld: /nix/store/hzl7rsdq0k6affzy2rz35lhn51lq6zh3-wxwidgets-3.1.5/include/wx-3.1/wx/rtti.h:88: undefined reference to `wxGridCellEditorEvtHandler::ms_classInfo'
It doesn't exist in our tree.
The wrapper isn't used in the Linux code path. Some distributions' wxWidgets packages don't ship the private headers.
…encies using Visual Studio 2022 (cherry picked from commit 1376c9cffdb23351d35270ef5673ea98789dcaaf)
(cherry picked from commit 776a125b9b5fb4af1d9c57b78063012ad6421f4b)
(cherry picked from commit 62fb70d1cb9513f4e54481fac31a1c0771d2a30a)
(cherry picked from commit d3cf765a24cf54d0e2bae790cefb8d77444998f4)
(cherry picked from commit 8d25bf680165f5db0cfd398525199fad64e7642e)
(cherry picked from commit 8c6f67a1645c596189d6601c5ed758e70adfd172)
Let's just translate the comments into English while we are at it.
bfd8615
to
77199a8
Compare
Rebased on top of latest master (congrats on the release!) with a couple of extra fixes. Tested building on Windows 11. |
Hello there,
This PR fixes build against newer dependencies like Boost 1.79 shipped with Linux distributions (specifically, NixOS). For distribution packaging, it's expected for applications to use libraries from the package set instead of bringing in their own vendored versions.
Fix repeated calls to FindTBB in module mode.
: Upstreamed in PrusaSlicer as prusa3d/PrusaSlicer@eddcebfRef: #12