-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Labels
P4This is either out of scope or we don't have bandwidth to review a PR. (No assignee)This is either out of scope or we don't have bandwidth to review a PR. (No assignee)documentationImprovements or additions to documentationImprovements or additions to documentation
Description
here is my dir layout:
a.proto depends on b.proto, so import b.proto
in a.proto.
├── proto
│ ├── BUILD
│ ├── CMakeLists.txt
│ ├── a.proto
│ └── b.proto
├── src
│ ├── BUILD
│ └── main.cc
├── test
│ ├── BUILD
│ ├── main.cc
├── BUILD
├── CMakeLists.txt
├── README.md
└──WORKSPACE
bazel build
got error:
proto/a.proto:5:1: Import "b.proto" was not found or had errors.
but cmake works fine.
why should I add import proto/b.proto
in a.proto, but just import b.proto
?
Metadata
Metadata
Assignees
Labels
P4This is either out of scope or we don't have bandwidth to review a PR. (No assignee)This is either out of scope or we don't have bandwidth to review a PR. (No assignee)documentationImprovements or additions to documentationImprovements or additions to documentation