Package Details: superslicer-prerelease 1:2.7.61.10-1

Git Clone URL: https://aur.archlinux.org/superslicer-prerelease.git (read-only, click to copy)
Package Base: superslicer-prerelease
Description: G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
Upstream URL: https://github.com/supermerill/SuperSlicer
Licenses: AGPL3
Conflicts: superslicer, superslicer-git
Provides: superslicer
Submitter: msrd0
Maintainer: msrd0 (LuckyTurtleDev, msrd0.dev)
Last Packager: msrd0.dev
Votes: 3
Popularity: 0.005890
First Submitted: 2024-11-21 19:06 (UTC)
Last Updated: 2025-10-11 16:24 (UTC)

Latest Comments

Zinput commented on 2025-11-06 21:20 (UTC)

Having trouble with cmake not finding boost:

-- Found PkgConfig: /usr/sbin/pkg-config (found version "2.5.1")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found DBus: /usr/include/dbus-1.0;/usr/lib/dbus-1.0/include
CMake Error at /usr/lib/cmake/Boost-1.89.0/BoostConfig.cmake:141 (find_package):
  Could not find a package configuration file provided by "boost_system"
  (requested version 1.89.0) with any of the following names:

    boost_systemConfig.cmake
    boost_system-config.cmake

  Add the installation prefix of "boost_system" to CMAKE_PREFIX_PATH or set
  "boost_system_DIR" to a directory containing one of the above files.  If
  "boost_system" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  /usr/lib/cmake/Boost-1.89.0/BoostConfig.cmake:262 (boost_find_component)
  /usr/share/cmake/Modules/FindBoost.cmake:609 (find_package)
  CMakeLists.txt:388 (find_package)


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...

swiftgeek commented on 2025-10-12 14:19 (UTC) (edited on 2025-10-12 14:19 (UTC) by swiftgeek)

mkdir -p destdir in build() would likely make makepkg --noprepare --noextract work fine to resume an interrupted build

Maniac commented on 2025-08-11 13:45 (UTC)

Thanks for your help. Now it works. My issue was that I haven't thought a second that !lto could be a PKGBUILD option and I tried to figure out how to do this with cmake.

msrd0 commented on 2025-08-10 18:02 (UTC) (edited on 2025-08-10 18:03 (UTC) by msrd0)

@Maniac google, especially since it enabled its AI hallucinator, is nonsense. Please don't use that.

Read the man page instead. Try this: man PKGBUILD. Then, type /lto to search for the term "lto".

TL;DR: There is an array called options. One of these options is called lto. An exclamation mark (!) disables instead of enables the option. So, add this somewhere (outside of a function) to the PKGBUILD of heatshrink: options+=('!lto')

Maniac commented on 2025-08-10 17:50 (UTC)

Thanks, can you give me a hint how i can disable lto in the PKGBUILD found in the AUR for heatshrink? I already tried it and also used google but without success so far.

msrd0 commented on 2025-08-04 12:52 (UTC) (edited on 2025-08-28 11:02 (UTC) by msrd0)

Update (2025-08-28): The heatshrink package was updated, so this is no longer necessary.

If you encounter linking problems w.r.t. heatshrink like @Maniac, re-compile the heatshrink package with the !lto option.

Maniac commented on 2025-06-30 17:44 (UTC) (edited on 2025-06-30 17:45 (UTC) by Maniac)

I'm not able to build it:

