Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Error building opencv3.4.1 windows10 and cmake3.11
Forum Updated to NodeBB v4.3 + New Features

Error building opencv3.4.1 windows10 and cmake3.11

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
2 Posts 2 Posters 1.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jalal_ba
    wrote on 8 Mar 2018, 15:55 last edited by
    #1

    Hi
    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[2]: *** [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[1]: *** [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:

    1 Reply Last reply
    0
    • P Offline
      P Offline
      Pablo J. Rogina
      wrote on 8 Mar 2018, 16:23 last edited by
      #2

      @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.

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0

      1/2

      8 Mar 2018, 15:55

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved