- 博客(23)
- 收藏
- 关注
原创 OpenCV应用程序无法正常启动(0xc000007b)解决
64位win7+vs2012+OpenCV2.4.10首先,用管理员模式打开VS2012环境变量:D:\opencv\build\x86\vc11\bin包含目录:D:\opencv\build\include库目录:D:\opencv\build\x86\vc11\lib链接器->输入:opencv_core2410d.libopencv_imgproc2410
2015-02-26 00:38:24
8041
原创 quick-cocos2dx 骨骼动画换装
为啥搜到的资料都是用CCSpriteDisplayData啊...,TestLua里给的例子都写的明明是CCSkin...
2014-07-24 10:23:22
1771
原创 Cocos2d-x 2.x TestCPP启用box2d(CC_ENABLE_BOX2D_INTEGRATION)
1.在TestCPP项目的工程中 项目->属性->
2014-06-08 10:01:19
1072
原创 Eclipse failed to create the java virtual machine简单解决
打开eclipse的时候出现Eclipse failed to create the java virtual machine弹窗。谷歌无解,全是抄的。
2014-05-05 09:00:41
639
转载 EXT复合表头谷歌浏览器Chrome错位解决办法
转载自:http://www.oschina.net/code/snippet_201314_15163Ext.override(Ext.grid.GridView,{ getColumnStyle : function(colIndex, isHeader) { var colModel = this.cm, colConfig = colModel.config, styl
2013-12-12 14:52:20
1130
原创 windows下打开软件提示 未找到提供程序 该程序可能未正确安装
多发生在vb程序访问access时解决:开始->运行->regsvr32 msjetoledb40.dll
2013-09-29 14:33:41
3523
原创 android犯错日记6
尝试使用fragment的时候出错错误信息:Caused by: android.view.InflateException: Binary XML file line #15: Error inflating class fragment解决:1.首先参考了别人的解决方法:在Activity中静态使用fragment的时候,要注意两个地方。Fragment引用的包是:im
2013-05-17 10:27:57
565
转载 linux下载百度网盘文件的方法
源地址:Linux VPS多线程高速下载百度网盘资源的方法(120830) | 没事就捣鼓 http://www.ilucong.net/lulu/linux-vps-axel-baiduwangpan.html我在Linux VPS下载百度网盘资源的方法(120828)这篇文章中介绍的是普通wget下载,由于是单线程,所以速度是比较慢的,我用樱花vps下载百度网盘资源不会超过
2013-05-01 18:38:28
3052
原创 android avd manager.exe闪一下就消失的解决方法
情况是打开avd manager.exe的时候闪一下命令行窗口然后就没反应了。解决方法:删除C:\Documents and Settings\用户名 目录下的.android文件夹。当然模拟器要自己再建一遍了
2013-04-16 08:59:32
3412
原创 rails3.2.1默认数据库sqlite3改为mysql
默认连接的数据库改成了SQLite3 默认数据库改了SQLite3了,不再是MySQL数据库。如果你要使用mysql,可以这样创建Rails项目: rails -d mysql rails_app 见http://www.iteye.com/news/592-rails-2-0-2-will-be-released更改配置文件的方法:更改配置文件:
2013-04-15 17:58:46
1043
原创 android犯错日记5
情况:在string.xml里写项目%s/%s 题时出错,提示Multiple annotations found at this line: - error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false"
2013-03-08 16:49:01
565
原创 记一点小东西
php:0123转ABCDecho chr(1+ord("A"));php:将"emo{12}"转换为"12.gif",也就是提取数字并使用的正则。练习正则中。$str = preg_replace('/emo{(\d+)}/i', $userimg_path.'/${1}.gif', $str);
2013-03-06 14:49:45
468
原创 android犯错日记4
情况:点击登录按钮出错,提示android.os.NetworkOnMainThreadException原因:在主线程中访问了网络API-9以上可以使用StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder().detectDiskReads().detectDiskWrites().detectNetwo
2013-03-03 15:35:27
298
原创 ruby对excel的一些操作
引用require 'win32ole'打开excelexcel13 = WIN32OLE.new("excel.application")workbook13 = excel13.Workbooks.Open("F:/xls/2013.xls")关闭workbook13.closeexcel13.quit新建excel = WIN32O
2013-02-23 00:56:55
471
原创 android犯错日记3
情况:使用httpconnection访问http://localhost/xxx出错,信息为http://localhost refused解决:访问本地的话不能使用localhost,要使用实际IP,比如192.168.0.101
2013-02-17 02:01:51
303
原创 android犯错日记2
状况:尝试用intent打开自己的另一个activity时出错原因:该activity未在Androidmanifest.xml中注册。
2013-02-08 22:03:24
295
原创 android犯错日记1
状况:调试自定义view的时候出错,setContentView出错。原因:自定义view未重写参数为super(Context, AttributeSet)形式的构造函数
2013-02-08 21:56:08
418
原创 Cannot use this in a static context
public class User implements Serializable{ public static final String FILENAME = "users.dat"; private String user_name; private String user_psw; public String getUser_name() { return user_name;
2013-01-14 17:26:42
1777
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人