version 0.1.3.1
[sipe-libnice.git] / README.win32
blob7e8e5526b24c3349ee4fc275c827c64dd60cb145
1 Microsoft Visual Studio v9.0 (aka Microsoft Visual Studio 2008)
2 ---------------------------------------------------------------
3 1) Download prerequisites (glib, zlib and gettext-runtime)
4 Go to http://www.gtk.org/download/win32.php
5 Download GLib Run-time and Dev packages. At time of writing GLib current version is 2.28.8.
6 Links are
7 http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.28/glib_2.28.8-1_win32.zip
8 http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.28/glib-dev_2.28.8-1_win32.zip
9 Download zlib and gettext-runtime Run-time package. At time of writing zlib current version is 1.2.5
10 and gettext-runtime current version is 0.18.1.1
11 Links are
12 http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib_1.2.5-2_win32.zip
13 http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime_0.18.1.1-2_win32.zip
15 2) Put glib in the correct path
16 Create a folder glib under libnice root as in the following picture:
18 libnice
19     |--- agent
20     |--- docs
21     |--- glib       <--------------
22     |--- gst
23     | ...
24     |--- tests
25     |--- win32
26     | AUTHORS
27     | ...
28     | TODO
30 Expand glib_<current-version>_win32.zip, glib-dev_<current-version>_win32.zip,
31 zlib_<current-version>_win32.zip and gettext-runtime_<current-version>_win32.zip under glib
32 folder.
33 The tree should be like the following picture:
35 libnice
36     |--- ...
37     |--- glib
38     |-------- bin
39     |-------- etc
40     |-------- include
41     |-------- lib
42     |-------- manifest
43     |-------- share
44     |-------- src
45     |--- ...
47 3) Generate agent-signals-marshal files
49 Launch script win32/dogenmarshal.cmd on the win32 folder to generate agent/agent-signals-marshal.h and
50 agent/agent-signals-marshal.c
52 4) Open win32/libnice.sln with Microsoft Visual Studio 2008
54 Build solution, output will be on libnice/win32/vs9/libnice/bin/Win32_Debug or libnice/win32/vs9/libnice/bin/Win32_Release
55 depending on the configuration chosen.