Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

....exe has triggered a breakpoint message from VisualStudio is related to some issue with memory management. Read here.

In your case, the code is pretty simple so I suppose you have some issue with project like:

  • you are using inappropriate opencv binary version for your visual studio version (example: VS2012 -> ocv11, VS2013 -> ocv12, VS2015 -> your own OCV build )
  • you are mixing debug libs with release dlls (or reverse), or 32bit with 64bit
  • in the project properties "Multi-threaded Debug DLL (/MDd)" flag is off

After this, clean your project and retry