Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Builds for Windows #6

Open
mbartlett21 opened this issue Sep 1, 2019 · 26 comments
Open

Builds for Windows #6

mbartlett21 opened this issue Sep 1, 2019 · 26 comments

Comments

@mbartlett21
Copy link

Is there anywhere were I can download a build of this for Windows?

@Zip-o-mat
Copy link
Owner

sorry at the moment this is not possible. There will be a precompiled version available soon, but I need some time.

@jjpython
Copy link

jjpython commented Sep 1, 2019

How would one go about compiling this for Windows, I'm quite new to programming and compiling my own stuff, thanks in advance

@platsch
Copy link
Collaborator

platsch commented Sep 3, 2019

To build this on windows you could probably start here: https://github.com/slic3r/Slic3r/wiki/Running-Slic3r-from-git-on-Windows

But: this repository is based on a branch which uses cmake instead of the default perl build script. That branch never made it upstream due to unfixable problems with perl under windows, see this PR for details: slic3r#4168
So It's probably not straightforward...

@Lorgie1984
Copy link

Lorgie1984 commented Sep 5, 2019

It is possible to get this working on Windows, especially on Windows 10 with enabled Linux Subsystem.

When you've enabled the Linux subsystem.

https://docs.microsoft.com/en-us/windows/wsl/install-win10

Than just follow the installation guide from here and install additionally Xming to get the GUI working:

https://www.howtogeek.com/261575/how-to-run-graphical-linux-desktop-applications-from-windows-10s-bash-shell/

Just add --gui to the perl start script: perl slic3r.pl --gui

And as you see, it works, a bit slow but it is okay.

Anmerkung 2019-09-05 140850

@Zip-o-mat
Copy link
Owner

Cool great!

@OKUTAT
Copy link

OKUTAT commented Sep 20, 2019

I am very interested in the processing. My PC is Windows10. So I enabled "Windows Subsystem For Linux", installed Ubuntu and VcXsrv GUI tool, and built the Slic3r.

I managed to run the processing with a simple model like picture below. It was very fun. But it runs slowly. When I tried a little complicated processing, It stopped and finally went down.

So, if using it in earnest, it would be better to use it on a normal Linux system.

hankyu

@Sazoji
Copy link

Sazoji commented Jun 8, 2020

For people building on WSL now that 20 is out, follow this link to get a 18 or 19 LSB version in order to have all the libraries available for a smooth installation: https://wiki.ubuntu.com/WSL
I'd recommend the store version of Bionic(18)LTS since it's probably the most common release for slic3r nonplanar on wsl.

@efa
Copy link

efa commented Apr 27, 2021

can you please say if you are using WSL1 or WSL2 ?

@infered5
Copy link

infered5 commented Jan 2, 2022

can you please say if you are using WSL1 or WSL2 ?

I can confirm this works on WSL2 with Ubuntu 20 (from the Windows store) on Windows 10 20H2. I followed @Lorgie1984 and their instructions, installing Xming on the Windows host and vim-gtk on WSL2. Framerate is pretty low and sometimes I have to adjust the nonplanar angle to another value and then back for it to properly slice something.

@MikeySpring
Copy link

I've followed all the steps and it works up until the point where I try and start the gui. When I try the start command, I get the error, "Unable to init server: Could not connect: Connection refused 11:49:43: Error: Unable to initialize GTK+, is DISPLAY set properly?" I'm pretty new to coding, so maybe I'm misunderstanding and doing something wrong. Please let me know if you have any tips.

@efa
Copy link

efa commented Jan 20, 2022

for DISPLAY related problems under WSL, you have to follow: microsoft/WSL#4106 (comment)

@MikeySpring
Copy link

for DISPLAY related problems under WSL, you have to follow: microsoft/WSL#4106 (comment)
Do I have to do this step before or after I follow the Github instructions for the program?

@MikeySpring
Copy link

Good news! I got the gui to work! @efa thank you so much for your link! Now I'm running into the problem of opening a file from my computer. None of the files I have from my computer show up. Does anybody know how to get passed this?

@infered5
Copy link

infered5 commented Feb 9, 2022

Good news! I got the gui to work! @efa thank you so much for your link! Now I'm running into the problem of opening a file from my computer. None of the files I have from my computer show up. Does anybody know how to get passed this?

Your Windows drives are mounted in /mnt/

@MikeySpring
Copy link

I'm trying to do some prints and keep running into collision problems. Does anyone have any rules of thumb for setting the Nonplaner Layer settings? I'm working on modifying my setup as well, but I want to get a better understanding of the Nonplanar Layer settings as well.

@platsch
Copy link
Collaborator

platsch commented Feb 28, 2022

I'm trying to do some prints and keep running into collision problems. Does anyone have any rules of thumb for setting the Nonplaner Layer settings? I'm working on modifying my setup as well, but I want to get a better understanding of the Nonplanar Layer settings as well.

This is not related to windows build, please open a new issue.
Also provide more details, what exactly are you facing? Any screenshots?

@mirakct
Copy link

mirakct commented Nov 28, 2022

Should anyone use mobaXterm as X11 server, I had to disable OpenGL acceleration to get it to work with the gui, otherwise it would throw a segmentation fault error. Cheers

@penewold
Copy link

penewold commented Mar 17, 2023

i get multiple errors trying to do the first step. It dosen't seem to be able to find the packages.

errors

i have to using ubuntu 22, 20 and 18 (and used the right commands), but it still dosen't work.

i might be doing something wrong so sorry
please help. Thank you in advance

@efa
Copy link

efa commented Mar 17, 2023

some time ago Debian switched the name of the package to 'libwxgtk3.0-gtk3-dev', and then Ubuntu follow as it is a derivative. Try that name

@penewold
Copy link

penewold commented Mar 17, 2023

i tried again on ubuntu 20 and it dosent give the error for that exact package but does still do many others.

billede

(yes this is another pc than before)

@efa
Copy link

efa commented Mar 17, 2023

maybe Ubuntu switched to the new Debian packages naming convention in the transition from Ubuntu 20.x to 22.x
Anyway this github repo seems abandoned, the author last commit is 2 year ago, you cannot expect instruction work on current distro, and probably required other trick on outdate Distro like Ubuntu 20.x

@penewold
Copy link

well thank you for your help which unfortunately was not succesful. I wish you the greatest kind sir. Goodbye

@efa
Copy link

efa commented Mar 17, 2023

I think we need the help of this repo's author to update the code. Hope a rebase to the current Slic3r code, and finally a merge in the upstream repo

@penewold
Copy link

I researched a bit and realised i forgot to use
sudo apt-get update
Which fixed all the problems i had. For anyone that had the same problem as me; try this.

@Zip-o-mat
Copy link
Owner

Sorry that I did not reply, I had a few days off.
Great that you fixed your Issue and documented the fix here.

There will be no merge in the upstream repo (which is also not in development anymore). If anyone is willing to re-implement nonplanar slicing into Prusaslicer / Superslicer feel free. I can assist with my experience, but I have no time to implement this myself.

@efa
Copy link

efa commented Mar 20, 2023

it's a pity that PrusaSlicer: https://github.com/prusa3d/PrusaSlicer is not marked as Slic3r: https://github.com/slic3r/Slic3r fork, while SuperSlicer: https://github.com/supermerill/SuperSlicer is a fork of PrusaSlicer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests