Skip to content

Building wxWidgets 3.1.0

Joseph Lenox edited this page Mar 30, 2017 · 3 revisions

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 ;-)

  1. Make sure local::lib is installed.
  2. git clone https://github.com/lordofhyphens/alien-wxwidgets-3.1.0 somewhere.
  3. git clone https://github.com/lordofhyphens/wxperl-3.1.0
  4. Depending on your OS, do (i) or Pii):
    1. Linux/OSX: run a shell: eval "$(perl -Mlocal::lib=/path/to/slic3r/local-lib)"
    2. 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
  5. cd /path/to/alien-wxwidgets-3.1.0
  6. perl Build.PL --wxWidgets-build=1 --wxWidgets-version=3.1.0
  7. perl Build
  8. perl Build test
  9. perl Build install
  10. cd /path/to/wxperl-3.1.0
  11. perl Makefile.PL
  12. make
  13. make test
  14. make install