Package Details: prusa-slicer-git 2.3.0.r10.g5b138cf04-1

Git Clone URL: https://aur.archlinux.org/prusa-slicer-git.git (read-only, click to copy)
Package Base: prusa-slicer-git
Description: G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
Upstream URL: https://github.com/prusa3d/PrusaSlicer
Licenses: AGPL3
Conflicts: prusa-slicer
Submitter: Salamandar
Maintainer: Salamandar
Last Packager: Salamandar
Votes: 6
Popularity: 0.086921
First Submitted: 2019-07-08 08:14
Last Updated: 2021-01-13 13:34

Latest Comments

1 2 3 4 5 Next › Last »

Firebug24k commented on 2021-01-13 12:49

Compiles again for me as of 13 Jan

whoops commented on 2021-01-10 21:17

Segfaults during runtime too unless I start it with MESA_LOADER_DRIVER_OVERRIDE=i965 LC_ALL=C

Firebug24k commented on 2021-01-09 14:13

I can confirm I have the same issue, it has started failing to compile in the last 2-3 days, but the issue is over on PrusaSlicer's Github so it looks like it's not limited to an Arch issue.

https://github.com/prusa3d/PrusaSlicer/pull/5717

aaarne commented on 2021-01-07 16:12

Compiling on a freshly updated Arch gives this error:

[375/396] Linking CXX executable src/prusa-slicer
FAILED: src/prusa-slicer 
: && /usr/bin/c++ -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fext-numeric-literals -Wall -Wno-reorder -pthread -O3 -DNDEBUG -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now src/CMakeFiles/PrusaSlicer.dir/PrusaSlicer.cpp.o -o src/prusa-slicer  src/libslic3r/liblibslic3r.a  -ldl  -lstdc++  src/slic3r/liblibslic3r_gui.a  -ldl  src/libslic3r/liblibslic3r.a  src/libnest2d/liblibnest2d.a  /usr/lib/libnlopt.so  src/admesh/libadmesh.a  src/miniz/libminiz_static.a  /usr/lib/libboost_log.so.1.75.0  /usr/lib/libboost_filesystem.so.1.75.0  -lrt  /usr/lib/libboost_locale.so.1.75.0  /usr/lib/libboost_thread.so.1.75.0  /usr/lib/libboost_regex.so.1.75.0  -licudata  -licui18n  -licuuc  /usr/lib/libboost_chrono.so.1.75.0  /usr/lib/libboost_atomic.so.1.75.0  /usr/lib/libboost_date_time.so.1.75.0  src/clipper/libclipper.a  src/boost/libnowide.a  src/glu-libtess/libglu-libtess.a  src/polypartition/libpolypartition.a  src/poly2tri/libpoly2tri.a  src/qhull/libqhullstatic.a  -lm  src/semver/libsemver.a  src/libslic3r/liblibslic3r_cgal.a  /usr/lib/libCGAL.so.13.0.3  /usr/lib/libmpfr.so  /usr/lib/libgmp.so  /usr/lib/libpng.so  /usr/lib/libopenvdb.so  /usr/lib/libtbb.so  /usr/lib/libboost_system.so.1.75.0  /usr/lib/libboost_iostreams.so.1.75.0  -lbz2  -llzma  -lz  -lzstd  /usr/lib/libHalf-2_5.so.25.0.3  -pthread  src/avrdude/libavrdude.a  src/imgui/libimgui.a  /usr/lib/libGLEW.so  /usr/lib/libGLU.so  /usr/lib/libGL.so  src/hidapi/libhidapi.a  -ldl  /usr/lib/libz.so  /usr/lib/libcurl.so  -lwx_baseu-3.0  -lwx_gtk3u_core-3.0  -lwx_gtk3u_adv-3.0  -lwx_gtk3u_html-3.0  -lwx_gtk3u_gl-3.0  /usr/lib/libpng.so  /usr/lib/libz.so  /usr/lib/libexpat.so  /usr/lib/librt.so  /usr/lib/libdbus-1.so && cd /home/arne/.cache/yay/prusa-slicer-git/src/PrusaSlicer/build/src && ln -sf prusa-slicer prusa-gcodeviewer && cd /home/arne/.cache/yay/prusa-slicer-git/src/PrusaSlicer/build/src && ln -sfn /home/arne/.cache/yay/prusa-slicer-git/src/PrusaSlicer/resources /home/arne/.cache/yay/prusa-slicer-git/src/PrusaSlicer/build/src/../resources
/usr/bin/ld: src/slic3r/liblibslic3r_gui.a(PresetComboBoxes.cpp.o): undefined reference to symbol 'gtk_cell_layout_get_type'
/usr/bin/ld: /usr/lib/libgtk-3.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

It seems to be an issue with the newest GTK3 version.

Salamandar commented on 2020-12-09 20:26

Hi guys, sorry for the late answer. The package is now fixed, along with a fix for wx-config not being detected by CMake if wxgtk2 is not installed.

neo2001 commented on 2020-12-04 15:45

