What do the import lines in user_preferences.proto look like? In your case
the import paths should point to files relative to the current directory.

On Fri, Feb 24, 2023 at 9:40 AM ritesh singh <riteshdvp...@gmail.com> wrote:

> I have 3 proto files in the current directory.
>
> user_preferences.proto imports other protos and all are available in the
> same directory.
>
> But, if i try to run this command, it throws an error. - *Imported file
> not found.*
>
>
>
> *protoc --include_imports --descriptor_set_out=/dev/stdout
> user_preferences.proto*
> Here, I am trying to invoke protoc with --descriptor_set_out to parse the
> proto file and convert it into a serialized FileDescriptorSet
>
> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to protobuf+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/protobuf/46f16320-f15b-4c79-a998-57b30e94751cn%40googlegroups.com
> <https://groups.google.com/d/msgid/protobuf/46f16320-f15b-4c79-a998-57b30e94751cn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/CADqAXr5A%2Bz3Y40rhair7kC6Kd1gEeGg8zFwoSygHrnD1LBqn4g%40mail.gmail.com.

Reply via email to