Ask Your Question

Revision history [back]

I encountered with the same problem in case building project with MS VS2010 building environment and OpenCV version 2.4.10. BTW in case using MS VS2013 build environment it works without heap corruption. In my case the reason was in absence path to the "opencv_core2410d.dll". Just add path in system PATH variable to where located "opencv_core2410d.dll" or copy it in folder where located your executable.

I encountered with the same problem in case building project with MS VS2010 building environment platform toolset and OpenCV version 2.4.10. BTW in case using MS VS2013 build environment it works without heap corruption. In my case the reason was in absence incorrect path to the "opencv_core2410d.dll". OpenCV bin folder. It was "C:\Program Files (x86)\opencv\build\x86*vc12\bin". But for MS VS2010 need to use "C:\Program Files (x86)\opencv\build\x86*vc10\bin". Just add path in system PATH variable to where located "opencv_core2410d.dll" for your specific OpenCV and MSVS version or copy it in folder where located your executable.

I encountered with the same problem in case building project with MS VS2010 building platform toolset and OpenCV version 2.4.10. In my case the reason was in incorrect path to the OpenCV bin folder. It was "C:\Program Files (x86)\opencv\build\x86*vc12\bin". (x86)\opencv\build\x86\vc12\bin". But for MS VS2010 need to use "C:\Program Files (x86)\opencv\build\x86*vc10\bin". (x86)\opencv\build\x86\vc10\bin". Just add path in system PATH variable to where located "opencv_core2410d.dll" for your specific OpenCV and MSVS version or copy it in folder where located your executable.

I encountered with the same problem in case building project with MS VS2010 building platform toolset and OpenCV version 2.4.10.

In my case the reason was in incorrect path to the OpenCV bin folder. It was "C:\Program Files (x86)\opencv\build\x86\vc12\bin".

But for MS VS2010 need to use "C:\Program Files (x86)\opencv\build\x86\vc10\bin". Just add path in system PATH variable to where located "opencv_core2410d.dll" for your specific OpenCV and MSVS version or copy it in folder where located your executable.