sniffnet
sniffnet copied to clipboard
Sniffnet fails to build using the cargo installation (`error RC2135 : file not found: ./resources/packaging/windows/graphics/sniffnet.ico`)
Is there an existing issue for this?
- [X] I have searched the existing issues.
What's the problem?
Sniffnet fails to build using the cargo installation.
How did you install the app?
installed from crates.io
Operating System
Windows
Additional context
command output
Caused by:
process didn't exit successfully: `C:\Users\Admin\`AppData\Local\Temp\cargo-installcBCKZH`\release\build\sniffnet-d42dcf163b623d06\build-script-build` (exit code: 101)
--- stdout
cargo:rerun-if-changed=./resources/packaging/windows/graphics/sniffnet.ico
cargo:rerun-if-changed=./services.txt
package.metadata.winres does not exist
"C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.22621.0\\x64\\rc.exe"
Selected RC path: 'C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64\rc.exe'
RC Output:
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Users\Admin\`AppData\Local\Temp\cargo-installcBCKZH`\release\build\sniffnet-08d41838ec031ad8\out\resource.rc(25) : error RC2135 : file not found: ./resources/packaging/windows/graphics/sniffnet.ico
------
RC Error:
------
--- stderr
thread 'main' panicked at C:\Users\Admin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sniffnet-1.3.2\build.rs:31:23:
called `Result::unwrap()` on an `Err` value: Custom { kind: Other, error: "Could not compile resource file" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile `sniffnet v1.3.2`, intermediate artifacts can be found at `C:\Users\Admin\`AppData\Local\Temp\cargo-installcBCKZH``.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.