Building wxWidgets 3.1.0 - slic3r/Slic3r GitHub Wiki
Note: This has only been tested on Windows. On OSX or Linux, you may be required to modify wxperl to ensure that missing functions are removed from wxperl. We didn't need those functions anyway ;-)
- Make sure local::lib is installed.
- git clone https://github.com/lordofhyphens/alien-wxwidgets-3.1.0 somewhere.
- git clone https://github.com/lordofhyphens/wxperl-3.1.0
- Depending on your OS, do (i) or Pii):
- Linux/OSX: run a shell: eval "$(perl -Mlocal::lib=/path/to/slic3r/local-lib)"
- Windows: run in Powershell (do the rest of the work from this shell): Invoke-Expression "$(perl -Mlocal::lib=/path/to/slic3r/local-lib)"
- NOTE: Run the above in every shell you are going to use this workaround in, it's very important to not wreck your system libraries
- cd /path/to/alien-wxwidgets-3.1.0
- perl Build.PL --wxWidgets-build=1 --wxWidgets-version=3.1.0
- perl Build
- perl Build test
- perl Build install
- cd /path/to/wxperl-3.1.0
- perl Makefile.PL
- make
- make test
- make install