2013年7月1日

win32程序应用mfc库

摘要: 引入此时会出现如下错误:#ifdef _DLL#ifndef _AFXDLL#error Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d]#endif#endif修改项目属性,把 “MFC的使用”项改成“在共享 DLL 中使用 MFC” ,并把stdafx.h中的#include 注释掉。 阅读全文

posted @ 2013-07-01 12:59 wps712 阅读(288) 评论(0) 推荐(0) 编辑

error LNK2005: _DllMain@12 已经在 dllmain.obj 中定义

摘要: 在dllmian.cpp文件里添加#ifdef_X86_extern"C"{int_afxForceUSRDLL;}#elseextern"C"{int__afxForceUSRDLL;}#endif 阅读全文

posted @ 2013-07-01 12:54 wps712 阅读(624) 评论(0) 推荐(0) 编辑

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 阅读(1521) 评论(0) 推荐(0) 编辑

导航