Problem with OpenCV and MinGW 7.3.2

asked 2019-08-25 03:31:42 -0600

Crazy Sage gravatar image

updated 2019-08-25 04:08:32 -0600

Hello, I have following problem: I'm trying to use opencv in my Qt 5.13\MinGW 7.3.2 app. First I've built openCV with MinGW 5.3.2 (didn't notice that it was in default paths), my app launched, but crashed on cv::imdecode. When I've noticed mingw version mismatch between my app and opencv - I've rebuilt it with MinGW 7.3.2, but now I'm getting following error:

Procedure entry point _ZNSt6thread15_M_start_threadESt10unique_ptrINS_6_StateESt14default_deleteIS1_EEPFvvE isn't found in libopwncv_world411.dll.

Also if I build opencv with Qt support my app is starting to ask for release Qt versions event if built in debug. What am I doing wrong and how it can be fixed?

UPD: tried to build opencv 3.4.7, same problem.

edit retag flag offensive close merge delete

Comments

build opencv with Qt support

please don't do that, if you plan to use opencv in a qt application already

berak gravatar imageberak ( 2019-08-25 10:23:20 -0600 )edit