问题描述
我有cvBlob安装/编译成困难OpenCV的微软Visual Studio 2010中的窗口。我理解的是在Linux上安装指导工作,但我怎么也找不到它可以在窗口中完成。
I'm having difficulty of installation/ compilation of cvBlob into OpenCV Microsoft Visual Studio 2010 in WINDOW. I understood that there is a installation guide work on linux but I couldn't find how it can be done in Window.
我想AP preciate如果有人可以提供我在窗口中的安装指南,因为我发现,cvBlob是我project.Thanks非常有用
I would appreciate if someone may provide me the installation guide in WINDOW as I found that cvBlob is very useful for my project.Thanks
推荐答案
对于一时没有pre-内置的,所以你将不得不自己编译。
For the moment there is no pre-built cvBlob for Visual Studio, so you are going to have to compile it yourself.
所以,如果你开始,请确保您有 OpenCV的安装在计算机中。
So before you start, make sure you have OpenCV installed in your computer.
。 CMake的创建需要编译cvBlob Visual Studio项目文件。
Download CMake for Windows. CMake creates the Visual Studio project files that are needed to compile cvBlob.
一旦你打开的 cmake的桂,填写编辑框的哪里是源头code的和的在哪里建立二进制文件 的相应(这些调整您的设置):
Once you open cmake-gui, fill in the edit boxes "Where is the source code" and "Where to build the binaries" accordingly (adjust these to your settings):
- C:/ Documents和设置/用户/ Meus documentos /下载/ cvblob-0.10.3-SRC / cvblob
- C:/ Documents和设置/用户/ Meus documentos /下载/ cvblob-0.10.3-SRC / cvblob /编译
注:在构建文件夹手动创建
点击按钮的配置,以检查相关性(CMake的将试图找到您的计算机上OpenCV的),然后在生成,因此它可以生成Visual Studio项目文件。
Click on button Configure to check for dependencies (CMake will try to find OpenCV on your computer) and then on Generate so it can generate the Visual Studio project files.
从这里开始,这是标准的编制程序。
From here on it's the standard compilation procedures.
这篇关于如何配置Visual Studio 2010中使用OpenCV的cvblobs库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!