mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-02 19:26:56 -05:00
Build error: ubuntu 18 #1313
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-rustdesk#1313
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 @Mutronics on GitHub (Jan 31, 2023).
Compiling default-net v0.11.0 (https://github.com/Kingtous/default-net#bdaad8dd)
Compiling sys-locale v0.2.3
Compiling whoami v1.2.3
Compiling system_shutdown v3.0.0
Compiling webm v1.0.2
Compiling zstd v0.9.2+zstd.1.5.1
Compiling rustdesk v1.2.0 (/home/user/rustdesk)
error[E0583]: file not found for module
version--> src/lib.rs:25:1
|
25 | mod version;
| ^^^^^^^^^^^^
|
= help: to create the module
version, create file "src/version.rs" or "src/version/mod.rs"error[E0432]: unresolved import
crate::VERSION--> src/server/connection.rs:11:18
|
11 | use crate::{ipc, VERSION};
| ^^^^^^^
| |
| no
VERSIONin the root| help: a similar name exists in the module:
versionerror[E0425]: cannot find value
VERSIONin the crate root--> src/client.rs:1464:29
|
1464 | version: crate::VERSION.to_string(),
| ^^^^^^^ not found in the crate root
error[E0425]: cannot find value
VERSIONin the crate root--> src/rendezvous_mediator.rs:307:29
|
307 | version: crate::VERSION.to_owned(),
| ^^^^^^^ not found in the crate root
error[E0425]: cannot find value
VERSIONin the crate root--> src/rendezvous_mediator.rs:357:29
|
357 | version: crate::VERSION.to_owned(),
| ^^^^^^^ not found in the crate root
error[E0425]: cannot find value
VERSIONin the crate root--> src/rendezvous_mediator.rs:401:29
|
401 | version: crate::VERSION.to_owned(),
| ^^^^^^^ not found in the crate root
error[E0425]: cannot find value
VERSIONin the crate root--> src/common.rs:523:21
|
523 | url: crate::VERSION.to_owned(),
| ^^^^^^^ not found in the crate root
error[E0425]: cannot find value
VERSIONin the crate root--> src/common.rs:532:77
|
532 | if get_version_number(&version) > get_version_number(crate::VERSION) {
| ^^^^^^^ not found in the crate root
error[E0425]: cannot find value
VERSIONin the crate root--> src/core_main.rs:65:31
|
65 | println!("{}", crate::VERSION);
| ^^^^^^^ not found in the crate root
error[E0425]: cannot find value
VERSIONin the crate root--> src/ui_interface.rs:637:12
|
637 | crate::VERSION.to_owned()
| ^^^^^^^ not found in the crate root
error[E0425]: cannot find value
VERSIONin the crate root--> src/hbbs_http/sync.rs:57:80
|
57 | v["ver"] = json!(hbb_common::get_version_number(crate::VERSION));
| ^^^^^^^ not found in the crate root
Some errors have detailed explanations: E0425, E0432, E0583.
For more information about an error, try
rustc --explain E0425.error: could not compile
rustdeskdue to 11 previous errors@simonspa commented on GitHub (Jan 31, 2023):
https://github.com/rustdesk/rustdesk/issues/3008
@rustdesk commented on GitHub (Jan 31, 2023):
#763