
Bugs
荪荪
这个作者很懒,什么都没留下…
展开
-
错误:fatal error C1189: #error : The C++ Standard Library forbids macroizing keywords. Enable warning
属性--配置属性-c/c++-预处理器 添加 _XKEYCHECK_H转载 2016-07-27 14:54:37 · 5377 阅读 · 2 评论 -
Error 72 error LNK1181: cannot open input file 'opencv_world310.lib' E:\VC-WORK\FaceTrainVS2010_new\
Error 72 error LNK1181: cannot open input file 'opencv_world310.lib'E:\VC-WORK\FaceTrainVS2010_new\FaceTrainVS2010\LINK解决方法:原创 2016-08-03 16:44:59 · 3787 阅读 · 1 评论 -
Error 30 error C2664: 'HANDLE FindFirstFileW(LPCWSTR,LPWIN32_FIND_DATAW)' : 不能将参数 1 从“char [260]”转换为
Error 30 error C2664: 'HANDLE FindFirstFileW(LPCWSTR,LPWIN32_FIND_DATAW)' : 不能将参数 1 从“char [260]”转换为“LPCWST解决方法:1、把工程设置里去掉UNICODE宏定义 项目->XXX属性->配置属性->常规->字符集 改为 “未设置” 就去掉了unicode支原创 2016-08-04 13:42:44 · 4997 阅读 · 1 评论 -
Error 22 error C1189: #error : The C++ Standard Library forbids macroizing keywords. Enable warning
Error 22error C1189: #error : The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro.c:\program files (x86)\microsoft visual studio 12.0\vc\include原创 2016-08-09 19:40:05 · 4762 阅读 · 1 评论 -
Error 3 error C4996: 'cv::flann::Index_<T>': was declared deprecated c:\open
Error 3 error C4996: 'cv::flann::Index_': was declared deprecated c:\open解决方案:用flaan.hpp的第282行:Index_::Index_(const Mat& dataset, const ::cvflann::IndexParams& params);替换flann.hpp的233行:Index_(cons原创 2016-08-09 20:41:29 · 2054 阅读 · 0 评论 -
Unhandled exception at 0x007be7e0 in test.exe: 0xC0000005: Access violation writing location 0x00000
Unhandled exception at 0x007be7e0 in test.exe: 0xC0000005: Access violation writing location 0x00000010.这个问题除了是访问数组越界,或者空指针还会是什么原因引起的?原创 2016-09-05 20:27:11 · 3910 阅读 · 0 评论 -
【Bug】VS代码运行出现Stack overflow
问题:If there is a handler for this exception, the program may be safely continue解决方法: 在编有递归代码的VS、VC程序中可能会引起栈溢出错误,其实代码本身并没有出错,只是系统分配的栈内存不满足程序需要。 错误提示如下: First-chance exception at 0x00AFE289原创 2016-10-17 21:11:25 · 5661 阅读 · 0 评论 -
【Bug-python】IndexError: list index out of range
报错: IndexError: list index out of range错误提示:代码如下:with open("linux_Yue_01.txt","r") as testFile:testfileList =[splitFileNameAndLabel(filename = v)for v testFile.read().split("\n")]原创 2017-01-21 15:55:49 · 71543 阅读 · 0 评论