We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, i want to compile the image demo with cargo run --example image-demo --features="image" -vv and this is the error-output:
cargo run --example image-demo --features="image" -vv
Running `set CARGO=\\?\C:\Mounts\externalDrives\extHDD\Development\Rust\Users\rust_user\.rustup\toolchains\stable-x86_64-pc-windows-gnu\bin\cargo.exe&& set CARGO_CRATE_NAME=sdl2&& set CARGO_MANIFEST_DIR=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2&& set CARGO_PKG_AUTHORS="Tony Aldridge <[email protected]>:Cobrand <[email protected]>"&& set CARGO_PKG_DESCRIPTION="SDL2 bindings for Rust"&& set CARGO_PKG_HOMEPAGE=""&& set CARGO_PKG_LICENSE=MIT&& set CARGO_PKG_LICENSE_FILE=""&& set CARGO_PKG_NAME=sdl2&& set CARGO_PKG_README=README.md&& set CARGO_PKG_REPOSITORY=https://github.com/Rust-SDL2/rust-sdl2&& set CARGO_PKG_RUST_VERSION=""&& set CARGO_PKG_VERSION=0.36.0&& set CARGO_PKG_VERSION_MAJOR=0&& set CARGO_PKG_VERSION_MINOR=36&& set CARGO_PKG_VERSION_PATCH=0&& set CARGO_PKG_VERSION_PRE=""&& set CARGO_PRIMARY_PACKAGE=1&& set OUT_DIR=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\build\sdl2-7e02414eec798653\out&& set PATH="C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\deps;C:\Mounts\externalDrives\extHDD\Development\Rust\Users\rust_user\.rustup\toolchains\stable-x86_64-pc-windows-gnu\bin;C:\Mounts\externalDrives\extHDD\Development\Rust\Users\rust_user\.rustup\toolchains\stable-x86_64-pc-windows-gnu\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Csound6_x64\bin;C:\Program Files\dotnet\;C:\Program Files\Intel\PresentMon\PresentMonApplication\;C:\Program Files (x86)\Gpg4win\..\GnuPG\bin;C:\Users\Kai Scheller\AppData\Local\Microsoft\WindowsApps;C:\Users\Kai Scheller\AppData\Local\atom\bin;C:\PortableApps\gs\gs9.27\lib;C:\Users\Kai Scheller\AppData\Local\Microsoft\WindowsApps;C:\Mounts\externalDrives\extHDD\Development\Rust\Users\rust_user\.cargo\bin;C:\Mounts\externalDrives\extHDD\Development\Rust\bin\;C:\Mounts\externalDrives\extHDD\Development\Rust\toolchains\MSYS2Portable\App\msys64\;C:\Mounts\externalDrives\extHDD\Development\Rust\toolchains\MSYS2Portable\App\msys64\mingw64\bin\;C:\Mounts\externalDrives\extHDD\Development\Rust\toolchains\MSYS2Portable\App\msys64\usr\bin\;C:\Mounts\externalDrives\extHDD\Development\Rust\toolchains\tools\\"&& rustc --crate-name sdl2 src/sdl2/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=119 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg "feature=\"default\"" --cfg "feature=\"image\"" -C metadata=9c80f5638430bd99 -C extra-filename=-9c80f5638430bd99 --out-dir C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\deps -C incremental=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\incremental -L dependency=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\deps --extern bitflags=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\deps\libbitflags-ec75678bd6d3f5c5.rmeta --extern lazy_static=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\deps\liblazy_static-1853f9f2c1ced22c.rmeta --extern libc=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\deps\liblibc-f2a4778836ed858e.rmeta --extern sdl2_sys=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\deps\libsdl2_sys-a78a31fca23960a7.rmeta` Running `set CARGO=\\?\C:\Mounts\externalDrives\extHDD\Development\Rust\Users\rust_user\.rustup\toolchains\stable-x86_64-pc-windows-gnu\bin\cargo.exe&& set CARGO_BIN_NAME=image-demo&& set CARGO_CRATE_NAME=image_demo&& set CARGO_MANIFEST_DIR=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2&& set CARGO_PKG_AUTHORS="Tony Aldridge <[email protected]>:Cobrand <[email protected]>"&& set CARGO_PKG_DESCRIPTION="SDL2 bindings for Rust"&& set CARGO_PKG_HOMEPAGE=""&& set CARGO_PKG_LICENSE=MIT&& set CARGO_PKG_LICENSE_FILE=""&& set CARGO_PKG_NAME=sdl2&& set CARGO_PKG_README=README.md&& set CARGO_PKG_REPOSITORY=https://github.com/Rust-SDL2/rust-sdl2&& set CARGO_PKG_RUST_VERSION=""&& set CARGO_PKG_VERSION=0.36.0&& set CARGO_PKG_VERSION_MAJOR=0&& set CARGO_PKG_VERSION_MINOR=36&& set CARGO_PKG_VERSION_PATCH=0&& set CARGO_PKG_VERSION_PRE=""&& set CARGO_PRIMARY_PACKAGE=1&& set OUT_DIR=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\build\sdl2-7e02414eec798653\out&& set PATH="C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\deps;C:\Mounts\externalDrives\extHDD\Development\Rust\Users\rust_user\.rustup\toolchains\stable-x86_64-pc-windows-gnu\bin;C:\Mounts\externalDrives\extHDD\Development\Rust\Users\rust_user\.rustup\toolchains\stable-x86_64-pc-windows-gnu\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Csound6_x64\bin;C:\Program Files\dotnet\;C:\Program Files\Intel\PresentMon\PresentMonApplication\;C:\Program Files (x86)\Gpg4win\..\GnuPG\bin;C:\Users\Kai Scheller\AppData\Local\Microsoft\WindowsApps;C:\Users\Kai Scheller\AppData\Local\atom\bin;C:\PortableApps\gs\gs9.27\lib;C:\Users\Kai Scheller\AppData\Local\Microsoft\WindowsApps;C:\Mounts\externalDrives\extHDD\Development\Rust\Users\rust_user\.cargo\bin;C:\Mounts\externalDrives\extHDD\Development\Rust\bin\;C:\Mounts\externalDrives\extHDD\Development\Rust\toolchains\MSYS2Portable\App\msys64\;C:\Mounts\externalDrives\extHDD\Development\Rust\toolchains\MSYS2Portable\App\msys64\mingw64\bin\;C:\Mounts\externalDrives\extHDD\Development\Rust\toolchains\MSYS2Portable\App\msys64\usr\bin\;C:\Mounts\externalDrives\extHDD\Development\Rust\toolchains\tools\\"&& rustc --crate-name image_demo examples\image-demo.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=119 --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg "feature=\"default\"" --cfg "feature=\"image\"" -C metadata=1343d848cd2949e7 -C extra-filename=-1343d848cd2949e7 --out-dir C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\examples -C incremental=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\incremental -L dependency=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\deps --extern bitflags=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\deps\libbitflags-ec75678bd6d3f5c5.rlib --extern env_logger=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\deps\libenv_logger-d5da108b8fea1d62.rlib --extern lazy_static=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\deps\liblazy_static-1853f9f2c1ced22c.rlib --extern libc=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\deps\liblibc-f2a4778836ed858e.rlib --extern pollster=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\deps\libpollster-c33f8a20c042c3c4.rlib --extern rand=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\deps\librand-1afbc0a5a94ddfd8.rlib --extern sdl2=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\deps\libsdl2-9c80f5638430bd99.rlib --extern sdl2_sys=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\deps\libsdl2_sys-a78a31fca23960a7.rlib --extern wgpu=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\deps\libwgpu-e6b74a501dcc6847.rlib -L native=C:\Mounts\externalDrives\extHDD\Development\Rust\Users\rust_user\.cargo\registry\src\index.crates.io-6f17d22bba15001f\winapi-x86_64-pc-windows-gnu-0.4.0\lib -L native=C:\Mounts\externalDrives\extHDD\Development\Rust\Users\rust_user\.cargo\registry\src\index.crates.io-6f17d22bba15001f\windows_x86_64_gnu-0.48.5\lib -L native=C:\Mounts\externalDrives\extHDD\Development\Rust\Users\rust_user\.cargo\registry\src\index.crates.io-6f17d22bba15001f\windows_x86_64_gnu-0.42.2\lib` error: linking with `x86_64-w64-mingw32-gcc` failed: exit code: 1 | = note: "x86_64-w64-mingw32-gcc" "-fno-use-linker-plugin" "-Wl,--dynamicbase" "-Wl,--disable-auto-image-base" "-m64" "-Wl,--high-entropy-va" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\Users\\rust_user\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsbegin.o" "C:\\Users\\KAISCH~1\\AppData\\Local\\Temp\\rustcmnqJxT\\symbols.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.1a4826jixcvgbhc4.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.1a9mv7lq4loly23b.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.1lhpwpzkkgu3cxxh.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.1o5ztzyuw6ogwkob.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.1xz5vs6p6z7edz5d.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.1zr1x7yn7i26yzi9.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.2du3pqkc24wqp4bb.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.2eks2bsfee0mqy8g.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.2g0rd391f4uvwsnz.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.2hx8vnimxf55w3m7.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.2ljxq54ikm772gko.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.2nv2cveaiqjs1iab.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.2vouzl8lfzgl9kta.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.33wainy36pl2xyjq.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.34gmxk9e3fj1owfg.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.36qxcgch0oxmusge.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.3br67wrcrz51ktcc.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.3ngcq0lntmptauzg.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.40kzbd2p3l8hbv4n.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.42m67qekyh1iy3a9.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.4bslvuj0hfgkylzy.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.4cc0l7nwb3l3zo7p.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.4cl3p3zsrduzdigs.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.4izcd7emzdznt82u.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.4mc29u3phmqrlng1.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.4ss6vf11umoh84m6.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.4yhm9qczdn5i7eo3.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.4zkb04znf7nn2abz.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.5a3y33agh7sua83k.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.5dlglcr1f1a2p1fc.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.5dusigztzt9xqjf.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.5e48mdk3ylew4gtv.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.5f83l6m1vauqlw5.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.73chp5tdajmicz5.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.aqr9msmn05eabh9.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.bemj8q0fotff8nq.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.d8j8gg03diurzfh.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.nxqi40k46io27av.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.y3rroau1fvzgc34.rcgu.o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.15310p3unrn5wai1.rcgu.o" "-L" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\deps" "-L" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\Users\\rust_user\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\winapi-x86_64-pc-windows-gnu-0.4.0\\lib" "-L" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\Users\\rust_user\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\windows_x86_64_gnu-0.48.5\\lib" "-L" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\Users\\rust_user\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\windows_x86_64_gnu-0.42.2\\lib" "-L" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\Users\\rust_user\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-Wl,-Bstatic" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\deps\\libsdl2-9c80f5638430bd99.rlib" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\deps\\libsdl2_sys-a78a31fca23960a7.rlib" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\deps\\libbitflags-ec75678bd6d3f5c5.rlib" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\deps\\liblazy_static-1853f9f2c1ced22c.rlib" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\deps\\liblibc-f2a4778836ed858e.rlib" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\Users\\rust_user\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd-8984bea53711d8dc.rlib" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\Users\\rust_user\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libpanic_unwind-9098e3d0ae9ca31e.rlib" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\Users\\rust_user\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libobject-ecc2c59e74184fc3.rlib" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\Users\\rust_user\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libmemchr-cd613dba07adf635.rlib" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\Users\\rust_user\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libaddr2line-0be3ecb13681700c.rlib" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\Users\\rust_user\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libgimli-6ed563f0e835ebf2.rlib" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\Users\\rust_user\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_demangle-a64d2b4f247b3129.rlib" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\Users\\rust_user\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd_detect-8621980ade47ae7d.rlib" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\Users\\rust_user\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libhashbrown-f94cd99a464eced5.rlib" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\Users\\rust_user\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_alloc-99eb39dbdf1511f7.rlib" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\Users\\rust_user\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libminiz_oxide-c89e97e3f498de84.rlib" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\Users\\rust_user\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libadler-29ed3181417d9069.rlib" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\Users\\rust_user\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libunwind-dbc27f94d5efd872.rlib" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\Users\\rust_user\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcfg_if-0e904343e2a0db44.rlib" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\Users\\rust_user\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liblibc-8d468fcfebd293bd.rlib" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\Users\\rust_user\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liballoc-5906c9c79057d6ba.rlib" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\Users\\rust_user\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_core-80de2de26b3a8691.rlib" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\Users\\rust_user\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcore-f679e2334f8bd88a.rlib" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\Users\\rust_user\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcompiler_builtins-604e45d5c559fc75.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_image" "-lkernel32" "-ladvapi32" "-lbcrypt" "-lkernel32" "-lntdll" "-luserenv" "-lws2_32" "-lkernel32" "-lws2_32" "-lkernel32" "-lntdll" "-lkernel32" "-lgcc_eh" "-l:libpthread.a" "-lmsvcrt" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-luser32" "-lkernel32" "-Wl,--nxcompat" "-L" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\Users\\rust_user\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-o" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\.projects\\rust-sdl2\\target\\debug\\examples\\image_demo-1343d848cd2949e7.exe" "-Wl,--gc-sections" "-no-pie" "-nodefaultlibs" "C:\\Mounts\\externalDrives\\extHDD\\Development\\Rust\\Users\\rust_user\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsend.o" = note: C:/Mounts/externalDrives/extHDD/Development/Rust/toolchains/MSYS2Portable/App/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lSDL2_image: No such file or directory collect2.exe: error: ld returned 1 exit status error: could not compile `sdl2` (example "image-demo") due to 1 previous error Caused by: process didn't exit successfully: `set CARGO=\\?\C:\Mounts\externalDrives\extHDD\Development\Rust\Users\rust_user\.rustup\toolchains\stable-x86_64-pc-windows-gnu\bin\cargo.exe&& set CARGO_BIN_NAME=image-demo&& set CARGO_CRATE_NAME=image_demo&& set CARGO_MANIFEST_DIR=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2&& set CARGO_PKG_AUTHORS="Tony Aldridge <[email protected]>:Cobrand <[email protected]>"&& set CARGO_PKG_DESCRIPTION="SDL2 bindings for Rust"&& set CARGO_PKG_HOMEPAGE=""&& set CARGO_PKG_LICENSE=MIT&& set CARGO_PKG_LICENSE_FILE=""&& set CARGO_PKG_NAME=sdl2&& set CARGO_PKG_README=README.md&& set CARGO_PKG_REPOSITORY=https://github.com/Rust-SDL2/rust-sdl2&& set CARGO_PKG_RUST_VERSION=""&& set CARGO_PKG_VERSION=0.36.0&& set CARGO_PKG_VERSION_MAJOR=0&& set CARGO_PKG_VERSION_MINOR=36&& set CARGO_PKG_VERSION_PATCH=0&& set CARGO_PKG_VERSION_PRE=""&& set CARGO_PRIMARY_PACKAGE=1&& set OUT_DIR=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\build\sdl2-7e02414eec798653\out&& set PATH="C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\deps;C:\Mounts\externalDrives\extHDD\Development\Rust\Users\rust_user\.rustup\toolchains\stable-x86_64-pc-windows-gnu\bin;C:\Mounts\externalDrives\extHDD\Development\Rust\Users\rust_user\.rustup\toolchains\stable-x86_64-pc-windows-gnu\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Csound6_x64\bin;C:\Program Files\dotnet\;C:\Program Files\Intel\PresentMon\PresentMonApplication\;C:\Program Files (x86)\Gpg4win\..\GnuPG\bin;C:\Users\Kai Scheller\AppData\Local\Microsoft\WindowsApps;C:\Users\Kai Scheller\AppData\Local\atom\bin;C:\PortableApps\gs\gs9.27\lib;C:\Users\Kai Scheller\AppData\Local\Microsoft\WindowsApps;C:\Mounts\externalDrives\extHDD\Development\Rust\Users\rust_user\.cargo\bin;C:\Mounts\externalDrives\extHDD\Development\Rust\bin\;C:\Mounts\externalDrives\extHDD\Development\Rust\toolchains\MSYS2Portable\App\msys64\;C:\Mounts\externalDrives\extHDD\Development\Rust\toolchains\MSYS2Portable\App\msys64\mingw64\bin\;C:\Mounts\externalDrives\extHDD\Development\Rust\toolchains\MSYS2Portable\App\msys64\usr\bin\;C:\Mounts\externalDrives\extHDD\Development\Rust\toolchains\tools\\"&& rustc --crate-name image_demo examples\image-demo.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=119 --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg "feature=\"default\"" --cfg "feature=\"image\"" -C metadata=1343d848cd2949e7 -C extra-filename=-1343d848cd2949e7 --out-dir C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\examples -C incremental=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\incremental -L dependency=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\deps --extern bitflags=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\deps\libbitflags-ec75678bd6d3f5c5.rlib --extern env_logger=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\deps\libenv_logger-d5da108b8fea1d62.rlib --extern lazy_static=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\deps\liblazy_static-1853f9f2c1ced22c.rlib --extern libc=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\deps\liblibc-f2a4778836ed858e.rlib --extern pollster=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\deps\libpollster-c33f8a20c042c3c4.rlib --extern rand=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\deps\librand-1afbc0a5a94ddfd8.rlib --extern sdl2=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\deps\libsdl2-9c80f5638430bd99.rlib --extern sdl2_sys=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\deps\libsdl2_sys-a78a31fca23960a7.rlib --extern wgpu=C:\Mounts\externalDrives\extHDD\Development\Rust\.projects\rust-sdl2\target\debug\deps\libwgpu-e6b74a501dcc6847.rlib -L native=C:\Mounts\externalDrives\extHDD\Development\Rust\Users\rust_user\.cargo\registry\src\index.crates.io-6f17d22bba15001f\winapi-x86_64-pc-windows-gnu-0.4.0\lib -L native=C:\Mounts\externalDrives\extHDD\Development\Rust\Users\rust_user\.cargo\registry\src\index.crates.io-6f17d22bba15001f\windows_x86_64_gnu-0.48.5\lib -L native=C:\Mounts\externalDrives\extHDD\Development\Rust\Users\rust_user\.cargo\registry\src\index.crates.io-6f17d22bba15001f\windows_x86_64_gnu-0.42.2\lib` (exit code: 1)
the gaming-controller as an example compiles very good;)
The text was updated successfully, but these errors were encountered:
-lSDL2_image: No such file or directory means that you do not have SDL2_image installed, it's necessary for the feature "image" to work.
-lSDL2_image: No such file or directory
Sorry, something went wrong.
No branches or pull requests
Hello,
i want to compile the image demo with
cargo run --example image-demo --features="image" -vv
and this is the error-output:
the gaming-controller as an example compiles very good;)
The text was updated successfully, but these errors were encountered: