I have the following code in a protocol buffer file(pcfg_lm.proto):
import \"../types/language.proto\";
package nlp;
message PCFGProto {
required Languag
You can use the --proto_path= directive to specify which directories to search for imports. It can be used multiple times if needed.
The correct --proto_path will depend on how the package is defined in the imported file (language.proto).
If the imported file (language.proto) contains package types;
specify --proto_path=Parent directory and change the import to
import "types/language.proto";
If the imported file has no package
specify --proto_path=Parent directory/types and change the import to
import "language.proto";