Building OpenCV_contrib for OpenCV 3, Windows GUI
来源:互联网 发布:如何注册网站域名 编辑:程序博客网 时间:2024/05/21 06:35
本文转自:http://www.answers.opencv.org/question/45782/building-opencv_contrib-for-opencv-3-windows-gui/
I am using CMake 3.0.2 GUI on Windows 7. So far, I haven't found a command line version so I am using the GUI.
The steps I am using (from the readme):
start cmake-gui
select the opencv source code folder and the folder where binaries will be built (the 2 upper forms of the interface)
press the configure button. you will see all the opencv build parameters in the central interface
browse the parameters and look for the form called OPENCV_EXTRA_MODULES_PATH (use the search form to focus rapidly on it)
complete this OPENCV_EXTRA_MODULES_PATH by the proper pathname to the <opencv_contrib>/modules value using its browse button.
press the configure button followed by the generate button (the first time, you will be asked which makefile style to use)
build the opencv core with the method you chose
Here is how the folder containing the sources and build looks like:
So the Master branch is in the "Sources" folder and the extra module are in the "Contrib" folder.
Following the instructions, the CMake part seems to work well. But, when I try to build it in Visual Studio, various errors about "No such files or directory" in "descriptors.hpp" and "types.hpp" and some problems with undeclared identifiers in the Saliency module.
There could be a lot of reasons for this. A knowledgeable person told me in a comment that I should launch CMake from the same build folder than for the main repo, but I don't see how with the GUI...
- Building OpenCV_contrib for OpenCV 3, Windows GUI
- opencv 3加opencv_contrib配置
- OpenCV 3.1.0 + opencv_contrib编译(Windows)
- OpenCV 3.2.0 + opencv_contrib编译(Windows)
- Building OpenCV for iPhone
- 【OpenCV】OpenCV 3.1.0 + opencv_contrib编译(Windows)
- Building FFplay for Windows
- Building Crosswalk For Windows
- OpenCV 3.1.0添加opencv_contrib模块(Windows)
- Windows平台下编译OpenCV扩展的opencv_contrib
- OpenCV 3.1.0添加opencv_contrib模块(Windows)
- 在Windows下编译扩展OpenCV 3.1.0 + opencv_contrib
- Windows下编译扩展OpenCV 3.1.0 + opencv_contrib
- Windows环境下编译OpenCV3.1和OpenCV_contrib for vs2008
- opencv/opencv_contrib install
- Building OpenCV for ARM Cortex-A8
- OpenCV学习笔记(八)—— OpenCV 3.1.0 + opencv_contrib编译(Windows)
- 编译OpenCV for windows
- 中国考生备考SAT数学中最容易出现的三大问题
- !leetcode[153 & 154]:Find Minimum in Rotated Sorted Array I & II
- 游戏设计的艺术:一本透镜的书——第十九章 世界包含着各种空间
- 根据xml生成xsd,根据xsd生成bean
- Spring缓存池组件冲突问题
- Building OpenCV_contrib for OpenCV 3, Windows GUI
- 第2讲 ZF2.4 最新框架搭建
- android工程从eclipse导入到android studio 不成功
- 涉及数据包的一些操作 的常用工具以及库
- RSA加密解密及数字签名Java实现
- 游戏设计的艺术:一本透镜的书——第二十章 世界的外观和感觉是由其美感界定的
- Linux引导层找回
- easyui 可编辑表格
- Android Animation