/usr/bin/ld: /tmp/cca1hj6J.ltrans121.ltrans.o: in function `bgcode::binarize::compress(std::vector<unsigned char, std::allocator<unsigned char> >&, std::vector<unsigned char, std::allocator<unsigned char> >&, bgcode::core::ECompressionType) [clone .constprop.0]':
/usr/src/debug/superslicer-prerelease/libbgcode-6f43cb004ef3d3bda37dde49f6235e24d2717629/src/LibBGCode/binarize/binarize.cpp:213:(.text+0x4809): undefined reference to `heatshrink_encoder_alloc'
/usr/bin/ld: /usr/src/debug/superslicer-prerelease/libbgcode-6f43cb004ef3d3bda37dde49f6235e24d2717629/src/LibBGCode/binarize/binarize.cpp:243:(.text+0x48e8): undefined reference to `heatshrink_encoder_poll'
/usr/bin/ld: /usr/src/debug/superslicer-prerelease/libbgcode-6f43cb004ef3d3bda37dde49f6235e24d2717629/src/LibBGCode/binarize/binarize.cpp:230:(.text+0x491c): undefined reference to `heatshrink_encoder_sink'
/usr/bin/ld: /usr/src/debug/superslicer-prerelease/libbgcode-6f43cb004ef3d3bda37dde49f6235e24d2717629/src/LibBGCode/binarize/binarize.cpp:262:(.text+0x4929): undefined reference to `heatshrink_encoder_free'
/usr/bin/ld: /usr/src/debug/superslicer-prerelease/libbgcode-6f43cb004ef3d3bda37dde49f6235e24d2717629/src/LibBGCode/binarize/binarize.cpp:252:(.text+0x493d): undefined reference to `heatshrink_encoder_finish'
/usr/bin/ld: /usr/src/debug/superslicer-prerelease/libbgcode-6f43cb004ef3d3bda37dde49f6235e24d2717629/src/LibBGCode/binarize/binarize.cpp:260:(.text+0x4970): undefined reference to `heatshrink_encoder_poll'
/usr/bin/ld: /usr/src/debug/superslicer-prerelease/libbgcode-6f43cb004ef3d3bda37dde49f6235e24d2717629/src/LibBGCode/binarize/binarize.cpp:266:(.text+0x49aa): undefined reference to `heatshrink_encoder_free'
/usr/bin/ld: /tmp/cca1hj6J.ltrans121.ltrans.o: in function `bgcode::binarize::uncompress(std::vector<unsigned char, std::allocator<unsigned char> > const&, std::vector<unsigned char, std::allocator<unsigned char> >&, bgcode::core::ECompressionType, unsigned long) [clone .constprop.0]':
/usr/src/debug/superslicer-prerelease/libbgcode-6f43cb004ef3d3bda37dde49f6235e24d2717629/src/LibBGCode/binarize/binarize.cpp:338:(.text+0x4c9d): undefined reference to `heatshrink_decoder_alloc'
/usr/bin/ld: /usr/src/debug/superslicer-prerelease/libbgcode-6f43cb004ef3d3bda37dde49f6235e24d2717629/src/LibBGCode/binarize/binarize.cpp:353:(.text+0x4d2e): undefined reference to `heatshrink_decoder_sink'
/usr/bin/ld: /usr/src/debug/superslicer-prerelease/libbgcode-6f43cb004ef3d3bda37dde49f6235e24d2717629/src/LibBGCode/binarize/binarize.cpp:363:(.text+0x4d7d): undefined reference to `heatshrink_decoder_poll'
/usr/bin/ld: /usr/src/debug/superslicer-prerelease/libbgcode-6f43cb004ef3d3bda37dde49f6235e24d2717629/src/LibBGCode/binarize/binarize.cpp:374:(.text+0x4d8a): undefined reference to `heatshrink_decoder_free'
/usr/bin/ld: /usr/src/debug/superslicer-prerelease/libbgcode-6f43cb004ef3d3bda37dde49f6235e24d2717629/src/LibBGCode/binarize/binarize.cpp:372:(.text+0x4fb4): undefined reference to `heatshrink_decoder_finish'
/usr/bin/ld: /usr/src/debug/superslicer-prerelease/libbgcode-6f43cb004ef3d3bda37dde49f6235e24d2717629/src/LibBGCode/binarize/binarize.cpp:378:(.text+0x4fc5): undefined reference to `heatshrink_decoder_free'
collect2: Fehler: ld gab 1 als Ende-Status zurück
ninja: build stopped: subcommand failed.