rust-crosscompile
pe-util
rust-crosscompile | pe-util | |
---|---|---|
3 | 1 | |
35 | 54 | |
- | - | |
1.4 | 1.4 | |
about 1 year ago | 12 months ago | |
Dockerfile | C++ | |
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rust-crosscompile
-
Any stable crate to develop a cross-platform Rust desktop app?
There is a docker image for cross build: https://github.com/etrombly/rust-crosscompile
- Cross Compiling Rust GTK Projects for Windows
- Has Anyone Compiled A Gtkrs Program For Windows
pe-util
-
Cross Compiling Rust GTK Projects for Windows
FROM fedora:latest # # Set up system # WORKDIR /root RUN dnf -y update RUN dnf clean all RUN dnf install -y git cmake file gcc make man sudo tar RUN dnf install -y gcc-c++ boost boost-devel # # Build peldd to find dlls of exes # RUN git clone https://github.com/gsauthof/pe-util WORKDIR pe-util RUN git submodule update --init RUN mkdir build WORKDIR build RUN cmake .. -DCMAKE_BUILD_TYPE=Release RUN make RUN mv /root/pe-util/build/peldd /usr/bin/peldd RUN chmod +x /usr/bin/peldd # # Add package.sh # ADD package.sh /usr/bin/package.sh RUN chmod +x /usr/bin/package.sh # # Install Windows libraries # RUN dnf install -y mingw64-gcc RUN dnf install -y mingw64-freetype RUN dnf install -y mingw64-cairo RUN dnf install -y mingw64-harfbuzz RUN dnf install -y mingw64-pango RUN dnf install -y mingw64-poppler RUN dnf install -y mingw64-gtk3 RUN dnf install -y mingw64-winpthreads-static RUN dnf install -y mingw64-glib2-static # # Install rust # RUN useradd -ms /bin/bash rustacean USER rustacean RUN curl https://sh.rustup.rs -sSf | sh -s -- -y RUN /home/rustacean/.cargo/bin/rustup update # # Set up rust for cross compiling # RUN /home/rustacean/.cargo/bin/rustup target add x86_64-pc-windows-gnu ADD cargo.config /home/rustacean/.cargo/config ENV PKG_CONFIG_ALLOW_CROSS=1 ENV PKG_CONFIG_PATH=/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/ ENV GTK_INSTALL_PATH=/usr/x86_64-w64-mingw32/sys-root/mingw/ # # Setup the mount point # VOLUME /home/rustacean/src WORKDIR /home/rustacean/src # # Build and package executable # CMD ["/usr/bin/package.sh"]
What are some alternatives?
gtk4-rs - Rust bindings of GTK 4
cpp-ipc - C++ IPC Library: A high-performance inter-process communication using shared memory on Linux/Windows.
egui - egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
shadesmar - Fast C++ IPC using shared memory
Druid - Apache Druid: a high performance real-time analytics database.
XPEViewer - PE file viewer/editor for Windows, Linux and MacOS.
woab - Widgets on Actors Bridge - a GUI microframework for combining GTK with Actix
iceoryx - Eclipse iceoryxâ„¢ - true zero-copy inter-process-communication
opcua-explorer
v6d - vineyard (v6d): an in-memory immutable data manager. (Project under CNCF, TAG-Storage)
yew - Rust / Wasm framework for creating reliable and efficient web applications
Pepper - PE32 (x86) and PE32+ (x64) binaries analysis tool, resources viewer/extractor.