mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-02 22:57:40 -05:00
build error on windows11 #803
Labels
No labels
bug
documentation
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
question
unreproducible
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rustdesk#803
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
Originally created by @heimasi on GitHub (Sep 2, 2022).
Describe the bug you encountered:
follow the doc to build on windows 11
cargo run
Compiling rustdesk v1.1.10 (C:\Users\sizhi\rustdesk)
error[E0412]: cannot find type
CliprdrClientContextin this scope--> src\client\io_loop.rs:45:40
|
45 | clipboard_file_context: Option<Box>,
| ^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this type alias
|
1 | use clipboard::cliprdr::CliprdrClientContext;
|
error[E0425]: cannot find function
get_rx_clip_clientin this scope--> src\client\io_loop.rs:109:42
|
109 | let mut rx_clip_client = get_rx_clip_client().lock().await;
| ^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this function
|
1 | use clipboard::get_rx_clip_client;
|
error[E0425]: cannot find function
clip_2_msgin this scope--> src\client\io_loop.rs:155:59
|
155 | ... allow_err!(peer.send(&clip_2_msg(clip)).await);
| ^^^^^^^^^^ not found in this scope
|
help: consider importing this function
|
1 | use crate::clipboard_file::clip_2_msg;
|
error[E0425]: cannot find function
msg_2_clipin this scope--> src\client\io_loop.rs:807:49
|
807 | ... if let Some(clip) = msg_2_clip(clip) {
| ^^^^^^^^^^ not found in this scope
|
help: consider importing this function
|
1 | use crate::clipboard_file::msg_2_clip;
|
error[E0425]: cannot find function
server_clip_filein this scope--> src\client\io_loop.rs:808:33
|
808 | ... server_clip_file(context, 0, clip);
| ^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this function
|
1 | use clipboard::server_clip_file;
|
error[E0425]: cannot find function
create_clipboard_file_contextin this scope--> src\client\io_loop.rs:1158:27
|
1158 | match create_clipboard_file_context(true, false) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find value
IS_ALT_GRin this scope--> src\ui_session_interface.rs:752:28
|
752 | if IS_ALT_GR {
| ^^^^^^^^^ not found in this scope
|
note: static
crate::ui::remote::IS_ALT_GRexists but is inaccessible--> src\ui\remote.rs:42:1
|
42 | static mut IS_ALT_GR: bool = false;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
error[E0425]: cannot find value
IS_ALT_GRin this scope--> src\ui_session_interface.rs:758:33
|
758 | ... IS_ALT_GR = false;
| ^^^^^^^^^ not found in this scope
|
note: static
crate::ui::remote::IS_ALT_GRexists but is inaccessible--> src\ui\remote.rs:42:1
|
42 | static mut IS_ALT_GR: bool = false;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
error[E0425]: cannot find value
IS_ALT_GRin this scope--> src\ui_session_interface.rs:781:33
|
781 | ... IS_ALT_GR = true;
| ^^^^^^^^^ not found in this scope
|
note: static
crate::ui::remote::IS_ALT_GRexists but is inaccessible--> src\ui\remote.rs:42:1
|
42 | static mut IS_ALT_GR: bool = false;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
What did you expect to happen instead?
normal build result
no error
How did you install
RustDesk?git clone at 2022-09-02
windows 11 family
RustDesk version and environment
@rustdesk commented on GitHub (Sep 2, 2022):
#763