DXZ
DXZ

Reputation: 495

OpenCV application crash related to libstdc++-6.dll

I am an opencv, C++, and eclipse CDT starter. I was following a tutorial to learn opencv. However, although I succeeded in compiling my program, it crashed soon after execution. I read through many related Q&A but didn't get a working solution. Any suggestion is highly appreciated. Below is some specification for your reference:

System setting

Detailed procedure

Upvotes: 1

Views: 2776

Answers (1)

DXZ
DXZ

Reputation: 495

Turns out it was not due to the libstdc++-6.dll. The answer of the related thread: OpenVC 2.4.5, eclipse CDT Juno, MinGW error 0xc0000005 actually had solved my problem. I didn't succeed because I left both the pre-built (that came along with opencv download) opencv libraries (*.dll) and the re-built (according to the above solution) libraries exposed under system path. As a result, my program used the pre-built version and ignored the new builds. After I replaced the pre-built *.dll's with the re-built ones, the program ran without any issue.

Upvotes: 1

Related Questions