opencv / opencv/opencv-python

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

Open
#791 6 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.