Problems generating windows client with icons #138
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi!!!
I can compile the customize executable of rustdesk without icons. But when i attached my custom icons, the compilation has errors:
Compiling sciter-rs v0.5.57 (https://github.com/rustdesk-org/rust-sciter?branch=dyn#5322f3a7)
warning: unknown lint:
static_mut_refs--> libs\hbb_common\src\fingerprint.rs:251:17
|
251 | #[allow(static_mut_refs)]
| ^^^^^^^^^^^^^^^
|
= note:
#[warn(unknown_lints)]on by defaultwarning: unknown lint:
static_mut_refs--> libs\hbb_common\src\fingerprint.rs:283:17
|
283 | #[allow(static_mut_refs)]
| ^^^^^^^^^^^^^^^
Compiling remote_printer v0.1.0 (D:\a\rdgen\rdgen\libs\remote_printer)
warning: unused import:
self::vp9e_temporal_layering_mode as VP9E_TEMPORAL_LAYERING_MODE--> D:\a\rdgen\rdgen\target\release\build\scrap-a0e58b3985c40f7b\out/vpx_ffi.rs:911:9
|
911 | pub use self::vp9e_temporal_layering_mode as VP9E_TEMPORAL_LAYERING_MODE;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note:
#[warn(unused_imports)]on by defaultCompiling virtual_display v0.1.0 (D:\a\rdgen\rdgen\libs\virtual_display)
warning:
hbb_common(lib) generated 2 warnings (2 duplicates)Compiling rustdesk v1.4.2 (D:\a\rdgen\rdgen)
warning:
scrap(lib) generated 1 warning (runcargo fix --lib -p scrapto apply 1 suggestion)warning:
hbb_common(lib) generated 2 warningserror: couldn't read src../res/tray-icon.ico: The system cannot find the file specified. (os error 2)
--> src\tray.rs:46:16
|
46 | icon = include_bytes!("../res/tray-icon.ico");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro
include_bytes(in Nightly builds, run with -Z macro-backtrace for more info)warning: the item
Systemis imported redundantly--> src\platform\windows.rs:3106:9
|
17 | sysinfo::{Pid, System},
| ------ the item
Systemis already imported here...
3106 | use hbb_common::sysinfo::System;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note:
#[warn(unused_imports)]on by defaultwarning: the item
ToSocketAddrsis imported redundantly--> src\common.rs:1780:9
|
4 | net::{SocketAddr, ToSocketAddrs},
| ------------- the item
ToSocketAddrsis already imported here...
1780 | use std::net::ToSocketAddrs;
| ^^^^^^^^^^^^^^^^^^^^^^^
warning: the item
ToSocketAddrsis imported redundantly--> src\common.rs:1804:9
|
4 | net::{SocketAddr, ToSocketAddrs},
| ------------- the item
ToSocketAddrsis already imported here...
1804 | use std::net::ToSocketAddrs;
| ^^^^^^^^^^^^^^^^^^^^^^^
warning: unused imports:
MOUSE_BUTTON_LEFT,MOUSE_TYPE_DOWN,MOUSE_TYPE_UP,MOUSE_TYPE_WHEEL--> src\ui_session_interface.rs:3:13
|
3 | input::{MOUSE_BUTTON_LEFT, MOUSE_TYPE_DOWN, MOUSE_TYPE_UP, MOUSE_TYPE_WHEEL},
| ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
warning: use of deprecated function
hbb_common::base64::encode: Use Engine::encode--> src\hbbs_http\sync.rs:163:52
|
163 | hash = hbb_common::base64::encode(&res[..]);
| ^^^^^^
|
= note:
#[warn(deprecated)]on by defaultwarning:
rustdesk(lib) generated 5 warningserror: could not compile
rustdesk(lib) due to previous error; 5 warnings emittedError occurred when executing:
cargo build --features hwcodec,vram,flutter --lib --release. Exiting.features: ['hwcodec', 'vram', 'flutter']
False
Move-Item: D:\a_temp\81e859e4-f22c-4693-ad5b-119c13c40f31.ps1:4
Line |
4 | mv ./flutter/build/windows/x64/runner/Release ./rustdesk
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot find path 'D:\a\rdgen\rdgen\flutter\build\windows\x64\runner\Release' because it does not exist.
Error: Process completed with exit code 1.
Any idea???
Thank you very much!!!!