ktmpl icon indicating copy to clipboard operation
ktmpl copied to clipboard

Request to consider creating a precompiled binary for Windows

Open kashook opened this issue 9 years ago • 4 comments

Thanks for making this great tool! Is there any possibility that a pre-compiled binary could be created for Windows? I was able to build one myself by following the instructions in the readme, and it seems to work great. I know pretty much nothing about Rust, but after a brief search it looks like cross compiling is possible.

kashook avatar Sep 22 '16 13:09 kashook

Might be a little tricky for us, since no one runs Windows. Cross-compilation requires two things currently: 1) a copy of Rust's standard library for the target platform 2) any additional tools needed for native compilation on that target. The first thing is handled well by the rustup tool, which allows you to easily install the standard library for any supported target. The second thing is not easy at this point. Even compiling for Linux hasn't worked for me on my host machine (macOS), which is why we use the Docker image clux/muslrust and do the compilation inside the container.

jimmycuadra avatar Sep 22 '16 20:09 jimmycuadra

@keiths-osc were you able to get your hands on a Windows binary ?

sadortun avatar Oct 19 '16 03:10 sadortun

@sadortun I built my own on Windows following the "Building from source" instructions on the README.md. It seems to work well.

kashook avatar Oct 19 '16 12:10 kashook

Precompiled 5.0 for you. ktmpl.zip

hrach avatar Feb 14 '17 12:02 hrach