Compile prusaslicer on ubuntu 20.04 by removing "set (wxWidgets_CONFIG_OPTIONS "--toolkit=gtk${SLIC3R_GTK}")"
 
Notifications
Clear all

Compile prusaslicer on ubuntu 20.04 by removing "set (wxWidgets_CONFIG_OPTIONS "--toolkit=gtk${SLIC3R_GTK}")"  

  RSS
Thomas
(@thomas-11)
Active Member
Compile prusaslicer on ubuntu 20.04 by removing "set (wxWidgets_CONFIG_OPTIONS "--toolkit=gtk${SLIC3R_GTK}")"

Hi. I started to get curious about the upcomming features for prusaslicer due to the video PRUSA LIVE #3.

Josef mentioned that hed did not understand why not too many compile prusaslicer themself. Well - quite some time passed for me to do something like that ... but now I tried and finally succeeded to compile running Ubuntu 20.04 Budgie (yes, still waiting for the next mint release 😋 )

To finally succeed I had to install various components but at the end I failed - because of one line in the file "src/CMakeLists.txt".

# set (wxWidgets_CONFIG_OPTIONS "--toolkit=gtk${SLIC3R_GTK}")

So if I comment that line out (as above) I can compile prusaslicer successfully 🙂

For curiosity:

  • Where is the variable "SLIC3R_GTK" been defined?
  • And why is it needed in the file ""?
Posted : 21/06/2020 2:13 pm
Area51
(@area51)
Member
RE: Compile prusaslicer on ubuntu 20.04 by removing "set (wxWidgets_CONFIG_OPTIONS "--toolkit=gtk${SLIC3R_GTK}")"

I compile under Linux Mint 19.3 without problems - I know it is not Ubuntu 20.04, but I think they are similar and the source should compile without changing it.

Maybe some libs are missing - I install:

build-essential,  cmake,  libgl1-mesa-dev,  libglu1-mesa-dev,  zlib1g-dev,  libgtk2.0-dev,  libudev-dev and  libdbus-1-dev

 

Have a look at my models on Printables.com 😉

Posted : 22/06/2020 12:26 am
Area51
(@area51)
Member
RE: Compile prusaslicer on ubuntu 20.04 by removing "set (wxWidgets_CONFIG_OPTIONS "--toolkit=gtk${SLIC3R_GTK}")"

... and if you still can't compile you can have a copy of my two days old AppImage and try that.

Have a look at my models on Printables.com 😉

Posted : 22/06/2020 12:32 am
Share: