1、有可能是装了多个libevent而导致memcache无法识别哪一个,解决方法就是卸载掉一个libevent2、只安装了一个libevent,但是也报这个错,解决方法 32位系统下:ln -s /usr/lib/libevent-1.4.so.1/usr/lib/64位系统下:ln -s ...
分类:
系统相关 时间:
2014-10-28 17:25:34
阅读次数:
201
我遇到如下问题:
int count=0;
listener->onTouchMoved=[count](Touch* t,Event* e){
count++;
log("onTouchMoved");
};
Xcode下的编译错误为:Cannot assign to a variable captured by copy...
分类:
编程语言 时间:
2014-10-28 13:58:42
阅读次数:
166
方法:
1、将mysql_upgrade.exe和mysqlcheck.exe两个文件复制到 APMServ5.2.6\MySQL5.1\bin目录下。
2、开始->运行->输入cmd回车,在操作提示符下输入 E:\APMServ5.2.6\MySQL5.1\bin\mysql_upgrade -u root -p (数据库用户名和密码) 然后回车,待运行完之后关闭DOS窗口。(将其中的E:\APMserv5.2.6改成你自己实际安装的目录即可)
3、停止APMserv后再重新启动APMserv一次(最好重...
分类:
其他好文 时间:
2014-10-28 12:15:48
阅读次数:
195
Thread 1 cannot allocate new log的问题分析发生oracle宕机事故,alert文件中报告如下错误:Fri Jan 12 04:07:49 2007Thread 1 cannot allocate new log, sequence 187398Checkpoint n...
分类:
其他好文 时间:
2014-10-28 11:37:05
阅读次数:
278
A map maps keys to values.Maps must be created withmake(notnew) before use; thenilmap is empty and cannot be assigned to.package main import "fmt"type...
分类:
其他好文 时间:
2014-10-28 00:18:07
阅读次数:
184
1、全屏、缩放模式和对齐选项的设置在主Application中获取stage要使用[this.]systemManager.stage,而不是[this.]stage,因为在Application的initialize和creationComplete事件处理函数中,Application的stage都为null!设置全屏可以在Application的creationComplete事件处理函..
分类:
其他好文 时间:
2014-10-27 19:46:34
阅读次数:
215
进入21世纪,开发Windows程序已经成为以Dll为基础,而.NET Framwork也日益成为我们开发软件的有利工具,下边我们就来先看一下,学习.net的一些必备基础知识。 一,首先.net是由公共语言执行时期(CLR)与基底类别库(BCL)组成。这两个东西是什么呢?我们先来看一下: 1,CL....
分类:
Web程序 时间:
2014-10-27 19:13:51
阅读次数:
233
#define PDE_FLG_RW (1<<1)
#define PDE_FLG_US (1<<2)
#define PDE_FLG_RWT (1<<3)
#define PDE_FLG_PCD (1<<4)
/*
* initialize to be zero for page directory and page table
*/
static __SECTION_ZERO_INIT("P...
分类:
其他好文 时间:
2014-10-27 17:37:25
阅读次数:
155
选择一个文件,也可以正确上传至服务器,但您会发现文件大于2048的时候,出现:Internet Explorer显示 "The page cannot be displayed - Cannot find server or DNS Error",并且是怎么也catch不了这个错误。解决的办法如下:...
分类:
Web程序 时间:
2014-10-27 17:34:30
阅读次数:
167
Given an array where elements are sorted in ascending order, convert it to a height balanced BST.Solution:/** * Definition for binary tree * public cl...
分类:
其他好文 时间:
2014-10-27 06:51:31
阅读次数:
137