OpenRTMFP
project url: https://github.com/OpenRTMFP/Cumulus
git url: https://github.com/OpenRTMFP/Cumulus.git
download url: https://github.com/OpenRTMFP/Cumulus/archive/master.zip
POCO
download page url: http://pocoproject.org/download/index.html
windows: http://sourceforge.net/projects/poco/files/sources/poco-1.4.4/poco-1.4.4.zip/download
linux and os x: https://sourceforge.net/projects/poco/files/sources/poco-1.4.4/poco-1.4.4.tar.gz/download
Lua
http://luaforwindows.googlecode.com/files/LuaForWindows_v5.1.4-45.exe
OpenSSL
source: http://58.100.228.234/download/5515406/5983524/1/gz/141/12/1340038986381_780/openssl-1.0.1c.tar.gz
win32 page: http://slproweb.com/products/Win32OpenSSL.html
Win32 OpenSSL v1.0.1c: http://slproweb.com/download/Win32OpenSSL-1_0_1c.exe
win32编译:
需要编译poco的Foundation、Net、Util、Xml,然后带上Lua和OpenSSL 就能编译CumulusServer和CumulusEdge项目了。
中间自己在vc2010中编译OpenSSL一直报错,所以直接下载了Win32OpenSSL-1_0_1c.exe。
linux:
检查64位:getconf LONG_BIT或uname -a命令
版本:lsb_release -a
首先是cpu没有开启虚拟化,VM提示错误,解决看http://www.cnblogs.com/zhujian/archive/2011/05/15/2056232.html
poco:https://sourceforge.net/projects/poco/files/sources/poco-1.4.4/poco-1.4.4.tar.gz/download
lua:http://www.lua.org/ftp/lua-5.1.5.tar.gz
OpenSSL:http://www.openssl.org/source/openssl-1.0.1.tar.gz
安装openssl:
1、cd openssl-1.0.1
2、./config --prefix=/root/openssl 【--prefix是安装目录】
3、make
4、make install
编译poco:
1、sudo ./configure --prefix=/usr --static --shared 【--omit指定排除,逗号分割;--static编译静态库】
2、sudo make -s install
编译Lua:
1、make linux
OpenRTMFP:
先把之前编译好的都复制到/usr/local/include/和/usr/local/lib
1、cd CumulusLib
2、make
3、cd CumulusServer
4、make
5、sudo ./CumulusServer --daemon --pidfile=./CumulusServer.pid