Skip to content

ProtoBuf file issues in beginner setup #1264

@Yummy-Yums

Description

@Yummy-Yums

Description

I ran the initial steps in the project setup (README) and encountered an issue of the proto files not being correctly compiled

test@pop-os:~/Desktop/rust/hiero-sdk-rust$ cargo build
   Compiling hiero-sdk-proto v0.21.0 (/home/test/Desktop/rust/hiero-sdk-rust/protobufs)
error[E0433]: failed to resolve: could not find `com` in the crate root
    --> /home/test/Desktop/rust/hiero-sdk-rust/target/debug/build/hiero-sdk-proto-4d0402199114e214/out/proto.rs:8178:27
     |
8178 |             super::super::com::hedera::hapi::services::auxiliary::blockrecords::MigrationRootHashVoteTransactionBody,
     |                           ^^^ could not find `com` in the crate root

For more information about this error, try `rustc --explain E0433`.
error: could not compile `hiero-sdk-proto` (lib) due to 1 previous error

Steps to reproduce

  1. clone it the repo as a beginner
  2. run git submodule update --recursive --remote
  3. run cargo build

Additional context

No response

Hedera network

No response

Version

current version

Operating system

Linux

Metadata

Metadata

Assignees

Labels

BeginnerSimple tasks requiring basic Javascript and SDK familiarity. May touch 1-2 files.Good First IssueIssues which are ideal for a first time or new project contributor.bugSomething isn't working

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions