Installing from Source Under Ubuntu

https://www.libavg.de/site/projects/libavg/wiki/UbuntuSourceInstall

Prerequisite Packages

Start with the installation of all needed packages:

$ sudo apt-get install git automake autoconf libtool libxml2-dev \
libpango1.0-dev librsvg2-dev libgdk-pixbuf2.0-dev libavcodec-dev libavformat-dev \
libswscale-dev libavresample-dev python-dev libboost-python-dev libboost-thread-dev g++ libsdl2-dev \
libxxf86vm-dev libdc1394-22-dev libjpeg-dev linux-libc-dev libvdpau-dev

To support native linux Multitouch devices, you also need to install libxi-dev.

Checkout and Configure

Check the code out from git:

$ git clone https://github.com/libavg/libavg.git

Alternatively, you can download the release tarball from the download page. In that case, you can skip the bootstrap step and just run configure.

Afterward, type:

$ cd libavg
$ ./bootstrap

to get an automated generation of configure.

Run configure (providing optional parameters like --prefix):

$ ./configure

Compilation and Installation

Start compilation with:

$ make -j3

-j3 is the number of parallel compile processes you'd like to run. A good heuristic is to set this to the number of cores you have + 1.

Then do a make install to get libavg installed in the PREFIX path, which is /usr/local by default:

$ sudo make install
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值