Skip to content

Fix OpenCV Protobuf (requires C++17), upgrade OpenCV to 4.10.0

Jean-Baptiste Mardelle requested to merge work/opencv-protobuf into master

This fixes onnx model import for the dnn module. Although Protobuf was enabled in CMake, the default C++ target for OpenCV is still C++11. Since Protobuf requires C++17, it was disabled in OpenCV despite the flags being enabled. Upgrade OpenCV to 4.10.0 at the same time. Tested on Windows MinGW and Linux, fixes the onnx import issue. BUG: 493529

Edited by Jean-Baptiste Mardelle

Merge request reports

Loading