Notifications
Clear all

[Zamknięte] Stable Slic3r builds  

Strona 2 / 6
  RSS
Linux User Group Oberschwaben
(@linux-user-group-oberschwaben)
Estimable Member
Re: Stable Slic3r builds

Since there are not Linux builds from Prusa, I'm using the Slic3r version (1.2.9) that comes packaged in Fedora 24 plus the settings extracted from the OSX build . Other than been slightly outdated, is there any reason why I should switch (building from source) to the Prusa one?

Thanks!

P.S: Extracting the settings from the zip is not that hard but I was wondering if there is a reason (other than the extra work) for no keeping this settings in a Github repo.

Hi Bacterio,

I managed to find the current PR branch of Slic3r ( https://github.com/prusa3d/Slic3r/tree/release_candidate_1_3 ) Thanks to PR Support for the link.

I try do build it on my Debian machine but so far without success 🙁

Slic3r need A LOT of dependencies 🙁

My current error:


manuel@phobos:/mnt/data/Prusa_i3_MK2/Software/Slic3r$ perl Build.PL
App::cpanminus is up to date. (1.7042)
Class::XSAccessor is up to date. (1.19)
Devel::CheckLib is up to date. (1.07)
Encode is up to date. (2.86)
Encode::Locale is up to date. (1.05)
ExtUtils::MakeMaker is up to date. (7.24)
ExtUtils::ParseXS is up to date. (3.30)
File::Basename is up to date. (2.85)
File::Spec is up to date. (3.62)
Getopt::Long is up to date. (2.49)
IO::Scalar is up to date. (2.111)
Math::PlanePath is up to date. (123)
Module::Build::WithXSpp is up to date. (0.14)
Moo is up to date. (2.002004)
skipping R/RJ/RJBS/perl-5.24.0.tar.gz
Scalar::Util is up to date. (1.45)
Test::Harness is up to date. (3.36)
Test::More is up to date. (1.302052)
Thread::Semaphore is up to date. (2.13)
Time::HiRes is up to date. (1.9739)
Unicode::Normalize is up to date. (1.25)
XML::SAX::ExpatXS is up to date. (1.33)
threads is up to date. (2.09)
Cleaning up build files
Cleaning up configuration files
cpanm (App::cpanminus) 1.7042 on perl 5.022002 built for x86_64-linux-gnu-thread-multi
Work directory is /home/manuel/.cpanm/work/1472742571.17488
You have make /usr/bin/make
You have LWP 6.15
You have /bin/tar: tar (GNU tar) 1.29
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later < http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
You have /usr/bin/unzip
--> Working on ./xs
Entering /mnt/data/Prusa_i3_MK2/Software/Slic3r/xs
Checking if you have ExtUtils::Install 1.46 ... Yes (2.04)
Checking if you have Module::Build 0.38 ... Yes (0.4218)
Running Build.PL
Configuring /mnt/data/Prusa_i3_MK2/Software/Slic3r/xs ... Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Slic3r-XS' version '0.01'
OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::ParseXS 3.18 ... Yes (3.30)
Checking if you have ExtUtils::Typemaps::Basic 1.05 ... Yes (1.05)
Checking if you have ExtUtils::Typemaps::Default 1.05 ... Yes (1.05)
Checking if you have ExtUtils::Typemaps 1.00 ... Yes (3.30)
Checking if you have Module::Build 0.3601 ... Yes (0.4218)
Checking if you have Test::More 0 ... Yes (1.302052)
Checking if you have ExtUtils::XSpp 0.18 ... Yes (0.18)
Building and testing Slic3r-XS-0.01 ... Building Slic3r-XS
Processing XS typemap files...
Generating main XS file...
x86_64-linux-gnu-gcc -I/usr/lib/x86_64-linux-gnu/perl/5.22/CORE -fPIC -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xc++ -Isrc/libslic3r -D_GLIBCXX_USE_C99 -DHAS_BOOL -DNOGDI -DSLIC3RXS -DBOOST_ASIO_DISABLE_KQUEUE -DBOOST_LIBS -Isrc -Ibuildtmp -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -o src/libslic3r/Config.o src/libslic3r/Config.cpp
x86_64-linux-gnu-gcc -I/usr/lib/x86_64-linux-gnu/perl/5.22/CORE -fPIC -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xc++ -Isrc/libslic3r -D_GLIBCXX_USE_C99 -DHAS_BOOL -DNOGDI -DSLIC3RXS -DBOOST_ASIO_DISABLE_KQUEUE -DBOOST_LIBS -Isrc -Ibuildtmp -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -o src/libslic3r/PolylineCollection.o src/libslic3r/PolylineCollection.cpp
src/libslic3r/PolylineCollection.cpp: In static member function ‘static Slic3r::Polylines Slic3r::PolylineCollection::chained_path(Slic3r::Polylines&&, bool)’:
src/libslic3r/PolylineCollection.cpp:89:40: error: ‘__gnu_cxx::__alloc_traits<std::allocator<Slic3r::Polyline> >::value_type {aka class Slic3r::Polyline}’ has no member named ‘empty’
return (src.empty() || src.front().empty()) ?
^~~~~
src/libslic3r/PolylineCollection.cpp:91:80: error: call of overloaded ‘chained_path_from(std::remove_reference<std::vector<Slic3r::Polyline>&>::type, Slic3r::Point, bool&)’ is ambiguous
chained_path_from(std::move(src), src.front().first_point(), no_reverse);
^
src/libslic3r/PolylineCollection.cpp:49:11: note: candidate: static Slic3r::Polylines Slic3r::PolylineCollection::chained_path_from(Slic3r::Polylines&&, Slic3r::Point, bool)
Polylines PolylineCollection::chained_path_from(
^~~~~~~~~~~~~~~~~~
In file included from src/libslic3r/PolylineCollection.cpp:1:0:
src/libslic3r/PolylineCollection.hpp:26:19: note: candidate: static Slic3r::Polylines Slic3r::PolylineCollection::chained_path_from(Slic3r::Polylines, Slic3r::Point, bool)
static Polylines chained_path_from(Polylines src, Point start_near, bool no_reverse = false);
^~~~~~~~~~~~~~~~~
src/libslic3r/PolylineCollection.cpp: In static member function ‘static Slic3r::Polylines Slic3r::PolylineCollection::chained_path_from(Slic3r::Polylines, Slic3r::Point, bool)’:
src/libslic3r/PolylineCollection.cpp:95:68: error: call of overloaded ‘chained_path_from(std::remove_reference<std::vector<Slic3r::Polyline>&>::type, Slic3r::Point&, bool&)’ is ambiguous
return chained_path_from(std::move(src), start_near, no_reverse);
^
src/libslic3r/PolylineCollection.cpp:49:11: note: candidate: static Slic3r::Polylines Slic3r::PolylineCollection::chained_path_from(Slic3r::Polylines&&, Slic3r::Point, bool)
Polylines PolylineCollection::chained_path_from(
^~~~~~~~~~~~~~~~~~
src/libslic3r/PolylineCollection.cpp:93:11: note: candidate: static Slic3r::Polylines Slic3r::PolylineCollection::chained_path_from(Slic3r::Polylines, Slic3r::Point, bool)
Polylines PolylineCollection::chained_path_from(Polylines src, Point start_near, bool no_reverse)
^~~~~~~~~~~~~~~~~~
src/libslic3r/PolylineCollection.cpp: In static member function ‘static Slic3r::Polylines Slic3r::PolylineCollection::chained_path(Slic3r::Polylines, bool)’:
src/libslic3r/PolylineCollection.cpp:99:40: error: ‘__gnu_cxx::__alloc_traits<std::allocator<Slic3r::Polyline> >::value_type {aka class Slic3r::Polyline}’ has no member named ‘empty’
return (src.empty() || src.front().empty()) ?
^~~~~
src/libslic3r/PolylineCollection.cpp:101:80: error: call of overloaded ‘chained_path_from(std::remove_reference<std::vector<Slic3r::Polyline>&>::type, Slic3r::Point, bool&)’ is ambiguous
chained_path_from(std::move(src), src.front().first_point(), no_reverse);
^
src/libslic3r/PolylineCollection.cpp:49:11: note: candidate: static Slic3r::Polylines Slic3r::PolylineCollection::chained_path_from(Slic3r::Polylines&&, Slic3r::Point, bool)
Polylines PolylineCollection::chained_path_from(
^~~~~~~~~~~~~~~~~~
src/libslic3r/PolylineCollection.cpp:93:11: note: candidate: static Slic3r::Polylines Slic3r::PolylineCollection::chained_path_from(Slic3r::Polylines, Slic3r::Point, bool)
Polylines PolylineCollection::chained_path_from(Polylines src, Point start_near, bool no_reverse)
^~~~~~~~~~~~~~~~~~
error building src/libslic3r/PolylineCollection.o from 'src/libslic3r/PolylineCollection.cpp' at /usr/share/perl/5.22/ExtUtils/CBuilder/Base.pm line 173.
FAIL
! Installing ./xs failed. See /home/manuel/.cpanm/work/1472742571.17488/build.log for details. Retry with --force to force install it.
The XS/C++ code failed to compile, aborting

Any Ideas ?

Opublikowany : 01/09/2016 6:32 pm
bacterio
(@bacterio)
Active Member
Re: Stable Slic3r builds


Any Ideas ?

Uhm... not really. I move to Red Hat/Fedora long time ago.

Did you follow these steps to build Slic3r?

https://github.com/alexrj/Slic3r/wiki/Running-Slic3r-from-git-on-GNU-Linux

If I have time this weekend I'll try to compile my self, if I do it I'll let you know how it goes.

Opublikowany : 01/09/2016 6:40 pm
Linux User Group Oberschwaben
(@linux-user-group-oberschwaben)
Estimable Member
Re: Stable Slic3r builds

Hi bacterio,

In my search for a distro that can handle the new perl without breaking anything (so far...) i arrived at arch linux 🙂

I was able to build the new slic3r fork from PR, even with gui 🙂

I also managed to hack together a own PKGBUILD file (shameless copy of slic3r-git -> all credit goes to swiftgeek )

To get a gui dont forget to yaourt perl-opengl perl-wx and perl-wx-glcanvas.

Happy slicing!

Opublikowany : 03/09/2016 10:50 pm
bacterio
(@bacterio)
Active Member
Re: Stable Slic3r builds

Hooray!

Sadly I'm stuck with RH/CentOS/Fedora flavours for other reasons, so no Arch for me. If I manage to build the PR version on Fedora I'll report back.

Opublikowany : 04/09/2016 7:26 am
bacterio
(@bacterio)
Active Member
Re: Stable Slic3r builds

Well, I dit. Much faster and easier than I was expecting. This is what I did:

Building PR's Slic3r (rc 1.3) - Fedora 24

1.- Install dependencies (perl-Math-Clipper will fail but as far as I know it's not needed anymore.)
install curl gcc-c++ perl-Wx \
perl-Module-Build perl-App-cpanminus perl-Moo \
perl-Math-PlanePath perl-Boost-Geometry-Utils \
perl-Math-ConvexHull perl-Math-Geometry-Voronoi perl-parent \
perl-Growl-GNTP perl-Class-XSAccessor perl-XML-SAX-ExpatXS \
perl-Math-ConvexHull-MonotoneChain perl-ExtUtils-XSpp \
perl-ExtUtils-CppGuess perl-ExtUtils-Typemaps-Default \
perl-Capture-Tiny perl-Test-Base perl-Test-Differences \
perl-Text-Diff perl-Module-Build-WithXSpp

curl -L http://cpanmin.us | sudo perl - --sudo App::cpanminus
Install also: (if you still have installed the slic3r rpm from the Fedora repos you won't need this step).

dnf install perl-Devel-GlobalDestruction \
perl-Math-Libm \
perl-constant-defer \
perl-OpenGL \
perl-Wx \
perl-Wx-GLCanvas

2.- Install Boost libs (check this issue for more info).
dnf install boost-devel
3.- Clone the RC branch from the Prusa Research repo

git clone -b release_candidate_1_3 --single-branch https://github.com/prusa3d/Slic3r.git

4.- Build Slic3r following this (don't forget to create the executable).
5.- Enjoy!

My Fedora 24 install is really messy (tons of rpms installed from a plethora of repos/branches), if somebody try these steps and found that other dependencies/steps are needed please comment here so we can improve the guide.

To the mods: Doesn't seems to be a lot of LInux users here. Maybe we should move these posts to a new Linux specific thread, What do you think?

Opublikowany : 04/09/2016 8:37 am
Linux User Group Oberschwaben
(@linux-user-group-oberschwaben)
Estimable Member
Re: Stable Slic3r builds

Hi bacerio,

Wow that is great! with the install of cpan i always killed my system so far. So good job on not doing that 🙂

I talked to the support chat and mentioned if they would put p a link to the linux pakbuild on the drivers site but a linux specific thread sounds awesome too!

Opublikowany : 04/09/2016 4:04 pm
Vojtěch Bubník
(@vojtech-bubnik)
Member Admin
Re: Stable Slic3r builds

Actually we provide a Slic3r build for 64bit linux, built on some Ubuntu linux I think.

https://github.com/prusa3d/Slic3r/releases

The problem with Linux is, the "DLL hell" for binary distributions is even worse than with Windows.

Please let me know whether this binary distribution of Slic3r works and / or which library needs to be fixed.

Thanks, Vojtech

Opublikowany : 04/09/2016 5:55 pm
Vojtěch Bubník
(@vojtech-bubnik)
Member Admin
Re: Stable Slic3r builds

If you want to build Slic3r on Linux from sources and you are afraid of breaking your system wide perl installation, you may try
https://perlbrew.pl/

We are using perlbrew for our MacOS builds.

Vojtech

Opublikowany : 04/09/2016 5:58 pm
bacterio
(@bacterio)
Active Member
Re: Stable Slic3r builds

Actually we provide a Slic3r build for 64bit linux, built on some Ubuntu linux I think.

https://github.com/prusa3d/Slic3r/releases

The problem with Linux is, the "DLL hell" for binary distributions is even worse than with Windows.

Please let me know whether this binary distribution of Slic3r works and / or which library needs to be fixed.

Nice. Looks like I need to pay more attention to the GitHub repo. 😉

Altought my current setup works fine, I was planning to run a clean linux installation on a virtual machine so I can write a proper guide to install PR's Slic3r from sources on Fedora. I'll do the same thing to test this build and let you know how it goes.

DLL/Distro Hell, yeah I know, I know. Look a this thread: two Linux users and three different Linux flavours. 😀

When I was installing all the deps I was thinking: 'I would love to know if there is something like Python's virtualenvs for Perl', now I know. Thanks for the Perlbrew tip.

Opublikowany : 04/09/2016 6:39 pm
CoyDK
(@coydk)
Eminent Member
Re: Stable Slic3r builds

This might be a bit foolish but how do I install the software? Whats the difference between the 4 & 5 file for windows?
When I run "wperl.exe" nothing happens and "perl5.22.1.exe" just opens a blank CMD

Opublikowany : 15/09/2016 5:59 pm
Linux User Group Oberschwaben
(@linux-user-group-oberschwaben)
Estimable Member
Re: Stable Slic3r builds

Actually we provide a Slic3r build for 64bit linux, built on some Ubuntu linux I think.

https://github.com/prusa3d/Slic3r/releases

The problem with Linux is, the "DLL hell" for binary distributions is even worse than with Windows.

Please let me know whether this binary distribution of Slic3r works and / or which library needs to be fixed.

Thanks, Vojtech

Hi vojtech,

Nice to see some linux support!

With the new libboost(-dev) library the PR fork (release_candiate_13) does not compile anymore! 🙁


[manuel@phobos test]$ makepkg -s
==> Making package: slic3r-git 1.3.0_dev.9fcc8fe-1 (Fri Sep 16 12:48:11 CEST 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating Slic3r git repo...
Fetching origin
remote: Counting objects: 18, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 18 (delta 13), reused 18 (delta 13), pack-reused 0
Unpacking objects: 100% (18/18), done.
From https://github.com/prusa3d/Slic3r
2a5095a..6e97b9b master -> master
-> Found slic3r.desktop
-> Found slic3r.pl
==> Validating source files with md5sums...
Slic3r ... Skipped
slic3r.desktop ... Passed
slic3r.pl ... Passed
==> Extracting sources...
-> Creating working copy of Slic3r git repo...
remote: Counting objects: 18, done.
remote: Compressing objects: 100% (18/18), done.
remote: Total 18 (delta 13), reused 0 (delta 0)
Unpacking objects: 100% (18/18), done.
From /mnt/data/Prusa_i3_MK2/Software/PR_Slic3r/test/Slic3r
2a5095a..6e97b9b master -> origin/master
Switched to a new branch 'makepkg'
==> Starting prepare()...
-> Checking prerequisites
12:48:13 PM: Warning: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1010,wx containers,compatible with 2.8).

(Build.PL:5672): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",

(Build.PL:5672): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
Missing optional LWP::UserAgent 0
Missing optional Net::Bonjour 0
==> Starting pkgver()...
Press [i] to start interactive config in 1 second(s) or any key to skip. Default _gitfragment=release_candidate_1_3
Switched to branch 'release_candidate_1_3'
Your branch is up-to-date with 'origin/release_candidate_1_3'.
==> Removing existing $pkgdir/ directory...
==> Starting build()...
==> WARNING: ⚠ DO NOT respond to any question with 'yes'. Report a bug in comment instead.

-> Building Slic3r::XS (1/3)
Global symbol "@boost_libs" requires explicit package name (did you forget to declare "my @boost_libs"?) at Build.PL line 46.
Execution of Build.PL aborted due to compilation errors.
==> ERROR: A failure occurred in build().
Aborting...

It would be good if you could ship your linux version with static libs, this way you would avoid the "dll hell" (which does not exist in my opion but thats for another post...). Just ship with static libs like steam (and simplify 3D 🙂 does and steam runs on any Linux i come across 🙂

It would be also nice to see a gui in the Linux release, so far its only working if the libs are present in the version it was compiled for.
As said static libs would make that issue diaspear 🙂

Thanks for looking into it!

PS: Do you plan to patch your improvemnts to slice3r upwards to the main rep ?

Opublikowany : 16/09/2016 12:51 pm
Vojtěch Bubník
(@vojtech-bubnik)
Member Admin
Re: Stable Slic3r builds

> It would be good if you could ship your linux version with static libs, this way you would avoid the "dll hell" (which does not exist in my opion but thats for another post...). Just ship with static libs like steam (and simplify 3D 🙂 does and steam runs on any Linux i come across 🙂

Slic3r is written in Perl and C++. It is extremely complicated to compile the Perl plugin stuff statically.

> PS: Do you plan to patch your improvemnts to slice3r upwards to the main rep ?

Alessandro Ranelucci seems to have a very little time to spend on Slic3r development and maintanance. I keep the gate-keeper of the main Slic3r repository informed about my developments, but the main Slic3r repository is closed for me.

Vojtech

Opublikowany : 23/09/2016 4:27 pm
Vojtěch Bubník
(@vojtech-bubnik)
Member Admin
Re: Stable Slic3r builds

> This might be a bit foolish but how do I install the software? Whats the difference between the 4 & 5 file for windows?
> When I run "wperl.exe" nothing happens and "perl5.22.1.exe" just opens a blank CMD

Run the slic3r.bat or run perl.5.22.1.exe with the parameter slic3r.pl

Vojtech

Opublikowany : 23/09/2016 4:28 pm
WildBill
(@wildbill)
Active Member
Re: Stable Slic3r builds

I've downloaded the Slic3r from the Prusa website, setup for the Mk2 printer.

I'm not seeing anything in the configuration regarding z-lift during traverse.

I have not downloaded the latest stable release from the Slic3r website, so I don't have any comparison to know whether it's on their release.

Can anyone advise how to configure Slic3r to not drag the nozzle across printed layers?

Opublikowany : 13/10/2016 2:44 am
PJR
 PJR
(@pjr)
Antient Member Moderator
Re: Stable Slic3r builds

There are a couple of printer profiles; one for colourprint and one for Z-Hop. Use the latter.

Peter

Please note: I do not have any affiliation with Prusa Research. Any advices given are offered in good faith. It is your responsibility to ensure that by following my advice you do not suffer or cause injury, damage…

Opublikowany : 13/10/2016 9:53 am
christophe.p
(@christophe-p)
Member Moderator
Re: Stable Slic3r builds

Mmmmmh, Josef, what is that ?

Your teasing is so cruel, I want it now !!!! :p :p

I'm like Jon Snow, I know nothing.

Opublikowany : 22/10/2016 7:16 pm
Vojtěch Bubník
(@vojtech-bubnik)
Member Admin
Re: Stable Slic3r builds

We are an open source company. It is all in the open 🙂
https://github.com/prusa3d/Slic3r

We are currently doing internal beta testing. Hope to release the binearies soon. Stay tuned.

Vojtech

Opublikowany : 22/10/2016 9:29 pm
christophe.p
(@christophe-p)
Member Moderator
Re: Stable Slic3r builds

I tried to build it from Github, but even if the files are properly compiled, I'm still missing something to be able to launch it. Will retry after cleaning the strawberry / boost component.

I like what I see in the commit comments, I want to try it 🙂

By the way, you still have the first layer defined as 0.20 for the 0.5 mm profile (and only this one).

I'm like Jon Snow, I know nothing.

Opublikowany : 25/10/2016 3:40 pm
Vojtěch Bubník
(@vojtech-bubnik)
Member Admin
Re: Stable Slic3r builds

What error message are you getting from Slic3r on Strawberry?

Opublikowany : 26/10/2016 9:06 am
christophe.p
(@christophe-p)
Member Moderator
Re: Stable Slic3r builds

It was a complain about xs.pm not found.

I cleaned up everything and starting over putting strawberry and boost in the C: drive, just to be as close as possible as the build guide from the /doc file. It's compiling right now, wait and see.

I'm like Jon Snow, I know nothing.

Opublikowany : 26/10/2016 10:32 pm
Strona 2 / 6
Share: