Open Zombie-Feynman opened 3 years ago
will include
I've added an ebuild for 2.3.57.7 version into Gentoo Guru repo. You could grab a patch for missing imports from there and just apply it.
I've just added a new ebuild for version 2.3.57.9 and there is still one missing import in PrintObject.cpp
.
Also forgot to previously mention missing import for miniz_zip header that I need to apply as a patch.
Thank you for adding missing imports - adding an ebuild for the latest version was much easier then before :+1:
Just added ebuild for 2.3.57.11 version and there is one new missing import.
Generally I would expect this issue to be ongoing with every new release. Probably I could just create a PR with fixes after each new release.
Yeah, compilers have different expectations.
Probably I could just create a PR with fixes after each new release.
You can. I'll add this one for now.
Describe the bug I compiled SuperSlicer 2.3.57.6 on my Gentoo box (gcc-11.2.0, GNU gold linker) by adapting the PrusaSlicer ebuild, but I encountered a lot of compile errors due to missing includes. The following must be added before SuperSlicer will compile on this system:
#include <boost/filesystem/path.hpp>
insrc/libslic3r/Format/CWS.cpp
#include <boost/filesystem/path.hpp>
insrc/slic3r/GUI/CalibrationAbstractDialog.cpp
#include <boost/filesystem/path.hpp>
insrc/slic3r/GUI/Preferences.cpp
#include <boost/filesystem.hpp>
insrc/libslic3r/Format/CWS.cpp
#include <boost/filesystem.hpp>
insrc/slic3r/GUI/CalibrationAbstractDialog.cpp
#include <boost/filesystem.hpp>
insrc/slic3r/GUI/Preferences.cpp
#include <boost/log/trivial.hpp>
insrc/libslic3r/Format/CWS.cpp
#include <boost/log/trivial.hpp>
insrc/libslic3r/GCode/AvoidCrossingPerimeters.cpp
#include <boost/log/trivial.hpp>
insrc/libslic3r/MedialAxis.cpp
#include <boost/log/trivial.hpp>
insrc/libslic3r/PlaceholderParser.cpp
#include <boost/log/trivial.hpp>
insrc/slic3r/GUI/PhysicalPrinterDialog.cpp
#include <boost/log/trivial.hpp>
insrc/slic3r/GUI/GUI_ObjectList.cpp
#include <boost/lexical_cast.hpp>
insrc/libslic3r/GCodeWriter.cpp
#include <boost/locale.hpp>
insrc/libslic3r/AppConfig.cpp
#include <regex>
insrc/libslic3r/PrintBase.cpp
#include <regex>
insrc/libslic3r/PlaceholderParser.cpp
#include <regex>
insrc/slic3r/GUI/Search.cpp
#include <unordered_set>
insrc/libslic3r/GCode.cpp
#include <atomic>
insrc/libslic3r/PrintObject.cpp
#include <boost/nowide/fstream.hpp>
insrc/slic3r/GUI/3DBed.cpp
#include <boost/property_tree/ptree.hpp>
insrc/slic3r/GUI/3DBed.cpp
#include <boost/property_tree/ptree.hpp>
insrc/slic3r/Utils/PresetUpdater.cpp
#include <boost/property_tree/ini_parser.hpp>
insrc/slic3r/GUI/3DBed.cpp
#include <boost/property_tree/json_parser.hpp>
insrc/slic3r/Utils/PresetUpdater.cpp
#include <boost/locale/generator.hpp>
insrc/slic3r/GUI/3DBed.cpp
#include <boost/lexical_cast.hpp>
insrc/slic3r/GUI/Tab.cpp
#include <wx/collpane.h>
insrc/slic3r/GUI/Tab.cpp
To Reproduce Steps to reproduce the behavior:
>> Project File << N/A
Expected behavior SuperSlicer compiles successfully.
Screenshots N/A
Desktop (please complete the following information):
Additional context See attachment for
emerge --info
output.emerge-info.log