Package Details: prusa-slicer-git 2.7.4-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 (Prusa fork of Slic3r) (git version)
Upstream URL: https://github.com/prusa3d/PrusaSlicer
Licenses: AGPL3
Conflicts: prusa-slicer
Submitter: Salamandar
Maintainer: Salamandar
Last Packager: Salamandar
Votes: 14
Popularity: 0.001405
First Submitted: 2019-07-08 08:14 (UTC)
Last Updated: 2024-04-11 14:51 (UTC)

Latest Comments

« First ‹ Previous 1 .. 6 7 8 9 10 11 12 13 14 15 Next › Last »

aaarne commented on 2021-01-07 16:12 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC) (edited on 2020-09-23 16:31 (UTC) by noradtux)

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 (UTC) (edited on 2020-09-20 13:33 (UTC) by presidentwolf)

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 (UTC)

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

Salamandar commented on 2020-09-14 09:10 (UTC)

@mikelkook thanks for the PR upstream.

The flag has been fixed. Sorry, my workstation is on ubuntu now so the updates may be a bit slow to come. I need to setup a small Archlinux container for that.

mikelkook commented on 2020-09-14 08:46 (UTC)

Pull request #4738 just got merged. All that's left is to update the build flag in the PKGBUILD.

mrsinham commented on 2020-09-12 22:18 (UTC) (edited on 2020-09-12 22:23 (UTC) by mrsinham)

this works, sorry mikelkook I was tired and inverted the flags by setting DSLIC3R_STATIC at ON, not DSLIC3R_PCH.

I confirm that the branch of mikelkook with DSLIC3R_PCH=ON works for me. Can we update the AUR?

Thanks mikelkook!