读书人

Ubuntu上OpenRTMFP安装

发布时间: 2012-07-25 09:43:05 作者: rapoo

Ubuntu下OpenRTMFP安装

环境 Ubunut 11?

安装相关的库

lua5.1 poco openssl? gcc
apt-get install openssl libssl-dev libiodbc2 libiodbc2-dev libmysql++-dev libpoco-dev liblua5.1-*dev build-essential

?

删除旧版本的问题 apt-get purge lua5.0
apt-get autoremove lua5.0

?

下载OpenRTMFP https://github.com/OpenRTMFP/Cumulus

?

?

安装 写道tar zxvf OpenRTMFP-Cumulus-6d19814.tar.gz
cd OpenRTMFP-Cumulus*
cd CumulusLib &&? make
cd ../CumulusServer
make

启动
./CumulusServer &
netstat -anup |grep :1935?
问题处理 CumulusServer 首先要make CumulusLib 再make CumulusServer
提示缺少组件 安装相关的即可

##########################################
root@sea-desktop:/usr/local/openrtmfp/CumulusServer# make
compiling main.cpp
In file included from ./sources/Service.h:21,
from ./sources/Server.h:22,
from ./sources/main.cpp:20:
./sources/Script.h:30: fatal error: lua.h: No such file or directory
##########################################
缺少lua.h 头文件 检查是否掉了 lua5.1-dev

查看版本是否是5.1
5.0的话 请修改 ./sources/Script.h
“lua5.1/lua.h” ==》 <lua.h>
修改 Makefile
-llua5.1 ==》 -llua

运行时发生错误“error while loading shared libraries:libPocoFoundation.so.12”
运行: export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"

?

?

读书人网 >行业软件

热点推荐