Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2017-12-13 17:03:14 +0300
committerbubnikv <bubnikv@gmail.com>2017-12-13 17:03:14 +0300
commit38ecfa8467ab47da12f10c8a1d61d6d8ef41001e (patch)
treeeef9bc4f663f7a7682851d2e6ed26c90a4d3469b /doc
parentd47dc5da3e9c0f448e52f205de462577223fdfd3 (diff)
Updated the build instructions on OSX due to breaking changes caused
by the perlbrew system.
Diffstat (limited to 'doc')
-rw-r--r--doc/How_to_build_Slic3r.txt39
1 files changed, 35 insertions, 4 deletions
diff --git a/doc/How_to_build_Slic3r.txt b/doc/How_to_build_Slic3r.txt
index 0c5c709b0..6c261d652 100644
--- a/doc/How_to_build_Slic3r.txt
+++ b/doc/How_to_build_Slic3r.txt
@@ -1,6 +1,6 @@
-How to build Slic3r on Mac OS X 10.7 Lion 64bit
+How to build Slic3r on Mac OS X 10.9 Maveric
---------------------------------------------
-Vojtech Bubnik, 2016-04-26
+Vojtech Bubnik, 2017-12-12
1) Install Mac OS X 10.7 Lion 64 bit with X Code
@@ -55,6 +55,9 @@ brew install boost --universal
Install dylibbundler tool. The dylibbundler tool serves to collect dependent dynamic libraries and fix their linkage. Execute
brew install dylibbundler
+Install cmake
+brew install cmake
+
3) Install perl
---------------
@@ -62,18 +65,31 @@ We don't want to distribute perl pre-installed on the Mac OS box. First, the sys
http://perlbrew.pl/
First install perlbrew
-\curl -L http://install.perlbrew.pl | bash
+curl -L http://install.perlbrew.pl | bash
Then compile the newest perl with the rellocatable @INC path and with multithreading enabled, execute following line:
-perlbrew install --threads -Duserelocatableinc --switch perl-5.22.0
+perlbrew install --threads -Duserelocatableinc --switch perl-5.26.1
The --switch parameter switches the active perl to the currently compiled one.
Available perl versions could be listed by calling
perlbrew available
+Switch to the newly compiled perl
+perl5/perlbrew/bin/perlbrew switch perl-5.26.1
+Install cpanm
+perlbrew install-cpanm
Initialize CPAN, install PAR and PAR::Packer modules
execute cpan command, from the cpan prompt, run
install App::cpanminus
+install ExtUtils::CppGuess
+install ExtUtils::Typemaps
+install ExtUtils::Typemaps::Basic
install PAR
install PAR::Packer
+install Module::Build
+install Module::Pluggable
+install Module::Runtime
+install Moo
+install Test::Pod
+install Test::Pod::Coverage
quit
4) Download and install Slic3r
@@ -92,6 +108,21 @@ to have the model sliced.
5) Download and compile the GUI libraries needed to execute Slic3r in GUI mode
------------------------------------------------------------------------------
+Building the Perl Alien-Wx containing a wxWidgets library:
+We use wxWidgets-3.0.3.
+patch wxWidgets-3.0.3//src/osx/cocoa/textctrl.mm , see https://github.com/prusa3d/Slic3r/issues/600
+perl -I. Build.PL --wxWidgets-extraflags="--with-osx_cocoa --with-macosx-version-min=10.9 --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk --with-libjpeg=builtin --with-libpng=builtin --with-regex=builtin --with-libtiff=builtin --with-zlib=builtin --with-expat=builtin --with-opengl"
+perl -I. Build
+perl -I. Build test
+perl -I. Build
+
+Building the Perl Wx package:
+cpan install Wx
+
+Building the Perl OpenGL package:
+OpenGL needs to be patched to support MSAA, see the Windows patch.
+
+
For the current Slic3r 1.2.30 code base, set the environment variable SLIC3R_STATIC to link a static version of the boost library:
export SLIC3R_STATIC=1