2006-12-21 01:30:28 -05:00
|
|
|
======================================
|
|
|
|
win32/README.txt / Sofia-SIP for win32
|
|
|
|
======================================
|
|
|
|
|
2008-12-16 13:05:22 -05:00
|
|
|
The win32 subdirectory contains the build environment for Win32
|
2007-08-06 15:24:10 -04:00
|
|
|
environment using MSVC.
|
2006-12-21 01:30:28 -05:00
|
|
|
|
2007-08-06 15:24:10 -04:00
|
|
|
Currently, the provided workspace/solution files will create both
|
2008-12-16 13:05:22 -05:00
|
|
|
shared and static libraries for libsofia-sip-ua, and a few test
|
2007-08-06 15:24:10 -04:00
|
|
|
programs. The test programs can be run with the script check.cmd.
|
|
|
|
|
2008-07-08 00:36:41 -04:00
|
|
|
|
2007-08-06 15:24:10 -04:00
|
|
|
Preparing the build tree
|
|
|
|
------------------------
|
|
|
|
|
|
|
|
The script autogen.cmd should be used to prepare source tree before
|
|
|
|
compiling Sofia SIP. Note that it uses AWK, so an AWK interpreter
|
|
|
|
is needed. You can for example use gawk (3.1.5 or newer) or mawk (tested
|
|
|
|
with 1.3.3) implementations. Precompiled binaries are available
|
|
|
|
for instance at:
|
2008-12-16 13:05:22 -05:00
|
|
|
|
2007-08-06 15:24:10 -04:00
|
|
|
- http://gnuwin32.sourceforge.net/packages/mawk.htm
|
|
|
|
- http://ftp.uni-kl.de/pub/windows/cygwin/release/gawk/
|
|
|
|
- plus many sites, a web search for "win32 awk" will
|
|
|
|
provide you many more links
|
|
|
|
|
2008-07-08 00:36:41 -04:00
|
|
|
|
|
|
|
Notes for pthread support
|
|
|
|
-------------------------
|
2006-12-21 01:30:28 -05:00
|
|
|
|
|
|
|
There is a pthread implementation for Visual C on Win32 included.
|
|
|
|
Source code and documentation for the pthread library can also be
|
|
|
|
downloaded from http://sources.redhat.com/pthreads-win32/.
|
|
|
|
|
2008-07-08 00:36:41 -04:00
|
|
|
|
2007-08-06 15:24:10 -04:00
|
|
|
MS-VC6 specific notes
|
|
|
|
---------------------
|
|
|
|
|
|
|
|
The MSVC6 workspace file is "SofiaSIP.dsw".
|
|
|
|
|
2008-07-08 00:36:41 -04:00
|
|
|
With Visual Studio 6, and Windows 2000 or older Platform SDK, you need to
|
|
|
|
have the header files from the so called "IPv6 Technology Preview for
|
|
|
|
Windows 2000" installed, in order to compile Sofia-SIP. This is required
|
|
|
|
even if IPv6 support is disabled (the socket APIs of older Platfrom SDKs are
|
|
|
|
insufficient).
|
2007-08-06 15:24:10 -04:00
|
|
|
|
2008-07-08 00:36:41 -04:00
|
|
|
You can download the preview SDK from Microsoft Download Center:
|
|
|
|
|
|
|
|
http://www.microsoft.com/downloads/
|
|
|
|
|
|
|
|
Search for "IPv6 Technology Preview for Windows 2000".
|
2007-08-06 15:24:10 -04:00
|
|
|
|
|
|
|
With newer Platform SDKs, the IPv6 Preview SDK is not needed.
|
|
|
|
|
2008-07-08 00:36:41 -04:00
|
|
|
|
2007-08-06 15:24:10 -04:00
|
|
|
MSVC2005 specific notes
|
|
|
|
------------------------
|
2006-12-21 01:30:28 -05:00
|
|
|
|
2007-08-06 15:24:10 -04:00
|
|
|
The MSVC2005 solution file is "SofiaSIP.sln".
|