("cargo:rustc-link-arg=-Wl,-rpath,@loader_path");#[cfg(target_os="linux")]println!("cargo:rustc-link-arg=-Wl,-rpath,$ORIGIN"); This ONLY works with SDL2, NOT SDL2_image, SDL2_mixer, SDL2_ttf, SDL2_gfx Linux Install these through your favourite package management tool, or via...
Star Here are 319 public repositories matching this topic... Language:All Filter by language All319C++157C109CMake12Ada3C#3HTML3Java3JavaScript3Rust3Nim2 Sort:Most stars Sort options Most starsFewest starsMost forksFewest forksRecently updatedLeast recently updated ...
wrapper_gfx_primitives.h wrapper_gfx_rotozoom.h wrapper_image.h wrapper_mixer.h wrapper_ttf.h src tests .gitattributes .gitignore .gitmodules Cargo.toml LICENSE README.md build.rs changelog.md clippy.tomlBreadcrumbs rust-sdl2 / sdl2-sys/ Directory actions More optionsLatest...
"use-vcpkg static-link gfx image ttf mixer" RUST_TEST_THREADS: 1 run: | set -xeuo pipefail rustc --version cargo --version cargo build --features "${CI_BUILD_FEATURES}" cargo build --examples --features "${CI_BUILD_FEATURES}" cargo test --features "${CI_BUILD_FEATURES}...
dependencies = ["sdl2", "sdl2-image[libjpeg-turbo,tiff,libwebp]", "sdl2-ttf", "sdl2-gfx", "sdl2-mixer"] git = "https://github.com/microsoft/vcpkg" rev = "a0518036077baa4" rev = "a267ab118c09f56f3dae96c9a4b3410820ad2f0b" [package.metadata.vcpkg.target] x86_64-pc-windows-...
Debug ci (Rust-SDL2#1085) Browse filesBrowse the repository at this point in the history * Add verbose flag (-v) to `cargo vcpkg build` in CI * Fix CI so that it works for all platforms master (Rust-SDL2/rust-sdl2#1085)
mingw-w64-rust-git mingw-w64-rust mingw-w64-rxspencer mingw-w64-schroedinger mingw-w64-scite mingw-w64-sed mingw-w64-sfml mingw-w64-shapelib mingw-w64-shared-mime-info mingw-w64-shiboken-qt4 mingw-w64-shishi-git mingw-w64-silc-toolkit mingw-w64-simage-hg mingw-w64-simvo...
sdl2_gfx sdl2_mixer sdl2_image sdl2_ttf sdl2_use-bindgen sdl2_use-pkgconfig sdl2_use-vcpkg sdl2_use-mac_framework sdl2_bundled sdl2_static-link I have included an example of how to use this backend together with wgpu usingegui_wgpu_backend. It can be foundhere. ...
(file:///C:/Users/jiche/rust/simplegame) Running `rustc --crate-name simplegame 'src\main.rs' --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=7b081aa3b261928d -C extra-filename=-7b081aa3b261928d --out-dir 'C:\Users\jiche\rust\simplegame\target\debug\deps...
For more details and installation options see therust-sdl2documentation. macOS, Linux, or Windows 10 Subsystem for Linux (homebrew) brew install sdl2 sdl2_gfx sdl2_image sdl2_mixer sdl2_ttf Linux (package manager) Note: The minimumSDL2version is2.0.20. Some package managers may not have ...