Welcome! Log In Create A New Profile

Advanced

Slic3r dev and perl Build

Posted by spaceman 
Slic3r dev and perl Build
April 26, 2013 07:55PM
Whenever I try to >perl Build.pl the dev from github I get more errors than I used to. Is there anyone who can confirm this? Or what have I not updated that needs to be?

Slic3r still assembles and then runs, but I'm just not sure it is properly done.
Re: Slic3r dev and perl Build
May 05, 2013 07:43AM
....bump

Edited 1 time(s). Last edit at 05/05/2013 07:44AM by spaceman.
Re: Slic3r dev and perl Build
May 20, 2013 09:13PM
I've tried many iteratoins without success so I thought I'd post my results here. I've asked on #reprap but I still couldn't get the dev to build. If anyone has any ideas, I'd appreciate it. We are dead in the water until I can get slic3r dev back up and running.

C:\strawberry>cpanm Moo Math::Clipper Math::Geometry::Voronoi Boost::Geometry::Utils Class:angry smileySAccessor Math::ConvexHull::MonotoneC
hain Math:tongue sticking out smileylanePath
--> Working on Moo
Fetching [www.cpan.org] ... OK
Configuring Moo-1.002000 ... OK
==> Found dependencies: Devel::GlobalDestruction
--> Working on Devel::GlobalDestruction
Fetching [www.cpan.org] ... OK
Configuring Devel-GlobalDestruction-0.11 ... OK
Building and testing Devel-GlobalDestruction-0.11 ... OK
Successfully installed Devel-GlobalDestruction-0.11 (upgraded from 0.09)
Building and testing Moo-1.002000 ... OK
Successfully installed Moo-1.002000 (upgraded from 1.000008)
--> Working on Math::Clipper
Fetching [www.cpan.org] ... OK
==> Found dependencies: Module::Build::WithXSpp, ExtUtils::CppGuess
--> Working on Module::Build::WithXSpp
Fetching [www.cpan.org] ... OK
Configuring Module-Build-WithXSpp-0.13 ... OK
==> Found dependencies: ExtUtils:angry smileySpp, ExtUtils::CppGuess
--> Working on ExtUtils:angry smileySpp
Fetching [www.cpan.org] ... OK
Configuring ExtUtils-XSpp-0.1700 ... OK
==> Found dependencies: Test::Base
--> Working on Test::Base
Fetching [www.cpan.org] ... OK
Configuring Test-Base-0.60 ... OK
==> Found dependencies: Spiffy
--> Working on Spiffy
Fetching [www.cpan.org] ... OK
Configuring Spiffy-0.31 ... OK
Building and testing Spiffy-0.31 ... OK
Successfully installed Spiffy-0.31
Building and testing Test-Base-0.60 ... OK
Successfully installed Test-Base-0.60
Building and testing ExtUtils-XSpp-0.1700 ... OK
Successfully installed ExtUtils-XSpp-0.1700
--> Working on ExtUtils::CppGuess
Fetching [www.cpan.org] ... OK
Configuring ExtUtils-CppGuess-0.07 ... OK
Building and testing ExtUtils-CppGuess-0.07 ... OK
Successfully installed ExtUtils-CppGuess-0.07
Building and testing Module-Build-WithXSpp-0.13 ... OK
Successfully installed Module-Build-WithXSpp-0.13
Configuring Math-Clipper-1.22 ... OK
==> Found dependencies: ExtUtils::Typemaps:grinning smileyefault
--> Working on ExtUtils::Typemaps:grinning smileyefault
Fetching [www.cpan.org] ... OK
Configuring ExtUtils-Typemaps-Default-1.03 ... OK
==> Found dependencies: ExtUtils::Typemaps
Found ExtUtils::Typemaps 3.18 which doesn't satisfy 3.18_03.
! Installing the dependencies failed: Installed version (3.18) of ExtUtils::Typemaps is not in range '3.18_03'
! Bailing out the installation for ExtUtils-Typemaps-Default-1.03. Retry with --prompt or --force.
! Installing the dependencies failed: Module 'ExtUtils::Typemaps:grinning smileyefault' is not installed
! Bailing out the installation for Math-Clipper-1.22. Retry with --prompt or --force.
--> Working on Math::Geometry::Voronoi
Fetching [www.cpan.org] ... OK
Configuring Math-Geometry-Voronoi-1.3 ... OK
Building and testing Math-Geometry-Voronoi-1.3 ... OK
Successfully installed Math-Geometry-Voronoi-1.3
--> Working on Boost::Geometry::Utils
Fetching [www.cpan.org] ... OK
Configuring Boost-Geometry-Utils-0.12 ... OK
==> Found dependencies: ExtUtils::Typemaps:grinning smileyefault
! Installing the dependencies failed: Module 'ExtUtils::Typemaps:grinning smileyefault' is not installed
! Bailing out the installation for Boost-Geometry-Utils-0.12. Retry with --prompt or --force.
--> Working on Class:angry smileySAccessor
Fetching [www.cpan.org] ... OK
Configuring Class-XSAccessor-1.16 ... OK
Building and testing Class-XSAccessor-1.16 ... OK
Successfully installed Class-XSAccessor-1.16
--> Working on Math::ConvexHull::MonotoneChain
Fetching [www.cpan.org] ... OK
Configuring Math-ConvexHull-MonotoneChain-0.01 ... OK
Building and testing Math-ConvexHull-MonotoneChain-0.01 ... OK
Successfully installed Math-ConvexHull-MonotoneChain-0.01
--> Working on Math:tongue sticking out smileylanePath
Fetching [www.cpan.org] ... OK
Configuring Math-PlanePath-103 ... OK
==> Found dependencies: constant::defer
--> Working on constant::defer
Fetching [www.cpan.org] ... OK
Configuring constant-defer-5 ... OK
Building and testing constant-defer-5 ... OK
Successfully installed constant-defer-5
Building and testing Math-PlanePath-103 ... OK
Successfully installed Math-PlanePath-103
12 distributions installed

From what I can see, the problem is after if fetches the ExtUtils. The Typemaps is 3.18 and the install requires 3.18_03 so it bails on the install. Then the Boost::Geometry:Utils tries to install and the it needs the ExtUtils so it bails as well. What I can't figure out is how to fix this.

If Anyone has any suggestions, I'd appreciate it.
Re: Slic3r dev and perl Build
May 21, 2013 12:25AM
I had the same problem.

Fixed it by going to http://search.cpan.org/~smueller/ExtUtils-ParseXS/ and downloading the latest version of ExtUtils-ParseXS-3.18 (which is 3.18_03).

I then used the cpanm command with the pathname to the file I downloaded to install it into Perl .e.g cpanm c:\ExtUtils-ParseXS-3.18_03.tar.gz

It then installs the latest, required version.
Re: Slic3r dev and perl Build
May 28, 2013 07:31PM
I tried your suggestion Dean and that installed. Then I got new errors and got frustrated again. Instead of chasing down all these frustrations, I installed Strawberry Perl in a single shot and everything works great now. I even dare to say that my prints look better than ever, if these are even related.

Space.... out
Re: Slic3r dev and perl Build
June 03, 2013 03:20PM
Hi
How do I manage that my installed slic3r installation will use strawberry pearl also installed on my win 7 computer ?Do i just have to delete some dlls in the slic3r installation so it will find equivalents in the strawberry installation? Sorry but I am not a pearl programmer ...
Hanspeter


My Environment:
Host for both 3D-Printers: Repetier Host: 0.90C, slic3r 0.9.10b prebuilt, win7 home premium 64bit
-Dual Extruder bowden printer: Repetier Firmware: 0.83, Arduino 1.05, Board: Azteeg X3, UBIS Hotends 0.35, Viki,
-Single Extrusion printer: Marlin V1, Arduino 1.05, PrintrBoard, UBIS Hotend 0.35

Hanspeter, www.funlab.ch
Re: Slic3r dev and perl Build
June 05, 2013 02:34PM
@HanspeterH: are you using the slic3r from Precompiled Slic3r? or are you getting it from Github?
Re: Slic3r dev and perl Build
June 06, 2013 02:08AM
@spaceman: I use the precompiled version under 32bit and 64bit win7 home premium


My Environment:
Host for both 3D-Printers: Repetier Host: 0.90C, slic3r 0.9.10b prebuilt, win7 home premium 64bit
-Dual Extruder bowden printer: Repetier Firmware: 0.83, Arduino 1.05, Board: Azteeg X3, UBIS Hotends 0.35, Viki,
-Single Extrusion printer: Marlin V1, Arduino 1.05, PrintrBoard, UBIS Hotend 0.35

Hanspeter, www.funlab.ch
Re: Slic3r dev and perl Build
June 06, 2013 05:55PM
If you are using the precompiled version then you don't need to worry about perl at all.
Re: Slic3r dev and perl Build
June 06, 2013 08:41PM
spaceman Wrote:
-------------------------------------------------------
> If you are using the precompiled version then you
> don't need to worry about perl at all.

Not true, I do have to worry about Perl because slic3r 0.9.9 is crashing on whatever object I want to slice with an error message pointing to the Perl interpreter (see attached file).

And because you wrote in your earlier Post

... Instead of chasing down all these frustrations, I installed Strawberry Perl in a single shot and everything works great now

I thought I might do the same as you did... use strawberry perl hoping that this would solve the problems...


My Environment:
Host for both 3D-Printers: Repetier Host: 0.90C, slic3r 0.9.10b prebuilt, win7 home premium 64bit
-Dual Extruder bowden printer: Repetier Firmware: 0.83, Arduino 1.05, Board: Azteeg X3, UBIS Hotends 0.35, Viki,
-Single Extrusion printer: Marlin V1, Arduino 1.05, PrintrBoard, UBIS Hotend 0.35

Hanspeter, www.funlab.ch
Attachments:
open | download - perlError.JPG (22.2 KB)
Re: Slic3r dev and perl Build
June 07, 2013 08:19PM
The reason I am using Strawberry perl is because I am using the non-compiled developement version from Github.
Re: Slic3r dev and perl Build
June 06, 2016 01:26PM
Hi

I am trying to open an .exe file from the slic3r`s option "post script process". i don`t know to program on pearl, so i make an c++ program which change parameters of this gcode. I would like to open this program, when slic3r finishes the exportation of the gcode. can i open this .exe file directly? there is no much info about this on internet....

i need to install pearl on my pc? i am trying this but doesnt work

import subprocess
subprocess.call[("directory.......myprogram.exe")]

thank you and sorry for my english!...
Re: Slic3r dev and perl Build
June 07, 2016 08:16PM
Check this: [www.prusa3d.com]

Those builds are made from the dev version of Alex smiling smiley
Re: Slic3r dev and perl Build
June 08, 2016 06:58AM
Quote
touchy88
Hi

I am trying to open an .exe file from the slic3r`s option "post script process". i don`t know to program on pearl, so i make an c++ program which change parameters of this gcode. I would like to open this program, when slic3r finishes the exportation of the gcode. can i open this .exe file directly? there is no much info about this on internet....

i need to install pearl on my pc? i am trying this but doesnt work

import subprocess
subprocess.call[("directory.......myprogram.exe")]

thank you and sorry for my english!...
It should be possible to use any language you want for the post processing script.
Check the arguments given to your program, you should have the path to the file there, which you can then process.

Edited 1 time(s). Last edit at 06/08/2016 06:59AM by Mikk36.
Re: Slic3r dev and perl Build
June 08, 2016 08:40AM
I have no personal experience, but I have read in other posts that people who have had problems getting a post-processing program to launch from Slic3r have used a workaround by having Slic3r call a batch (.bat) file, and then that batch file calls the program they want.

Dave
Sorry, only registered users may post in this forum.

Click here to login