(1)安装intltool:访问http://ftp.acc.umu.se/pub/GNOME/binaries/win32/intltool/0.40/并下载intltool_0.40.4-1_win32.zip,解压到c:\msys目录下; (2)安装linphone-deps:访问http://download.savannah.gnu.org/releases- noredirect/linphone/misc/并下载linphone-deps-win32-091203.zip,解压到c:\msys目录 下; (3)安装gtk+:访问http://www.gtk.org/download-windows.html,下载pkg-config_0.23-3_win32.zip和glib_2.24.0-2_win32.zip,解压到c:\msys目录下; (4)编译libSRTP:
cd /src/srtp autoconf ./configure–prefix=/usr make make install make clean (5)编译ortp:
cd /src/ortp-0.16.3 autoconf ./configure–prefix=/usr make make install make clean (6)编译mediastreamer2:
cd /src/mediastreamer-2.5.0 autoconf ./configure–prefix=/usr make make install make clean (7)创建lib文件供VC++使用:运行c:\msys\msys.bat,执行以下命令, cd /lib cp../src/mediastream-2.5.0/build/win32native/mediastreamer2.defmediastreamer.def cp ../src/ortp-0.16.3/build/win32native/ortp.defortp.def cp../bin/libortp-8.dll . cp../bin/libmediastreamer-0.dll dlltool –Dlibortp-8.dll –d ortp.def –l ortp.lib dlltool –Dlibmediastreamer-0.dll.a –d mediastreamer.def –l mediastreamer.lib (joiner) |