Commit 2afe392c authored by smorlat's avatar smorlat

update a bit mingw compilation README.

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@567 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent f932af1a
......@@ -9,7 +9,7 @@ run msys as Administrator (right click on the icon, and click 'run as administra
* Download the following tar.gz or zips:
- perl (from "msys supplementary tools")
- crypt (from "msys supplementary tools")
- crypt and libcrypt (from "msys supplementary tools")
- automake1.10 (from "mingw automake")
- automake-3-1 (from "mingw automake/wrapper")
- autoconf2.5 (from "autoconf-2.5)
......
Linphone win32 build HOW-TO
***************************
Linphone for windows requires the wxDev-C++ IDE (integrated with mingw32 compiler) from
http://wxdsgn.sourceforge.net/
However wxWidget is not used or required here.
Inno setup compiler is required to make the binary package:
http://www.innosetup.com/
Follows the list of linphone's dependencies:
For engine (ie liblinphone):
1/ libspeex>=1.1.11
2/ libtheora
3/ libogg
4/ libavcodec and libavutil (ffmpeg)
5/ libosip2>=3.1.0
6/ libeXosip2>=3.1.0
7/ libgsm
For the gtk+/glade graphical interface:
8/ gtk+ and all its mandatory dependencies
9/ iconv
10/ libxml2
11/ libglade>=2.4.0
All dependencies must be built with mingw32, gcc>=4.2.0 being required for ffmpeg to get it properly working.
How to get them built is unspecified here.
First build 1-9 items and install them into a linphone-deps directory as follows:
linphone-deps/bin: all dlls
linphone-deps/lib: all lib*.a (interface libraries)
linphone-deps/include: all header files
This linphone-deps directory should be placed next to the linphone base directory (in the same parent directory).
As getting 1-9 dependencies built can be very long and complex (such as for ffmpeg), I provide a linphone-deps bundle so
that you have nothing to do, here:
http://download.savannah.gnu.org/releases/linphone/misc/
The simpler to get binaries and header files for 8-11 dependencies is to trust people who are making
binary packages for them :
You can download:
- gtk+>=2.12.2 all-in-one bundle
from http://www.gtk.org/download-windows.html
or directly http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.14/gtk+-bundle_2.14.2-20080919_win32.zip
- iconv from http://xmlsoft.org/sources/win32/
- libxml2 from http://xmlsoft.org/sources/win32/
- libglade bin and dev package from http://gladewin32.sourceforge.net
or directly http://sourceforge.net/project/showfiles.php?group_id=98754&package_id=107065
Unzip gtk+ bundle, iconv and libxml2 into the same directory as "linphone-deps"
Inside the gtk+ bundle, unzip libglade bin and dev zips.
Once you have all this, you are ready to build linphone.
With wxDev-C++, open the following .dev files included in linphone's source tree,
and for each of them click on the "rebuild all" wxDev-C++ menu item:
oRTP/build/win32native/ortp-dll.dev
mediastreamer2/build/win32native/mediastreamer2.dev
coreapi/liblinphone.dev
gtk-glade/linphone.dev
Now you just need to make a binary package with Inno Setup Compiler.
With this tool, open
gtk-glade/linphone.iss
and click "compile" to generate the setup.exe
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment