exports/camera.proto:18:5: "camera.ENUM_VIEWID_NO_VIEW" is already defined 
in file "camera.proto".

Exports is a folder insider Files and it has a file camera.proto which is 
imported in one of other protos.
Is this because the files in imports and same as the proto files found 
using find statement

On Tuesday, July 2, 2024 at 10:55:31 AM UTC+5:30 Rachana Deshpande wrote:

> IMPORTS=$(find Files/ -type d -exec echo -I '{}' \;)
>
> echo "Generating html..."
> find Files/ -name '*.proto' \
>     | xargs protoc \
>             ${IMPORTS} \
>             --proto_path=. \
>             --doc_out=. \
>             --doc_opt=template.html,index.html
>
> Gives out the already defined error.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/c5f48fc1-baba-4f02-8897-9446533afa97n%40googlegroups.com.

Reply via email to