I am currently using OpenCV-4.5.5-x64 with MinGW and encountering issues when trying to execute the compiled binary. The PATH environment variable is correctly set and includes the /bin/ folder.
However, when I compile using the command below, I encounter the following errors during execution:
1 2 3
The procedure entry point
"_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev"
could not be located in the DLL "C:\OpenCV-MinGW-Build-OpenCV-4.5.5-x64\x64\mingw\bin\libopencv_imgcodecs455.dll".
and
1 2 3 4
The procedure entry point
"_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev"
could not be located in the DLL
"C:\OpenCV-MinGW-Build-OpenCV-4.5.5-x64\x64\mingw\bin\libopencv_imgcodecs455.dll".
and
1 2 3 4
The procedure entry point
"_ZSt28__throw_bad_array_new_lengthv"
could not be located in the DLL
"C:\OpenCV-MinGW-Build-OpenCV-4.5.5-x64\x64\mingw\bin\libopencv_imgproc455.dll".
(please note that contents of the /lib/ directory are in the format libopencv_core455.dll.a)
It appears the linking is done correctly, but I'm unsure of what else could be causing these issues.
Any insights or suggestions would be greatly appreciated.