You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suggest adding: sudo apt-get update into the script.
As well, some of the references don't seem to exist anymore (g++-4.7 and libwxgtk2.8-dev at least, but there might be more that I missed).
I tried finding how to fix this, but could not find the correct resources to do so. I worked around the issue by using your newer recommendation from the Github wiki, but it still failed to run correctly.
version 1.1.7 warns Running Slic3r under Perl >= 5.16 is not supported nor recommended
Install says it succeeded, but it doesn't work in Octoprint.
version 1.2.9 throws a bunch of errors.
Error when running in Octoprint: Slicing failed Could not slice 3D_Printer/3DBenchy.stl to 3D_Printer/3DBenchy.gco: Got returncode 255: BEGIN failed--compilation aborted at /home/pi/Slic3r/slic3r.pl line 15.
Error when running directly slic3r.pl in ssh: Bareword "X" not allowed while "strict subs" in use at /home/pi/Slic3r/lib/Slic3r/Geometry.pm line 53. Bareword "X" not allowed while "strict subs" in use at /home/pi/Slic3r/lib/Slic3r/Geometry.pm line 53. Bareword "Y" not allowed while "strict subs" in use at /home/pi/Slic3r/lib/Slic3r/Geometry.pm line 54. Bareword "Y" not allowed while "strict subs" in use at /home/pi/Slic3r/lib/Slic3r/Geometry.pm line 54. Bareword "X" not allowed while "strict subs" in use at /home/pi/Slic3r/lib/Slic3r/Geometry.pm line 54. Bareword "X" not allowed while "strict subs" in use at /home/pi/Slic3r/lib/Slic3r/Geometry.pm line 54. BEGIN not safe after errors--compilation aborted at /home/pi/Slic3r/lib/Slic3r/Geometry.pm line 513. Compilation failed in require at /home/pi/Slic3r/lib/Slic3r/ExPolygon.pm line 8. BEGIN failed--compilation aborted at /home/pi/Slic3r/lib/Slic3r/ExPolygon.pm line 8. Compilation failed in require at /home/pi/Slic3r/lib/Slic3r.pm line 39. BEGIN failed--compilation aborted at /home/pi/Slic3r/lib/Slic3r.pm line 39. Compilation failed in require at ./slic3r.pl line 15. BEGIN failed--compilation aborted at ./slic3r.pl line 15.
The text was updated successfully, but these errors were encountered:
I know that for PrusaSlicer there are AppImage files which you can just download and run, no compilation necessary. So if you're willing to use PrusaSlicer, do that. The instructions are in the README.
If you really want slic3r, also check the wiki. I think that the instructions are more up-to-date.
I just installed slic3r from apt on my pi 2b after failing to build and failing to run the PrusaSlicer appimage. It is the only method that has worked for me, and the easiest. I added a note at the top of the wiki page so that others hopefully won't need to go down this rabbit hole like I did.
pi@octopi:~$ apt search slic3r
[...]
slic3r/stable,now 1.3.0+dfsg1-3 armhf [installed]
G-code generator for 3D printers
slic3r-prusa/stable 1.39.2+dfsg-1+b2 armhf
G-code generator for 3D printers
The provided instructions on the octoprint site (https://plugins.octoprint.org/plugins/slic3r/) don't seem to work on a new install of the latest Octopi image.
I suggest adding:
sudo apt-get update
into the script.As well, some of the references don't seem to exist anymore (g++-4.7 and libwxgtk2.8-dev at least, but there might be more that I missed).
I tried finding how to fix this, but could not find the correct resources to do so. I worked around the issue by using your newer recommendation from the Github wiki, but it still failed to run correctly.
version 1.1.7 warns Running Slic3r under Perl >= 5.16 is not supported nor recommended
Install says it succeeded, but it doesn't work in Octoprint.
version 1.2.9 throws a bunch of errors.
Error when running in Octoprint:
Slicing failed Could not slice 3D_Printer/3DBenchy.stl to 3D_Printer/3DBenchy.gco: Got returncode 255: BEGIN failed--compilation aborted at /home/pi/Slic3r/slic3r.pl line 15.
Error when running directly slic3r.pl in ssh:
Bareword "X" not allowed while "strict subs" in use at /home/pi/Slic3r/lib/Slic3r/Geometry.pm line 53. Bareword "X" not allowed while "strict subs" in use at /home/pi/Slic3r/lib/Slic3r/Geometry.pm line 53. Bareword "Y" not allowed while "strict subs" in use at /home/pi/Slic3r/lib/Slic3r/Geometry.pm line 54. Bareword "Y" not allowed while "strict subs" in use at /home/pi/Slic3r/lib/Slic3r/Geometry.pm line 54. Bareword "X" not allowed while "strict subs" in use at /home/pi/Slic3r/lib/Slic3r/Geometry.pm line 54. Bareword "X" not allowed while "strict subs" in use at /home/pi/Slic3r/lib/Slic3r/Geometry.pm line 54. BEGIN not safe after errors--compilation aborted at /home/pi/Slic3r/lib/Slic3r/Geometry.pm line 513. Compilation failed in require at /home/pi/Slic3r/lib/Slic3r/ExPolygon.pm line 8. BEGIN failed--compilation aborted at /home/pi/Slic3r/lib/Slic3r/ExPolygon.pm line 8. Compilation failed in require at /home/pi/Slic3r/lib/Slic3r.pm line 39. BEGIN failed--compilation aborted at /home/pi/Slic3r/lib/Slic3r.pm line 39. Compilation failed in require at ./slic3r.pl line 15. BEGIN failed--compilation aborted at ./slic3r.pl line 15.
The text was updated successfully, but these errors were encountered: