Skip to content

error: This file was generated by an older version of protoc #791

@yurivict

Description

@yurivict

Build fails for opencv-contrib-python-4.7.0.68:

In file included from /usr/ports/graphics/py-opencv-contrib-python/work-py39/opencv-contrib-python-4.7.0.68/opencv/modules/dnn/misc/tensorflow/attr_value.pb.cc:4:
/usr/ports/graphics/py-opencv-contrib-python/work-py39/opencv-contrib-python-4.7.0.68/opencv/modules/dnn/misc/tensorflow/attr_value.pb.h:17:2: error: This file was generated by an older version of protoc which is
#error This file was generated by an older version of protoc which is
 ^

All headers generated by protobuf should be regenerated during build. They can't be reused.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions