array(2) { ["docs"]=> array(10) { [0]=> array(10) { ["id"]=> string(3) "428" ["text"]=> string(77) "Visual Studio 2017 单独启动MSDN帮助(Microsoft Help Viewer)的方法" ["intro"]=> string(288) "目录 ECharts 异步加载 ECharts 数据可视化在过去几年中取得了巨大进展。开发人员对可视化产品的期望不再是简单的图表创建工具,而是在交互、性能、数据处理等方面有更高的要求。 chart.setOption({ color: [ " ["username"]=> string(8) "DonetRen" ["tagsname"]=> string(55) "Visual Studio 2017|MSDN帮助|C#程序|.NET|Help Viewer" ["tagsid"]=> string(23) "[401,402,403,"300",404]" ["catesname"]=> string(0) "" ["catesid"]=> string(2) "[]" ["createtime"]=> string(10) "1511400964" ["_id"]=> string(3) "428" } [1]=> array(10) { ["id"]=> string(3) "427" ["text"]=> string(42) "npm -v;报错 cannot find module "wrapp"" ["intro"]=> string(288) "目录 ECharts 异步加载 ECharts 数据可视化在过去几年中取得了巨大进展。开发人员对可视化产品的期望不再是简单的图表创建工具,而是在交互、性能、数据处理等方面有更高的要求。 chart.setOption({ color: [ " ["username"]=> string(4) "zzty" ["tagsname"]=> string(50) "node.js|npm|cannot find module "wrapp“|node" ["tagsid"]=> string(19) "[398,"239",399,400]" ["catesname"]=> string(0) "" ["catesid"]=> string(2) "[]" ["createtime"]=> string(10) "1511400760" ["_id"]=> string(3) "427" } [2]=> array(10) { ["id"]=> string(3) "426" ["text"]=> string(54) "说说css中pt、px、em、rem都扮演了什么角色" ["intro"]=> string(288) "目录 ECharts 异步加载 ECharts 数据可视化在过去几年中取得了巨大进展。开发人员对可视化产品的期望不再是简单的图表创建工具,而是在交互、性能、数据处理等方面有更高的要求。 chart.setOption({ color: [ " ["username"]=> string(12) "zhengqiaoyin" ["tagsname"]=> string(0) "" ["tagsid"]=> string(2) "[]" ["catesname"]=> string(0) "" ["catesid"]=> string(2) "[]" ["createtime"]=> string(10) "1511400640" ["_id"]=> string(3) "426" } [3]=> array(10) { ["id"]=> string(3) "425" ["text"]=> string(83) "深入学习JS执行--创建执行上下文(变量对象,作用域链,this)" ["intro"]=> string(288) "目录 ECharts 异步加载 ECharts 数据可视化在过去几年中取得了巨大进展。开发人员对可视化产品的期望不再是简单的图表创建工具,而是在交互、性能、数据处理等方面有更高的要求。 chart.setOption({ color: [ " ["username"]=> string(7) "Ry-yuan" ["tagsname"]=> string(33) "Javascript|Javascript执行过程" ["tagsid"]=> string(13) "["169","191"]" ["catesname"]=> string(0) "" ["catesid"]=> string(2) "[]" ["createtime"]=> string(10) "1511399901" ["_id"]=> string(3) "425" } [4]=> array(10) { ["id"]=> string(3) "424" ["text"]=> string(30) "C# 排序技术研究与对比" ["intro"]=> string(288) "目录 ECharts 异步加载 ECharts 数据可视化在过去几年中取得了巨大进展。开发人员对可视化产品的期望不再是简单的图表创建工具,而是在交互、性能、数据处理等方面有更高的要求。 chart.setOption({ color: [ " ["username"]=> string(9) "vveiliang" ["tagsname"]=> string(0) "" ["tagsid"]=> string(2) "[]" ["catesname"]=> string(8) ".Net Dev" ["catesid"]=> string(5) "[199]" ["createtime"]=> string(10) "1511399150" ["_id"]=> string(3) "424" } [5]=> array(10) { ["id"]=> string(3) "423" ["text"]=> string(72) "【算法】小白的算法笔记:快速排序算法的编码和优化" ["intro"]=> string(288) "目录 ECharts 异步加载 ECharts 数据可视化在过去几年中取得了巨大进展。开发人员对可视化产品的期望不再是简单的图表创建工具,而是在交互、性能、数据处理等方面有更高的要求。 chart.setOption({ color: [ " ["username"]=> string(9) "penghuwan" ["tagsname"]=> string(6) "算法" ["tagsid"]=> string(7) "["344"]" ["catesname"]=> string(0) "" ["catesid"]=> string(2) "[]" ["createtime"]=> string(10) "1511398109" ["_id"]=> string(3) "423" } [6]=> array(10) { ["id"]=> string(3) "422" ["text"]=> string(64) "JavaScript数据可视化编程学习(二)Flotr2,雷达图" ["intro"]=> string(288) "目录 ECharts 异步加载 ECharts 数据可视化在过去几年中取得了巨大进展。开发人员对可视化产品的期望不再是简单的图表创建工具,而是在交互、性能、数据处理等方面有更高的要求。 chart.setOption({ color: [ " ["username"]=> string(7) "chengxs" ["tagsname"]=> string(28) "数据可视化|前端学习" ["tagsid"]=> string(9) "[396,397]" ["catesname"]=> string(18) "前端基本知识" ["catesid"]=> string(5) "[198]" ["createtime"]=> string(10) "1511397800" ["_id"]=> string(3) "422" } [7]=> array(10) { ["id"]=> string(3) "421" ["text"]=> string(36) "C#表达式目录树(Expression)" ["intro"]=> string(288) "目录 ECharts 异步加载 ECharts 数据可视化在过去几年中取得了巨大进展。开发人员对可视化产品的期望不再是简单的图表创建工具,而是在交互、性能、数据处理等方面有更高的要求。 chart.setOption({ color: [ " ["username"]=> string(4) "wwym" ["tagsname"]=> string(0) "" ["tagsid"]=> string(2) "[]" ["catesname"]=> string(4) ".NET" ["catesid"]=> string(7) "["119"]" ["createtime"]=> string(10) "1511397474" ["_id"]=> string(3) "421" } [8]=> array(10) { ["id"]=> string(3) "420" ["text"]=> string(47) "数据结构 队列_队列实例:事件处理" ["intro"]=> string(288) "目录 ECharts 异步加载 ECharts 数据可视化在过去几年中取得了巨大进展。开发人员对可视化产品的期望不再是简单的图表创建工具,而是在交互、性能、数据处理等方面有更高的要求。 chart.setOption({ color: [ " ["username"]=> string(7) "idreamo" ["tagsname"]=> string(40) "C语言|数据结构|队列|事件处理" ["tagsid"]=> string(23) "["246","247","248",395]" ["catesname"]=> string(12) "数据结构" ["catesid"]=> string(7) "["133"]" ["createtime"]=> string(10) "1511397279" ["_id"]=> string(3) "420" } [9]=> array(10) { ["id"]=> string(3) "419" ["text"]=> string(47) "久等了,博客园官方Android客户端发布" ["intro"]=> string(288) "目录 ECharts 异步加载 ECharts 数据可视化在过去几年中取得了巨大进展。开发人员对可视化产品的期望不再是简单的图表创建工具,而是在交互、性能、数据处理等方面有更高的要求。 chart.setOption({ color: [ " ["username"]=> string(3) "cmt" ["tagsname"]=> string(0) "" ["tagsid"]=> string(2) "[]" ["catesname"]=> string(0) "" ["catesid"]=> string(2) "[]" ["createtime"]=> string(10) "1511396549" ["_id"]=> string(3) "419" } } ["count"]=> int(200) } 222 opencv配置过程 (cmake,vs2013,qt 5.4) - 爱码网

平台及软件:

Windows 7 X86

Visual Studio 2013

OpenCV3.0.0

Cmake3.3

 

1、下载Windows下的安装文件OpenCV-3.0.0.exe,解压,选择需要的安装目录即可。(本文为F:\opencv)

     注意相应的目录不能包含中文。

2、Cmake编译

     执行CMake,用于把OpenCV的源码生成对应的VS工程。

opencv配置过程 (cmake,vs2013,qt 5.4)

1)设置OpenCV的安装文件路径(Where is the source code)和想要生成的文件路径(Where to build the binaries)

      安装文件路径必须包括cmakelists文件,想要生成的文件路径任意。

2)点击左下方Configure,在弹出的窗口中选择Visual Studio 2012 (VS2013 可用),其他默认

     注:在configure前需要先配置环境变量,将QT的D:\Qt\Qt5.4.1\5.4\msvc2013_opengl\bin加入,否则无法cmake

     点击Finish即开始配置,配置完成如图,原来的设置不动,再选择(勾选)需要加入的文件WITH_QT和WITH_OPENGL,再次configure

     配置完成后,如无错误,红色消失。

3)按Generate。Generate完成后,会有完成提示。

3、VS编译版本库

   以上操作完成后,就可以在生成的目录下找到对应的工程文件,打开,进行如下操作。

1) 在Debug下,打开解决方案“OpenCV.sln”,重新生成解决方案;

2)生成成功后,选择INSTALL项目,右键运行生成;

3)在Release下进行1-2步的操作;

4)以上操作完成后,针对当前的系统的OpenCV库就生成了。

 

4、包含目录

   用Qt Creator编译opencv的时候,在创建一个新工程后,还需要在该工程的工程文件.pro文件内添加下列语句:

INCLUDEPATH+=  F:\OpenCV\install\include

                          F:\OpenCV\install\include\opencv

                          F:\OpenCV\install\include\opencv2

//添加需要使用的相关库

 CONFIG(debug, debug|release):

{

LIBS +=F:\opencv\cmake\install\x86\vc12\lib\opencv_core300d.dll \

       F:\opencv\cmake\install\x86\vc12\lib\opencv_calib3d300d.dll \

       F:\opencv\cmake\install\x86\vc12\lib\opencv_highgui300d.dll \

       F:\opencv\cmake\install\x86\vc12\lib\opencv_imgproc300d.dll\

       F:\opencv\cmake\install\x86\vc12\lib\opencv_objdetect300d.dll \

       F:\opencv\cmake\install\x86\vc12\lib\opencv_photo300d.dll \

       F:\opencv\cmake\install\x86\vc12\lib\opencv_video300d.dll \

       F:\opencv\cmake\install\x86\vc12\lib\opencv_videoio300d.dll \

       F:\opencv\cmake\install\x86\vc12\lib\opencv_flann300d.dll \

       F:\opencv\cmake\install\x86\vc12\lib\opencv_features2d300d.dll

}

CONFIG(release, debug|release):

{

LIBS +=F:\opencv\cmake\install\x86\vc12\lib\opencv_core300.dll\

       F:\opencv\cmake\install\x86\vc12\lib\opencv_calib3d300.dll\

       F:\opencv\cmake\install\x86\vc12\lib\opencv_highgui300.dll\

       F:\opencv\cmake\install\x86\vc12\lib\opencv_imgproc300.dll\

       F:\opencv\cmake\install\x86\vc12\lib\opencv_objdetect300.dll\

       F:\opencv\cmake\install\x86\vc12\lib\opencv_photo300.dll\

       F:\opencv\cmake\install\x86\vc12\lib\opencv_video300.dll\

       F:\opencv\cmake\install\x86\vc12\lib\opencv_videoio300.dll\

       F:\opencv\cmake\install\x86\vc12\lib\opencv_flann300.dll\

       F:\opencv\cmake\install\x86\vc12\lib\opencv_features2d300.dll

}

 

 新版OpenCV将以往多个库集成到2个库文件F:\opencv\build\x86\vc12\lib\opencv_ts300.libF:\opencv\build\x86\vc12\lib\opencv_ts300.lib中,仅将这两个库文件加载到Qt的.pro文件中即可,不用再进行Cmake编译生成QT/VS可用的库。以往常用的大部分库文件可以在F:\opencv\build\x86\vc12\staticlib中找到,也可以将此文件夹中的相应库文件加入.pro文件中。用opencv自带的库,运行没有出现问题。

 INCLUDEPATH += F:/opencv/build/include\

              F:/opencv/build/include/opencv \

              F:/opencv/build/include/opencv2

 

 CONFIG(debug, debug|release):

{

LIBS += F:\opencv\build\x86\vc12\lib\opencv_ts300d.lib\

             F:\opencv\build\x86\vc12\lib\opencv_world300d.lib

 }

CONFIG(release, debug|release):

{

LIBS +=F:\opencv\build\x86\vc12\lib\opencv_ts300.lib \

            F:\opencv\build\x86\vc12\lib\opencv_world300.lib

}


参考:http://blog.sina.com.cn/s/blog_8b6c17eb0101l7zd.html

        http://wenku.baidu.com/link?url=y28kjOhDWMYpj0aMW79hOkbGIXbiKOfUG68cAC-Ji4g-X-_NulMYMoUhly6kApcD_0KwHLGISJ0uHI5kHjE575UIR6Ay7fW36sVMIeWkmgm

 

 

相关文章: