编译老报这个错误,懂得给看一下谢谢
rustdesk吧
全部回复
仅看楼主
level 1
whlhyj 楼主
error[E0061]: this function takes 3 arguments but 2 arguments were supplied
--> src\client\io_loop.rs:1512:51
|
1512 | ... match fs::is_write_need_confirmation(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1513 | ... &write_path,
| ----------- an argument of type `bool` is missing
|
note: function defined here
--> D:\a\rustdesk\rustdesk\libs\hbb_common\src\fs.rs:1206:8
|
1206 | pub fn is_write_need_confirmation(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
help: provide the argument
|
1512 | match fs::is_write_need_confirmation(/* bool */, &write_path, &digest) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error[E0061]: this function takes 3 arguments but 2 arguments were supplied
--> src\ui_cm_interface.rs:881:31
|
881 | match is_write_need_confirmation(&path, &digest) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ ----- an argument of type `bool` is missing
|
note: function defined here
--> D:\a\rustdesk\rustdesk\libs\hbb_common\src\fs.rs:1206:8
|
1206 | pub fn is_write_need_confirmation(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
help: provide the argument
|
881 | match is_write_need_confirmation(/* bool */, &path, &digest) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For more information about this error, try `rustc --explain E0061`.
warning: `rustdesk` (lib) generated 14 warnings
error: could not compile `rustdesk` (lib) due to 2 previous errors; 14 warnings emitted
Error occurred when executing: `cargo build --features hwcodec,vram,flutter --lib --release`. Exiting.
features: ['hwcodec', 'vram', 'flutter']
False
Move-Item: D:\a\_temp\e96b5159-b590-44d6-a2bd-fbb363f67c83.ps1:4
Line |
4 | mv ./flutter/build/windows/x64/runner/Release ./rustdesk
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot find path 'D:\a\rustdesk\rustdesk\flutter\build\windows\x64\runner\Release' because it does not exist.
Error: Process completed with exit code 1.
2025年08月19日 00点08分 1
level 1
whlhyj 楼主
据说又改了规则,改为自己的子模块也不行了,编译和我这个一样会报错,暂时改研究参数了
2025年08月21日 13点08分 2
1