![]() Let window = ApplicationWindow::new(app) ).expect("failed to initialize GTK application") This is quite different from the usual way I bring in dependencies and it would be good to find out why. The first thing we do is update our Cargo.toml with our dependencies. The example is what had lulled me into a false sense of confidence. This is completely stolen from the rust-gtk website and is a basic example. Let's first take a look at just the rust-gtk part. I'm going to write my Dockerfile based on this Dockerfile so as to understand what is really going on in the build system. ![]() This docker project does exactly that and it works perfectly! Fedora on the other hand had all the correct libraries available and looked to be much simpler to get everything set up. I was planning to write my code on Centos 7 but it looks like due to mingw, which is the windows development libraries, being insecure, it became a giant pain to actually install the libraries needed to do cross compiling on my machine. I chose rust gtk because I know someone else on hackernews did it so I thought I'll be treading ground that has already been softened! I'm going to be taking a stab at writing a gopher client GUI application so I figured I'd just get started with it. Cross Compiling Rust GTK Projects for Windows
0 Comments
Leave a Reply. |