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.001722
First Submitted: 2019-07-08 08:14 (UTC)
Last Updated: 2024-04-11 14:51 (UTC)

Dependencies (8)

Required by (0)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 15 Next › Last »

MonoAnji commented on 2022-07-24 09:45 (UTC) (edited on 2022-07-24 12:00 (UTC) by MonoAnji)

Easier workaround would be

sudo ln -s /usr/lib/wx/config/gtk3-unicode-3.2 /usr/bin/wx-config-gtk3

and then install.

Edit: Wait, prusa-slicer doesn't work with wxWidgets 3.2...

sippiecup commented on 2022-07-23 23:42 (UTC)

@DCengineer

Did you get it working? mind sharing a patch or PKG build that works? I can't seem to implement it correctly.

DCengineer commented on 2022-07-22 15:13 (UTC)

Looks like the "fix" for now is to use a statically-linked wxWidgets. https://github.com/archlinux/svntogit-community/commit/143531d44a95acb3e84a64d5ab6f2e23ac8216a1

DCengineer commented on 2022-07-15 14:10 (UTC) (edited on 2022-07-16 06:57 (UTC) by DCengineer)

Looks like the latest wxWidgets update broke the build:

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES
  wxWidgets_INCLUDE_DIRS) (Required is at least version "3.0")
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindwxWidgets.cmake:984 (find_package_handle_standard_args)
  src/CMakeLists.txt:52 (find_package)

The following patch fixes it:

+++ PKGBUILD    2022-07-15 13:48:12.138836151 -0700
@@ -27,7 +27,7 @@
     'nlopt'
     'openvdb'
     'qhull'
-    'wxgtk3'
+    'wxwidgets-gtk3'
 )

 source=(
@@ -62,7 +62,6 @@
         -DSLIC3R_WX_STABLE=ON \
         -DSLIC3R_GTK=3 \
         -DSLIC3R_STATIC=OFF \
-        -DwxWidgets_CONFIG_EXECUTABLE=$(which wx-config-gtk3) \
         -DOPENVDB_FIND_MODULE_PATH=/usr/lib/cmake/OpenVDB

     ninja -C build

See PKGBUILD changes for official prusa-slicer package: https://github.com/archlinux/svntogit-community/commit/dc343482b2821b8d2791366c966b5246c407bac5 and https://github.com/archlinux/svntogit-community/commit/dc343482b2821b8d2791366c966b5246c407bac5

UPDATE: segfaults on launch with PKGBUILD changes applied. Seems to be affected by https://bugs.archlinux.org/task/75332.

ArchBoxHero commented on 2022-05-18 19:55 (UTC) (edited on 2022-05-25 17:58 (UTC) by ArchBoxHero)

**Ok... ok.. I tried building it today and vwalah... it builds. not sure W.W.H.W.W. but it works. Hmmm. ok so ignore the rest of the message I have here. May as well keep it here.

Hey anyone else having issues building this? I I'm getting these errors:

-- EXPAT found in /usr/lib64/cmake/expat-2.4.8
CMake Error at CMakeLists.txt:466 (add_library):
  add_library cannot create target "libexpat" because another target with the
  same name already exists.  The existing target is an interface library
  created in source directory
  "/home/arcrog/AUR/3d-printing/prusa-git-new/prusa-slicer-git/src/PrusaSlicer".
  See documentation for policy CMP0002 for more details.

And this:

-- IGL found, using system version...
CMake Warning at /usr/lib64/cmake/CGAL/CGALConfig.cmake:92 (message):
  CGAL_DATA_DIR cannot be deduced, set the variable CGAL_DATA_DIR to set the
  default value of CGAL::data_file_path()
Call Stack (most recent call first):
  src/libslic3r/CMakeLists.txt:329 (find_package)


-- Using header-only CGAL
 

I've tried cloning a fresh build and still not building

I've tried rolling back cgal as seeing that warning there and even rolling back that expat and lib32-expat but no dice. *the cgal warning goes away but still stuck with the expat error.

Last thing here -I have the previous build of this app installed and running. I just can't get this to build again. Hope the information helps someone somewhere someday.

0x4242 commented on 2022-05-08 08:41 (UTC) (edited on 2022-05-08 08:41 (UTC) by 0x4242)

Ran into an issue after upgrading cgal to the latest version (5.4-1), I get error while loading shared libraries: libCGAL.so.13: cannot open shared object file: No such file or directory. Rolling back to cgal to 4.14.3-3 is fixing it just in case somebody else runs into the problem.

neo2001 commented on 2022-03-29 08:07 (UTC)

Same issue for a few days. I've opened an issue on Github yesterday: https://github.com/prusa3d/PrusaSlicer/issues/8126

Salamandar commented on 2022-03-29 07:28 (UTC)

@ArchBoxHero can reproduce. That's probably an issue upstream. It looks like they don't have at heart an all-time working master branch.

ArchBoxHero commented on 2022-03-28 13:00 (UTC) (edited on 2022-03-28 13:01 (UTC) by ArchBoxHero)

I get this to build but I cannot run it. I use I3WM.

(base)  user@homebox  ~/AUR/3d-printing/prusa-slicer-git   master ±  prusa-slicer


[2022-03-28 07:59:11.169264] [0x00007f09322717c0] [trace]   Initializing StaticPrintConfigs

(process:1337337): Gtk-CRITICAL **: 07:59:11.176: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(process:1337337): Gtk-CRITICAL **: 07:59:11.177: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(process:1337337): Gtk-CRITICAL **: 07:59:11.177: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed
[1]    1337337 segmentation fault (core dumped)  prusa-slicer
(base)  ✘ user@homebox  ~/AUR/3d-printing/prusa-slicer-git   master ± 

ArchBoxHero commented on 2022-02-27 16:29 (UTC) (edited on 2022-02-27 16:33 (UTC) by ArchBoxHero)

Hey @Salamander Thanks for the push. Back to building fine. Also -I'm not sure if anyone has had any issues using both AMD/Radeon with <Nvidia cards using the prusa-slicer in general. See below for my setup. I swapped out the Nvidia card for another AMD/Radeon card and since then I have had no issues with slicing. I didn't have any special tweaks. I was using the AMD as my main display. Nvidia was just being used for gaming/rendering/etc. There are probably better ways to adjust the settings and libs used to have them play nicer together. Either way -the build works.