xclbrio/hederajs

Getting Error while running cargo build

Opened this issue · 3 comments

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.

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

@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.

@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