Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"'cargo' is required, but missing" error on Windows #651

Closed
IvanSmiths opened this issue May 16, 2024 · 3 comments
Closed

"'cargo' is required, but missing" error on Windows #651

IvanSmiths opened this issue May 16, 2024 · 3 comments

Comments

@IvanSmiths
Copy link

Super newbie here.
I've encountered an issue while attempting to build Imageflow locally on Windows 11.
I Followed all the steps in the "Windows 10 Pre-requisites", no errors so far.
After installing everything, i started from the "Building from Source without Docker" part.
Each ./build.sh command runs smoothly, but not the ./build.sh install, where i get this error "'cargo' is required, but missing. Try: curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain beta". I have run ./build.sh release before it.

As suggested by the docs, I have checked the ci/wintools/SETUP_PATH.bat file which contains all the necessary paths, and i am running all the build commands using the file win_enter_env.bat.

I have also tried by building using cargo, but when i run this command: cargo build --package imageflow_tool --release, i get this error: ```
error: package ID specification imageflow_tool did not match any packages

    Did you mean `imageflow_core`?

What am i missing? Any help will be highly appreciated, thanks in advance
@lilith
Copy link
Member

lilith commented May 17, 2024

Cargo build is the preferred method - github actions files provide the most updated steps.

Do you run cargo build from the repo root?

@IvanSmiths
Copy link
Author

Yes, i run it from the root. I saw that i am the only one having this problem, If i have to guess, i still need some packages to be installed properly, i am new to Rust, and i am probably missing something.

Thank you for your message.

@lilith
Copy link
Member

lilith commented May 17, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants