-
Notifications
You must be signed in to change notification settings - Fork 896
error: This file was generated by an older version of protoc #791
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
OpenCV uses own instance of Protobuf to handle ONNX, Caffe and some other DNN formats. Your error message means that you have yet another Protobuf instance in your build configuration. Please disable OpenCV DNN or use the same version everywhere. |
Issue reports without complete reproducer are useless.
|
Maybe you should make this behavior default? |
Adding |
Wrong usage. Don't touch these parameters if you don't want to use system's protobuf. We have no idea that you are doing as we don't see any reproducer. Dump compiler command line with all parameters. |
The flag was renamed. Current version uses |
Build fails for opencv-contrib-python-4.7.0.68:
All headers generated by protobuf should be regenerated during build. They can't be reused.
The text was updated successfully, but these errors were encountered: