Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Issues with SuperSlicer
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
gjy0724
Apprentice
Apprentice


Joined: 11 Jun 2005
Posts: 170
Location: Lock Haven, Pennsylvania

PostPosted: Mon Jul 15, 2024 11:59 am    Post subject: [SOLVED] Issues with SuperSlicer Reply with quote

Hello,

I have been having alot of issues with SuperSlicer having to be re-ebuilt, especially with 2.5.59.2-r2 so I thought I would try this thread. I followed snova's step in his last post, but I am having issues with completing the build. My issue seems to be with PrintBase.cpp. I had 2.5.59.2-r2 installed and working but rebuilds after the fact are failing for the same reason. This was originally added to the topic, but I moved it to a separate thread. I checked the patches that are referenced in the topic, but none reference PrintBase.cpp,

Code:
[231/433] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOCALE_DYN_LINK -DBOOST_LOCALE_NO_LIB -DBOOST_LOG_DYN_LINK -DBOOST_LOG_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOPENVDB_ABI_VERSION_NUMBER=11 -DOPENVDB_USE_DELAYED_LOADING -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -DwxNO_UNSAFE_WXSTRING_CONV -DwxUSE_UNICODE -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/var/tmp/portage/media-gfx/superslicer-2.5.59.8/work/SuperSlicer-2.5.59.8/src -I/var/tmp/portage/media-gfx/superslicer-2.5.59.8/work/SuperSlicer-2.5.59.8_build/src/platform -I/var/tmp/portage/media-gfx/superslicer-2.5.59.8/work/SuperSlicer-2.5.59.8/src/libslic3r -I/var/tmp/portage/media-gfx/superslicer-2.5.59.8/work/SuperSlicer-2.5.59.8_build/src/libslic3r -I/var/tmp/portage/media-gfx/superslicer-2.5.59.8/work/SuperSlicer-2.5.59.8/src/libnest2d/include -I/var/tmp/portage/media-gfx/superslicer-2.5.59.8/work/SuperSlicer-2.5.59.8/src/miniz -I/var/tmp/portage/media-gfx/superslicer-2.5.59.8/work/SuperSlicer-2.5.59.8/src/glu-libtess/include -isystem /usr/include/eigen3 -isystem /var/tmp/portage/media-gfx/superslicer-2.5.59.8/work/SuperSlicer-2.5.59.8/src/libigl -isystem /usr/include/opencascade -isystem /usr/include/Imath  -DNDEBUG -march=native -O2 -pipe -fno-strict-aliasing -fext-numeric-literals -Wall -Wno-reorder -std=gnu++17 -fPIC -fsigned-char -Werror=return-type -Wno-ignored-attributes -Wno-unknown-pragmas -MD -MT src/libslic3r/CMakeFiles/libslic3r.dir/PrintBase.cpp.o -MF src/libslic3r/CMakeFiles/libslic3r.dir/PrintBase.cpp.o.d -o src/libslic3r/CMakeFiles/libslic3r.dir/PrintBase.cpp.o -c /var/tmp/portage/media-gfx/superslicer-2.5.59.8/work/SuperSlicer-2.5.59.8/src/libslic3r/PrintBase.cpp
FAILED: src/libslic3r/CMakeFiles/libslic3r.dir/PrintBase.cpp.o
/usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOCALE_DYN_LINK -DBOOST_LOCALE_NO_LIB -DBOOST_LOG_DYN_LINK -DBOOST_LOG_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOPENVDB_ABI_VERSION_NUMBER=11 -DOPENVDB_USE_DELAYED_LOADING -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -DwxNO_UNSAFE_WXSTRING_CONV -DwxUSE_UNICODE -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/var/tmp/portage/media-gfx/superslicer-2.5.59.8/work/SuperSlicer-2.5.59.8/src -I/var/tmp/portage/media-gfx/superslicer-2.5.59.8/work/SuperSlicer-2.5.59.8_build/src/platform -I/var/tmp/portage/media-gfx/superslicer-2.5.59.8/work/SuperSlicer-2.5.59.8/src/libslic3r -I/var/tmp/portage/media-gfx/superslicer-2.5.59.8/work/SuperSlicer-2.5.59.8_build/src/libslic3r -I/var/tmp/portage/media-gfx/superslicer-2.5.59.8/work/SuperSlicer-2.5.59.8/src/libnest2d/include -I/var/tmp/portage/media-gfx/superslicer-2.5.59.8/work/SuperSlicer-2.5.59.8/src/miniz -I/var/tmp/portage/media-gfx/superslicer-2.5.59.8/work/SuperSlicer-2.5.59.8/src/glu-libtess/include -isystem /usr/include/eigen3 -isystem /var/tmp/portage/media-gfx/superslicer-2.5.59.8/work/SuperSlicer-2.5.59.8/src/libigl -isystem /usr/include/opencascade -isystem /usr/include/Imath  -DNDEBUG -march=native -O2 -pipe -fno-strict-aliasing -fext-numeric-literals -Wall -Wno-reorder -std=gnu++17 -fPIC -fsigned-char -Werror=return-type -Wno-ignored-attributes -Wno-unknown-pragmas -MD -MT src/libslic3r/CMakeFiles/libslic3r.dir/PrintBase.cpp.o -MF src/libslic3r/CMakeFiles/libslic3r.dir/PrintBase.cpp.o.d -o src/libslic3r/CMakeFiles/libslic3r.dir/PrintBase.cpp.o -c /var/tmp/portage/media-gfx/superslicer-2.5.59.8/work/SuperSlicer-2.5.59.8/src/libslic3r/PrintBase.cpp
/var/tmp/portage/media-gfx/superslicer-2.5.59.8/work/SuperSlicer-2.5.59.8/src/libslic3r/PrintBase.cpp: In member function ‘std::string Slic3r::PrintBase::output_filename(const std::string&, const std::string&, const std::string&, const Slic3r::DynamicConfig*) const’:
/var/tmp/portage/media-gfx/superslicer-2.5.59.8/work/SuperSlicer-2.5.59.8/src/libslic3r/PrintBase.cpp:108:29: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=]
  108 |                 }catch(std::exception){}
      |                             ^~~~~~~~~
/var/tmp/portage/media-gfx/superslicer-2.5.59.8/work/SuperSlicer-2.5.59.8/src/libslic3r/PrintBase.cpp:126:43: error: ‘change_extension’ is not a member of ‘boost::filesystem’
  126 |             filepath = boost::filesystem::change_extension(filepath, default_ext);
      |                                           ^~~~~~~~~~~~~~~~
In file included from /var/tmp/portage/media-gfx/superslicer-2.5.59.8/work/SuperSlicer-2.5.59.8/src/libslic3r/PrintConfig.hpp:32,
                 from /var/tmp/portage/media-gfx/superslicer-2.5.59.8/work/SuperSlicer-2.5.59.8/src/libslic3r/Model.hpp:9,
                 from /var/tmp/portage/media-gfx/superslicer-2.5.59.8/work/SuperSlicer-2.5.59.8/src/libslic3r/PrintBase.hpp:13,
                 from /var/tmp/portage/media-gfx/superslicer-2.5.59.8/work/SuperSlicer-2.5.59.8/src/libslic3r/PrintBase.cpp:2:


My build setup

Code:
Portage 3.0.65 (python 3.12.3-final-0, default/linux/amd64/23.0, gcc-13, glibc-2.39-r6, 6.6.30-gentoo-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.6.30-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-7700HQ_CPU_@_2.80GHz-with-glibc2.39
KiB Mem:    16272496 total,   9371892 free
KiB Swap:   16777212 total,  12524540 free
Timestamp of repository gentoo: Sun, 14 Jul 2024 22:49:00 +0000
Head commit of repository gentoo: e969027016f5d4e7b14ea872644ecca97bc745a8

Head commit of repository brave-overlay: 9370e6d53ba18694646e514a0a0c2ffdc66f0b14

Timestamp of repository guru: Sun, 14 Jul 2024 18:03:46 +0000
Head commit of repository guru: ded9592082f212fde6a0594b8310aff02aebc67e

Timestamp of repository pf4public: Sun, 14 Jul 2024 13:33:57 +0000
Head commit of repository pf4public: 32ae81eca668c2f79aced45d61f335ea7fed0baf

Timestamp of repository steam-overlay: Fri, 12 Jul 2024 07:49:12 +0000
Head commit of repository steam-overlay: cc81084f6a5239138bcce4b4afb9475293127668

sh bash 5.2_p26-r6
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r6::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.28.5::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r3::gentoo
dev-lang/python:           3.11.9-r1::gentoo, 3.12.3-r1::gentoo
dev-lang/rust:             1.77.1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54.2::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo
sys-devel/llvm:            17.0.6::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    volatile: False

brave-overlay
    location: /var/db/repos/brave-overlay
    sync-type: git
    sync-uri: https://gitlab.com/jason.oliveira/brave-overlay.git
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

n8hth
    location: /home/gyeomans/DATA/gitlab/n8hth
    masters: gentoo
    volatile: True

pf4public
    location: /var/db/repos/pf4public
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pf4public.git
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://gentoo.osuosl.org/ https://mirrors.rit.edu/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="en"
MAKEOPTS="-j9"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X acl alsa amd64 bash-completion bluetooth branding bzip2 cet cleartype corefonts crypt cups dbus elogind ffmpeg gdbm gnome-keyring iconv ipv6 jpeg jpg libtirpc mp3 multilib ncurses nls ogg opengl openmp pam pcre png pulseaudio readline seccomp ssl test-rust tk truetype type1 unicode vim-syntax vorbis vulkan xattr xvmc zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31 ruby32" SANE_BACKENDS="hp" VIDEO_CARDS="intel i915" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS


Thank you in advance...


Last edited by gjy0724 on Wed Jul 17, 2024 8:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22618

PostPosted: Mon Jul 15, 2024 3:19 pm    Post subject: Reply with quote

Your installed version of dev-libs/boost is not compatible with the target version of SuperSlicer. What is the output of emerge --pretend --verbose dev-libs/boost?
Back to top
View user's profile Send private message
gjy0724
Apprentice
Apprentice


Joined: 11 Jun 2005
Posts: 170
Location: Lock Haven, Pennsylvania

PostPosted: Mon Jul 15, 2024 5:02 pm    Post subject: Reply with quote

Yes, I have heard of the drama that is SuperSlicer being incompatible with boost 1.84. As mentioned previously, I had 2.5.59.2-r2 installed somehow, but I accidentally removed it while trying to fix the recent recompile/reinstall. Sadly, I now have boost 1.85.0-r1 installed.

Code:
[ebuild   R    ] dev-libs/boost-1.85.0-r1:0/1.85.0.1::gentoo  USE="bzip2 context icu nls stacktrace zlib -debug -doc -lzma -mpi -numpy -python -tools -zstd" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_12 -python3_10 -python3_11" 0 KiB


Is it safe to assume this needs to be fixed in upstream? I installed PrusaSlicer as a alternative solution, however I prefer SuperSlicer even though the latter is a fork of the other. Unfortunately, the profiles from SS do not directly import into PS, or at least not that I have seen.

I am not fluent in C++ so I am not of any help beyond posting the error I am getting.

If there is anything else I can do, please let me know.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22618

PostPosted: Mon Jul 15, 2024 6:26 pm    Post subject: Reply with quote

Upstream would need to add conditional code to handle different versions of boost differently, yes. I suggest filing a Gentoo bug to have the superslicer ebuild modified so that it will not allow users to try a known-broken configuration of boost vs superslicer. Such a report would be more helpful to the developer if you can provide a known-good/known-bad list, such as saying that this version works with boost-1.84 and fails with boost-1.85.
Back to top
View user's profile Send private message
gjy0724
Apprentice
Apprentice


Joined: 11 Jun 2005
Posts: 170
Location: Lock Haven, Pennsylvania

PostPosted: Mon Jul 15, 2024 10:13 pm    Post subject: Reply with quote

Created bug
Back to top
View user's profile Send private message
gjy0724
Apprentice
Apprentice


Joined: 11 Jun 2005
Posts: 170
Location: Lock Haven, Pennsylvania

PostPosted: Wed Jul 17, 2024 8:11 pm    Post subject: Reply with quote

SuperSlicer 2.5.59.10 has been released, but it also has at least one bug
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum