Download the strawberry Perl 5.22 64bit green version and unzip it somewhere, such as the C packing directory, such as
C:\strawbrry-perl-5.22.2.1-64bit-portable
Download boost 1.59 and unzip it somewhere, like
C:\boost_1_59_0
Note that the downloaded Strawberry Perl has a portable.bat that can set up the Perl runtime environment, and that Perl comes with GCC 4.9. All of the following commands are executed in this command-line environment.
At that command prompt, switch to boost's unzip directory, enter
Bootstrap.bat MinGW
B2 TOOLSET=GCC link=static runtime-link=static threading=multi--with-thread Stage
Note that only the Boost.thread library is compiled, and at the end of the stage directory you will see the generated static libraries, including thread, system, and so on.
Download the source code for SLIC3R in one place, such as
C:\Slic3r-repo
Open the xs/build.pl file and see line 41st
For my $path (glob (' c:\dev\boost* '), Glob (' c:\boost* '))
You can change the second one directly to our boost path C:\boost_1_59_0
For my $path (glob (' c:\dev\boost* '), Glob (' c:\boost_1_59_0* '))
And then enter
Perl build.pl
Start compiling.
If no problem, start the GUI below.
Since the strawberry Perl comes with GCC 4.9 generated C + + exception code, there is a bug, so WX has a unit test must not pass, stuck in the jumping window where, and will continue to try and keep on making mistakes. So we can't start compiling with build.pl from SLIC3R, we have to install the dependencies with the Perl installation package Manager Cpanm.
Direct input
Cpanm--force Alien::wxwidgets
Cpanm--force Wx
After the wait, if there is no error, then enter the Perl build.pl--gui Install the remaining dependencies, and then you should be done.
Packing with PP is easy, and you can try the official instructions to do it yourself.
Build slic3r on Windows//How to compile slic3r on Windows