I try to run the code from calibration, and i'm stuck with this error:
Debug Assertion Failed!
Program:
C:\Users\openCV\Desktop\Git\AzTest\Debug\AzTest.exe
File: c:\program files (x86)\microsoft visual studio 14.0\vc\include\xmemory0
Line: 94
Expression: "_Count <= (size_t)(-1) / _Sz" && 0
For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
To be honest I don't know what else should I do, or why is this error happening.
What is to be noted is that the code used to work on the same PC.
I've modified the code (when it worked, and it worked after I done the changes), code can be found here (The project is there, also it is configured for having the OpenCV directory on C:\opencv.