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

Getting Error while running cargo build #1

Open
patel512 opened this issue Jun 11, 2019 · 3 comments
Open

Getting Error while running cargo build #1

patel512 opened this issue Jun 11, 2019 · 3 comments

Comments

@patel512
Copy link

patel512 commented Jun 11, 2019

As there is no target folder inside my rust-hedera-sdk. So ran the command
cargo build for creating a new build but the build process failed with error error: failed to run custom build command for hedera v0.4.2-alpha.0 (/home/rejolut/projects/hedera_javascript/rust_hedera_sdk)process didn't exit successfully:/home/rejolut/projects/hedera_javascript/rust_hedera_sdk/target/debug/build/hedera-db055b64f2c8b32a/build-script-build(exit code: 101) --- stderr thread 'main' panicked at 'protoc version: Custom { kind: NotFound, error: StringError("failed to spawn"protoc" "--version": No such file or directory (os error 2)") }', src/libcore/result.rs:997:5 note: Run with RUST_BACKTRACE=1environment variable to display a backtrace.

@ilyakmet
Copy link
Member

@patel512 We also faced with this problem on Ubuntu. Install Google Protobuf.

@xclbrio xclbrio deleted a comment from ilyasolovyanov Jun 11, 2019
@patel512
Copy link
Author

patel512 commented Jun 12, 2019

@ilyakmet I did installed google protobuf and it passed the make test but still the issue persists. Is there any special version that I need to install.

@a1ex-kaufmann
Copy link
Contributor

@patel512
Soon we will release an update for sdk

  1. Please provide information about your system.
  2. Try building an original project https://github.com/launchbadge/hedera-sdk-rust

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

3 participants