2013年7月1日

USB events thread - failed to set priority

摘要: ubuntu + openni + nite,出现 Warning:USB events thread - failed to set priority xn::ImageGenerator imageGen; nRetVal = imageGen.Create(context); nRetVal = imageGen.SetMapOutputMode(mapMode); xn::DepthGenerator depthGen; nRetVal = depthGen.Create(context); nRetVal = depthGen.SetMapOutputMode(mapMode);把后 阅读全文

posted @ 2013-07-01 10:01 wps712 阅读(1528) 评论(0) 推荐(0) 编辑

2013年6月28日

ubuntu安装amd/ati显卡驱动

摘要: 原网页:http://forum.ubuntu.org.cn/viewtopic.php?f=126&t=390372整合了几个帖子,大概如此:用以下命令卸载所有驱动:代码:sudo sh /usr/share/ati/fglrx-uninstall.sh代码:sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev* xorg-driver-fglrx重启一下,首先安装需要的的驱动环境:代码:sudo apt-get install dpkg build-essential cdbs dh-make dkm 阅读全文

posted @ 2013-06-28 10:19 wps712 阅读(5368) 评论(0) 推荐(0) 编辑

2013年6月27日

ubuntu12.04+openni+nit+SensorKinect环境搭建

摘要: 一。安装openni1.下载openni OpenNI-Bin-Dev-Linux-x64-v1.5.4.0.tar.bz22.cd ~; mkdir kinect; cd kinect3.tar xjvf ../OpenNI-Bin-Dev-Linux-x64-v1.5.4.0.tar.bz24.cd OpenNI-Bin-Dev-Linux-x64-v1.5.4.0 ; sudo ./install.sh二。安装sensorkinect(驱动)1.cd ~ ; git clone https://github.com/avin2/SensorKinect.git 若干没安装... 阅读全文

posted @ 2013-06-27 16:08 wps712 阅读(2212) 评论(0) 推荐(0) 编辑

2013年5月26日

vim配置文件,解决没有颜色问题

摘要: 在用户主目录下建立 .vimrc文件,用户也可以在/etc/vimrc(/etc/vim/vimrc不同版本,可能不一样),全局添加下面内容:"语法高亮syntax on"显示行号set nu"修改默认注释颜色hi Comment ctermfg=DarkCyan"允许退格键删除set backspace=2"启用鼠标set mouse=aset selection=exclusiveset selectmode=mouse,key"侦测文件类型filetype on"载入文件类型插件filetype plugin on&q 阅读全文

posted @ 2013-05-26 09:01 wps712 阅读(10021) 评论(0) 推荐(0) 编辑

2013年5月23日

不重装系统修改活动分区

摘要: 用DiskGenius激活C盘为活动分区,然后用NTbootautofix修复系统引导到C盘。 阅读全文

posted @ 2013-05-23 20:59 wps712 阅读(400) 评论(0) 推荐(0) 编辑

2013年5月22日

dd for windows制作usb启动盘

摘要: 1、打开命令行2、cd到dd目录3、运行命令:dd --list4、找到u盘(红色)Win32 Available Volume Information\\.\Volume{7cf2f59c-6207-11e1-b81a-806e6f6e6963}\ link to \\?\Device\HarddiskVolume1 fixed media Mounted on \\.\c:\\.\Volume{9ba58399-a85a-11e1-b19f-005056c00008}\ link to \\?\Device\HarddiskVolume5 removeable media Mounted 阅读全文

posted @ 2013-05-22 12:49 wps712 阅读(4563) 评论(0) 推荐(0) 编辑

2013年4月23日

Visual C++ 6.0 go to definition提示the symbol is undefined

摘要: 把debug下的bsc文件删除,重新编译即可(build - rebuild all) 阅读全文

posted @ 2013-04-23 20:24 wps712 阅读(763) 评论(0) 推荐(0) 编辑

2013年4月22日

VC warning C4786

摘要: 一般标示符长度超过255字符,一般在使用STL时出现,如使用了map或vector等。解决方法,在#include <map.h>之前加入下句:#pragma warning(disable: 4786) 阅读全文

posted @ 2013-04-22 14:15 wps712 阅读(306) 评论(0) 推荐(0) 编辑

2013年4月21日

Vc error C2629: unexpected 'class***或error C2501: missing storage-class or type specifiers

摘要: 可能是头文件相互包含如a.h中有include b.hb.h中有include a.h解决方法:把b.h中include a.h去掉,并把该句加入到b.cpp中。即在b的cpp文件中包含a的头文件,而不是在b的头文件中包含。或者可能是构造函数的参数类型找不到(没包含相应头文件或者类型名写错了) 阅读全文

posted @ 2013-04-21 23:50 wps712 阅读(8424) 评论(0) 推荐(0) 编辑

2012年10月20日

ubuntu12.04 安装opencv

摘要: 1 编译环境 sudo apt-get install build-essential2安装GTK环境 sudoapt-getinstalllibgtk2.0-dev 3编译GTK程序时自动找出头文件及库文件位置 sudoapt-getinstallpkg-config 4 安装cmake sudo apt-get install cmake5 下载源码 opencv2.4 并解压,进入opencv2.46 mkdirrelease ;cdrelease7生成makefile(..代表父目录) cmake.. 8 编译安装make;sudo make install9 配置必要的库sudoge 阅读全文

posted @ 2012-10-20 23:42 wps712 阅读(2176) 评论(0) 推荐(0) 编辑

导航