我正在使用OpenCV和MS Visual Studio来简单地检测样本图像中的Surf功能。它编译和构建都很好,但在位于:
的xmemory0()文件中给出了运行时错误c:\ Program Files(x86)\ Microsoft Visual Studio 14.0 \ VC \ include \ xmemory0
调试器在xmemory0()中的以下块中断:
#ifdef _DEBUG
// If the following asserts, it likely means that we are performing
// an aligned delete on memory coming from an unaligned allocation.
_SCL_SECURE_ALWAYS_VALIDATE(
reinterpret_cast<uintptr_t *>(_Ptr_ptr)[-1] ==
_BIG_ALLOCATION_SENTINEL);#endif /* _DEBUG */
我似乎无法理解这个问题。任何想法都会受到赞赏。