rustdesk-server icon indicating copy to clipboard operation
rustdesk-server copied to clipboard

error: failed to load manifest for workspace

Open vangoph1230 opened this issue 1 year ago • 5 comments

Describe the bug After cloning the project to my local machine using Git, I encountered a compilation error. It seems like the project is missing some necessary library files.

Describe the environment

  • WSL:Ubuntu-24.04,
  • rustc 1.85.0

How to Reproduce the bug Steps to reproduce the behavior:

  1. git clone https://github.com/rustdesk/rustdesk-server.git 2.cargo run
  2. I get this error error: failed to load manifest for workspace member /home/xxx/rustdesk-server/libs/hbb_common referenced by workspace at /home/xxx/rustdesk-server/Cargo.toml

Caused by: failed to read /home/xxx/rustdesk-server/libs/hbb_common/Cargo.toml

Caused by: No such file or directory (os error 2)

Expected behavior I hope the project can compile successfully.

Additional context I'm a beginner working in backend development, and I'm looking forward to contributing to Rust open-source projects.

vangoph1230 avatar Feb 21 '25 09:02 vangoph1230

I have already resolved this issue. Reason: The source code package downloaded via Git did not include the libs/hbb_common folder. Solution: Download the complete hbb_common package from the website, and then overwrite the libs/hbb_common folder in the project with the downloaded one.

vangoph1230 avatar Feb 21 '25 11:02 vangoph1230

This should be reopened as the hbb_common folder contents are still missing in the 1.1.13 and 1.1.14 source packages. The workaround above works, but the source folder shouldn't be empty.

Edit: the hbb_common components have to be downloaded from here and then placed into the libs/hbb_common folder for the compilation to succeed.

YaannnTech avatar Mar 16 '25 15:03 YaannnTech

您好,您的邮件我已收到, 我会尽快回复。

vangoph1230 avatar Mar 16 '25 15:03 vangoph1230

This issue should be reopened. When clone with git, it still does not include this lib.

elemeng avatar Sep 29 '25 11:09 elemeng

您好,您的邮件我已收到, 我会尽快回复。

vangoph1230 avatar Sep 29 '25 11:09 vangoph1230