Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Error building opencv3.4.1 windows10 and cmake3.11
jalal_ba last edited by
I am having a problem when trying to compile a opencv build for QT using MinGW32.
I've followed the instructions on https://wiki.qt.io/How_to_setup_Qt_and_openCV_on_Windows but failed build:
mingw32-make: *** [3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/io_win32.cc.obj] Error 1
CMakeFiles\Makefile2:710: recipe for target '3rdparty/protobuf/CMakeFiles/libprotobuf.dir/all' failed
mingw32-make: *** [3rdparty/protobuf/CMakeFiles/libprotobuf.dir/all] Error 2
Makefile:161: recipe for target 'all' failed
mingw32-make: *** [all] Error 2
This is a log of the failed build:
Pablo J. Rogina last edited by
@jalal_ba you're using OpenCV 3.4 and the guide you referred is using OpenCV 3.2 could it be possible you try with the old version to see what happens?
In addition, the error you have is related to Google protobuf, so you may want to check this issue regarding OpenCV and protobuf under Windows.