error: This file was generated by an older version of protoc
Open
@asmorkalov is already working on this.
Since Oct 12, 2023.
- Dominant language
- Python
- Stars
- 5.4k
- Forks
- 1k
- Avg merge
- 22h 17m
- Merged PRs (30d)
- 3
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.