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

CLI Installation Issue #1336

Closed
SarthiBorkar opened this issue May 23, 2024 · 2 comments
Closed

CLI Installation Issue #1336

SarthiBorkar opened this issue May 23, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@SarthiBorkar
Copy link

What version are you using?

What did you do?

I m a student and a solidity dev learning and starting to build on steller so i was installing CLI soroban

PS C:\Users\admin> cargo install --locked soroban-cli
Updating crates.io index

Installing soroban-cli v20.3.4
Updating crates.io index
Updating crates.io index
Compiling proc-macro2 v1.0.69
Compiling unicode-ident v1.0.12
Compiling serde v1.0.192
Compiling autocfg v1.1.0
Compiling cfg-if v1.0.0
Compiling thiserror v1.0.55
error: linker link.exe not found
|
= note: program not found

note: the msvc targets depend on the msvc linker but link.exe was not found

note: please ensure that Visual Studio 2017 or later, or Build Tools for Visual Studio were installed with the Visual C++ option.

note: VS Code is a different product, and is not sufficient.

error: could not compile serde (build script) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile proc-macro2 (build script) due to 1 previous error
error: could not compile thiserror (build script) due to 1 previous error
error: failed to compile soroban-cli v20.3.4, intermediate artifacts can be found at C:\Users\admin\AppData\Local\Temp\cargo-installK1pooJ.
To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.

What did you expect to see?

when i typed soroban it give error :
PS C:\Users\admin> soroban
soroban : The term 'soroban' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

  • soroban
  •   + CategoryInfo          : ObjectNotFound: (soroban:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    
    

What did you see instead?

i an mentioned above

@SarthiBorkar SarthiBorkar added the bug Something isn't working label May 23, 2024
@github-project-automation github-project-automation bot moved this to Backlog in DevX May 23, 2024
@willemneal
Copy link
Member

@fnando This seems like an issue for you.

What I would suggest is using cargo-binstall as there are already prebuilt windows binaries released on github.

@SarthiBorkar
Copy link
Author

Will do that. Thank you

@github-project-automation github-project-automation bot moved this from Backlog to Done in DevX May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants