想在 windows 下使用 glog,使用类似FLAGS_max_log_size 来设置参数,结果编译报错。解决办法是在 项目属性 -> C/C++ -> Preprocessor -> Preprocessor Definitions 加入GOOGLE_GLOG_DLL_DECL=。
分类:
其他好文 时间:
2014-06-26 00:32:21
阅读次数:
814
Connection test failed. Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in conn...
分类:
Web程序 时间:
2014-06-25 23:48:58
阅读次数:
387
1. 只返回404 Status Code,自定义404页面在IIS的Error Pages中配置。2. 设置Response.SuppressContent为true,以防有响应内容被发给客户端。3. 以前喜欢用霸道的Response.End()强制中止当前线程,而用Context.Applica...
分类:
Web程序 时间:
2014-06-25 23:28:59
阅读次数:
215
NSFileManager *manager = [[NSFileManager alloc]init]; if ([manager isDeletableFileAtPath:filePath]) { [manager removeItemAtPath:filePath error:nil...
分类:
其他好文 时间:
2014-06-25 22:56:17
阅读次数:
205
1、libpng 对GIMP生成的png报错 libpng warning: iCCP: known incorrect sRGB profile libpng 对GIMP生成的png报错libpng warning: iCCP: known incorrect sRGB profile原因是新版的...
分类:
其他好文 时间:
2014-06-25 21:40:04
阅读次数:
171
java JNI 调试出现的错误ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() return code = -2JDWP exit error AGENT_ERROR_NO_JNI_ENV(183): [../../../s....
分类:
编程语言 时间:
2014-06-25 21:02:35
阅读次数:
395
添加了一个Dialog资源,修改了ID之后右击资源添加了一个类,在类里面有一个成员变量:// 对话框数据 enum { IDD = IDD_GETIN };而在编译过程中出现报错,错误代号是error C2065 : 未声明的标识符,我的第一反应是为什么我没通过手动添加资源而是通过VS添加都会出现这...
分类:
其他好文 时间:
2014-06-25 20:45:45
阅读次数:
223
Android开发环境搭建时遇到问题的解决方法
错误1:
The connection to adb is down, and a severe error has occured.
[2013-08-31 16:11:56 -com.qihoo.subject]
You must restart adb and Eclipse.
[2013-08-31 16:11:56...
分类:
移动开发 时间:
2014-06-24 23:51:52
阅读次数:
514
1.Could not find gem 'sqlite3 (>= 0)' in any of the gem sources listed in you
r Gemfile
2.ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions into the /usr/local/lib/ruby/gems/1.9.1 director.y
3.rails 3遇到 Could n...
分类:
其他好文 时间:
2014-06-24 22:18:45
阅读次数:
316
You have been logged on with a temporary profile on windows2008 R2After looking into this issue, I saw the following user profiles and I didn’t see my...
分类:
其他好文 时间:
2014-06-24 21:25:26
阅读次数:
201