How to build openmcu-ru on ubuntu

1. install tools
sudo apt-get install libtool autoconf flex bison automake pkg-config 

2.yasm-1.3.0
sed -i 's#) ytasm.*#)#' Makefile.in &&

./configure --prefix=/opt/openmcu &&
make
make instal


3.ffmpeg-2.8.3 
gedit ~/.basnrc
#add /opt/openmcu/bin to PATH env.
export PATH=$PATH:/opt/openmcu/bin

./configure --prefix=/opt/openmcu --enable-shared
make
make instal

4.x264-snapshot-20151204-2245
./configure --prefix=/opt/openmcu --enable-shared
make
make install

5.libvpx-1.5.0
./configure --prefix=/opt/openmcu
make
make install

6.openmcu-master ver4.01
./autogen.sh
./configure -prefix=/opt/openmcu --disable-openssl


configure: error: avcodec headers not found! Install FFmpeg or Libav.

Solultion: modify the configure file
PRODUCT=OpenMCU-ru  ==> PRODUCT=
PROG=openmcu-ru     ==> PROG=

make
/usr/bin/ld: cannot open output file ./obj/: Is a directory
collect2: error: ld returned 1 exit status
make[1]: *** [all] Error 1

Solution:
Modify the sub Makefile: openmcu-ru/Makefile
PROG=    ==> PROG=openmcu-ru 

make install

7. test

sudo ./openmcu-ru/obj/openmcu-ru -d &


评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值