07 2013 档案

摘要:下载opencv2.46的库,假设解压到OpenCV246,设置如下:在工程的c++的include目录下添加:OpenCV246\opencv\build\include在工程的c++的lib目录下添加:OpenCV246\opencv\build\x86\vc10\staticlib#include "stdafx.h"#include // 这几个依赖库文件必须要添加, // 因为这些是OpenCV所使用的第三方库 #pragma comment( lib, "libjasperd.lib" ) #pragma comment( lib, &quo 阅读全文

posted @ 2013-07-31 16:00 sunws_king 阅读(498) 评论(0) 推荐(0)

摘要:winxp系统,使用VS2010,在使用boost中的thread中的sleep的时候出现“无法定位程序输入点GetTickCount64 在动态链接库kernel32.dll上”的错误,在网上搜索了解决方案,例如:(http://zhidao.baidu.com/question/525243508.html)都无法解决。在参考http://software.intel.com/en-us/forums/topic/345090后得到解决方法:1.在“stdafx.h”中#include 之前定义:#define _WIN32_WINNT 0x05012.重新生成解决方案至此可以正确使用bo 阅读全文

posted @ 2013-07-31 11:03 sunws_king 阅读(10095) 评论(0) 推荐(0)

摘要:在不使用lib库编译daytime client程序时,按照《Boost程序库完全开发指南》添加的定义#define BOOST_REGEX_NO_LIB#define BOOST_DATE_TIME_SOURCE#define BOOST_SYSTEM_NO_LIB编译时会产生:error LNK2019: 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boos 阅读全文

posted @ 2013-07-24 12:27 sunws_king 阅读(1643) 评论(0) 推荐(0)

摘要:基于boost库1.54 和vs2010首先:大部分的库是不需要编译的Most Boost libraries are header-only: they consist entirely of header files containing templates and inline functions, and require no separately-compiled library binaries or special treatment when linking.其次,单独编译的库The only Boost libraries that must be built separat 阅读全文

posted @ 2013-07-24 11:52 sunws_king 阅读(303) 评论(0) 推荐(0)

摘要:这类的工具有 比如 :LeakDiag leakfinder "Visual Leak Detector" vld可以从http://vld.codeplex.com/releases/view/82311 现在最新版本,包括src源代码。安装好以后,他会提示 要求添加 dll 到环境变量中去。使... 阅读全文

posted @ 2013-07-24 09:45 sunws_king 阅读(288) 评论(0) 推荐(0)

导航