Aravis 库编译方法

Aravis 库编译方法

March 21, 2015 9:40 PM

首先下载 aravis 库的源代码:aravis 库下载地址

这里我们使用的是 aravis_0_2_0,比较老的一个版本。

首先是安装方法,这个库需要很多依赖软件,在安装前应该执行下面指令来安装一些软件:

sudo apt-get install autoconf intltool python-gobject-dev gobject-introspection gtk-doc-tools libgstreamer0.10-dev python-gst0.10-dev libxml2-dev

然后依次执行:

autogen.sh
configure
sudo make install

在执行 configure 时可以加一些参数:

--enable-viewer
Build the aravis example application that allows basic interaction with your camera.

--enable-gst-plugin
Build the aravis gstreamer plugin.

--enable-gst-plugin-0.10
Build the aravis gstreamer-0.10 plugin.

--enable-gtk-doc
Build the aravis documentation.

--enable-introspection=yes
Allow interaction with aravis trough gobject interospection.This allows usage of aravis in non-c based languages like Python or Perl.

--enable-silent-rules
posted @ 2015-03-21 21:47  Open_ShiFt  阅读(1708)  评论(0编辑  收藏  举报