cvBlob:OSX安装 [英] cvBlob: OSX installation

查看:247
本文介绍了cvBlob:OSX安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人能够给我一个快速教程,如何在osx 10.7上安装 cvBlob ?在他们的网站上,他们只提到linux和windows。链接也会受欢迎,因为我找不到任何教程如何做到这一点。



我试图做的基于linux教程,做了cmake与一个额外的条目与referes我的opencv文件夹。 cmake工作,但是当我做make命令,我得到这个错误:





我需要做什么?





>



提前Thx

解决方案

为了快速概述cvBlob如何工作:



1)下载最新的 cvBlob



2)解压缩



3)导航到cvBlob / cvBlob并打开CMakeLists.txt

4)添加此代码:

  if(APPLE)
target_link_libraries(cvblob $ {OpenCV_LIBS})
endif()

UNDERNEATH

  add_library(cvblob SHARED $ {cvBlob_CVBLOB})

5)打开cmake程序,选择cmake文件所在文件夹的路径。
并选择您想要您的库的路径



6)执行



7 )打开终端,转到文件夹



8)然后你得到一个makefile,你可以 sudo make install



9)要在xcode中使用cvBlob,你必须将 libcvblob.dylib


Is someone able to give me a quick tutorial how to install cvBlob on osx 10.7 ? On their site they only mention linux and windows. A link would also be welcome, because i can't find any tutorial how to do this.

I tried to do it based on the linux tutorial and did the cmake with an extra entry with referes to my opencv folder. The cmake worked but When i do the make command, i get this error :

what do i have to do ?

the cmake:

Thx in advance

解决方案

To give a quick overview how i got cvBlobs working :

1) download the latest cvBlob

2) Extract it

3) Navigate to cvBlob/cvBlob and open the CMakeLists.txt

4) Add this code :

if(APPLE)
   target_link_libraries(cvblob ${OpenCV_LIBS})
endif()

UNDERNEATH

add_library(cvblob SHARED ${cvBlob_CVBLOB})

5) open your cmake program and select the path to the folder where said cmake file is. And select a path where you want your libs to be

6) Execute it

7) Open terminal, go to the folder

8) Then you get a makefile which you can sudo make install

9) To use the cvBlob in xcode you have to add the 'libcvblob.dylib' to the other linker flags.

这篇关于cvBlob:OSX安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