zhenyu-zhou / bellesip_XIA

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dependencies:

*libantlr3c-3.4
*antlr3-3.4
Newer versions won't compile.

Optional:
*CUinit-2.x
*polarssl>=1.2


On windows you have to edit /usr/local/include/antl3defs.h
replace:
#include <winsock.h>
by:
#include <winsock2.h>

Or get the source code from linphone's git (linphone branch):
git clone -b linphone git://git.linphone.org/antlr3.git
git clone -b linphone git://git.linphone.org/cunit.git

polarssl build system is Make (or Cmake). To build the shared library version, use "make SHARED=1 DEBUG=1", followed by "make install".

Prequisites
***********
You must jave 'java' in your PATH.


Build with mingw
****************
* Compile and install libantlr3c, CUnit with ./configure && make && make install
* Compile belle-sip.

Build with Visual Studio
************************
The procedure is tested for Visual Studio Express 2012.

* get antlr3 from linphone's git server (see above). This version contains up to date visual studio project and solution files.
* get CUnit from linphone's git server (see above). This version contains up to date visual studio project and solution files.
* put belle-sip next to antlr3 and to cunit (in the same directory).
* open belle-sip/build/windows/belle-sip-tester/belle-sip-tester.sln or belle-sip/build/windows/belle-sip/belle-sip.sln
* Build the solution (antlr3 and cunit are built automatically)













About

License:GNU General Public License v3.0


Languages

Language:C 91.5%Language:GAP 6.2%Language:C# 1.5%Language:C++ 0.5%Language:Makefile 0.2%Language:Shell 0.1%