I'm getting this error when I try to build the package:

FAILED: src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/AboutDialog.cpp.o 
/usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_CHRONO_DYN_LINK-DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_LOCALE_DYN_LINK -DBOOST_LOG_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DLIBNEST2D_GEOMETRIES_clipper -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_UNICODE -D__WXGTK__ -DwxNO_UNSAFE_WXSTRING_CONV -DwxUSE_UNICODE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I../src -Isrc/platform -I../src/clipper -I../src/polypartition -I../src/hidapi/include -Isrc/libslic3r -I../src/libnest2d/include -I../src/miniz -I../src/glu-libtess/include -isystem /usr/include/eigen3 -isystem /usr/lib/wx/include/gtk3-unicode-3.0 -isystem /usr/include/wx-3.0 -isystem ../src/libigl -isystem /usr/include/OpenEXR -D_FORTIFY_SOURCE=2 -march=native -O2 -pipe -fstack-protector-strong -fno-plt -fext-numeric-literals -Wall -Wno-reorder -pthread -O3 -DNDEBUG -fPIC -Werror=return-type -Wno-ignored-attributes -Wno-unknown-pragmas -pthread -DOPENVDB_ABI_VERSION_NUMBER=7-std=gnu++17 -Winvalid-pch -include /home/cf/abs/aur/prusa-slicer-git/src/PrusaSlicer/build/src/slic3r/CMakeFiles/libslic3r_gui.dir/cmake_pch.hxx -MD -MT src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/AboutDialog.cpp.o -MF src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/AboutDialog.cpp.o.d -o src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/AboutDialog.cpp.o -c ../src/slic3r/GUI/AboutDialog.cpp
../src/slic3r/GUI/AboutDialog.cpp: In member function ‘wxString Slic3r::GUI::CopyrightsDialog::get_html_text()’:
../src/slic3r/GUI/AboutDialog.cpp:153:21: error: ‘format_wxstr’ was not declared in this scope
153 |             text += format_wxstr(
|                     ^~~~~~~~~~~~
[119/361] Building CXX object src/libslic3r/CMakeFiles/libslic3r.dir/Flow.cpp.o
cc1plus: warning: /home/cf/abs/aur/prusa-slicer-git/src/PrusaSlicer/build/src/libslic3r/CMakeFiles/libslic3r.dir/cmake_pch.hxx.gch: created and used with differing settings of '-mlwp'
In file included from /home/cf/abs/aur/prusa-slicer-git/src/PrusaSlicer/src/libslic3r/pchheader.hpp:96,
from /home/cf/abs/aur/prusa-slicer-git/src/PrusaSlicer/build/src/libslic3r/CMakeFiles/libslic3r.dir/cmake_pch.hxx:5,
from <command-line>:
/usr/include/tbb/atomic.h:21:141: note: ‘#pragma message: TBB Warning: tbb/atomic.h is deprecated. For details, please see Deprecated Features appendix in theTBB reference manual.’
21 | #pragma message("TBB Warning: tbb/atomic.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.")
|                                                                        ^
In file included from /home/cf/abs/aur/prusa-slicer-git/src/PrusaSlicer/src/libslic3r/pchheader.hpp:99,
from /home/cf/abs/aur/prusa-slicer-git/src/PrusaSlicer/build/src/libslic3r/CMakeFiles/libslic3r.dir/cmake_pch.hxx:5,
from <command-line>:
/usr/include/tbb/mutex.h:21:140: note: ‘#pragma message: TBB Warning: tbb/mutex.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.’
21 | #pragma message("TBB Warning: tbb/mutex.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.")
|                                                                        ^
In file included from /home/cf/abs/aur/prusa-slicer-git/src/PrusaSlicer/src/libslic3r/pchheader.hpp:101,
from /home/cf/abs/aur/prusa-slicer-git/src/PrusaSlicer/build/src/libslic3r/CMakeFiles/libslic3r.dir/cmake_pch.hxx:5,
from <command-line>:
/usr/include/tbb/task_scheduler_init.h:21:154: note: ‘#pragma message: TBB Warning: tbb/task_scheduler_init.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.’
21 | #pragma message("TBB Warning: tbb/task_scheduler_init.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.")
|                                                                        ^
[120/361] Building CXX object src/slic...dir/GUI/BackgroundSlicingProcess.cpp.o
cc1plus: warning: /home/cf/abs/aur/prusa-slicer-git/src/PrusaSlicer/build/src/slic3r/CMakeFiles/libslic3r_gui.dir/cmake_pch.hxx.gch: created and used with differing settings of '-mlwp'
In file included from ../src/libslic3r/PrintBase.hpp:14,
from ../src/slic3r/GUI/BackgroundSlicingProcess.hpp:10,
from ../src/slic3r/GUI/BackgroundSlicingProcess.cpp:1:
/usr/include/tbb/mutex.h:21:140: note: ‘#pragma message: TBB Warning: tbb/mutex.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.’
21 | #pragma message("TBB Warning: tbb/mutex.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.")
|                                                                        ^
[122/361] Building CXX object src/libs...eFiles/libslic3r.dir/Format/PRUS.cpp.o
cc1plus: warning: /home/cf/abs/aur/prusa-slicer-git/src/PrusaSlicer/build/src/libslic3r/CMakeFiles/libslic3r.dir/cmake_pch.hxx.gch: created and used with differing settings of '-mlwp'
In file included from /home/cf/abs/aur/prusa-slicer-git/src/PrusaSlicer/src/libslic3r/pchheader.hpp:96,
from /home/cf/abs/aur/prusa-slicer-git/src/PrusaSlicer/build/src/libslic3r/CMakeFiles/libslic3r.dir/cmake_pch.hxx:5,
from <command-line>:
/usr/include/tbb/atomic.h:21:141: note: ‘#pragma message: TBB Warning: tbb/atomic.h is deprecated. For details, please see Deprecated Features appendix in theTBB reference manual.’
21 | #pragma message("TBB Warning: tbb/atomic.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.")
|                                                                        ^
In file included from /home/cf/abs/aur/prusa-slicer-git/src/PrusaSlicer/src/libslic3r/pchheader.hpp:99,
from /home/cf/abs/aur/prusa-slicer-git/src/PrusaSlicer/build/src/libslic3r/CMakeFiles/libslic3r.dir/cmake_pch.hxx:5,
from <command-line>:
/usr/include/tbb/mutex.h:21:140: note: ‘#pragma message: TBB Warning: tbb/mutex.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.’
21 | #pragma message("TBB Warning: tbb/mutex.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.")
|                                                                        ^
In file included from /home/cf/abs/aur/prusa-slicer-git/src/PrusaSlicer/src/libslic3r/pchheader.hpp:101,
from /home/cf/abs/aur/prusa-slicer-git/src/PrusaSlicer/build/src/libslic3r/CMakeFiles/libslic3r.dir/cmake_pch.hxx:5,
from <command-line>:
/usr/include/tbb/task_scheduler_init.h:21:154: note: ‘#pragma message: TBB Warning: tbb/task_scheduler_init.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.’
21 | #pragma message("TBB Warning: tbb/task_scheduler_init.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.")
|                                                                        ^
[123/361] Building CXX object src/libs...s/libslic3r_cgal.dir/MeshBoolean.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...

Any ideas?

Lucki commented on 2020-10-13 12:11

I get the following error when trying to build:

==> ERROR: Cannot find the git package needed to handle git sources.

noradtux commented on 2020-09-23 16:29

I added this in build() after cd "${srcdir}/PrusaSlicer" to make it use the included qhull:

    patch -p0 <<EOP
--- src/qhull/CMakeLists.txt.orig   2020-09-23 18:22:48.830149558 +0200
+++ src/qhull/CMakeLists.txt    2020-09-23 18:23:00.240254589 +0200
@@ -10,7 +10,7 @@

 # see bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=925540

-find_package(Qhull 7.2 QUIET)
+#find_package(Qhull 7.2 QUIET)

 add_library(qhull INTERFACE)
EOP

presidentwolf commented on 2020-09-19 13:03

Can't get it to build. It complains about issues linking to qhull - which is installed, but recently updated.

CMake Error at src/CMakeLists.txt:101 (add_executable):
  Target "PrusaSlicer" links to target "Qhull::qhullcpp" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?


CMake Warning (dev) at src/libslic3r/CMakeLists.txt:17 (add_library):
  Policy CMP0028 is not set: Double colon in target name means ALIAS or
  IMPORTED target.  Run "cmake --help-policy CMP0028" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  Target "libslic3r" links to target "Qhull::qhullcpp" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at src/slic3r/CMakeLists.txt:222 (add_library):
  Target "libslic3r_gui" links to target "Qhull::qhullcpp" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?


CMake Error at tests/libslic3r/CMakeLists.txt:3 (add_executable):
  Target "libslic3r_tests" links to target "Qhull::qhullcpp" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?


CMake Error at tests/slic3rutils/CMakeLists.txt:2 (add_executable):
  Target "slic3rutils_tests" links to target "Qhull::qhullcpp" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?


CMake Error at tests/fff_print/CMakeLists.txt:2 (add_executable):
  Target "fff_print_tests" links to target "Qhull::qhullcpp" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?


CMake Error at tests/sla_print/CMakeLists.txt:2 (add_executable):
  Target "sla_print_tests" links to target "Qhull::qhullcpp" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?

Update: Downgraded qhull to the previous version. Builds fine.

kevorr commented on 2020-09-16 20:25

I had to add this to get it to build:

@@ -49,6 +49,7 @@ build() {

     cd build
     cmake .. -G Ninja \
+        -DBoost_NO_BOOST_CMAKE=ON \
         -DCMAKE_INSTALL_PREFIX=/usr \
         -DCMAKE_INSTALL_LIBDIR=lib \
         -DSLIC3R_FHS=ON \

I'm not entirely sure what this does but I found out about it in this AUR comment