Linphone rely on a lot of libraries, compiling is really painful. Some libraries do not support MinGW compilation, such as Osip, Exosip, VC compilation is convenient. Fortunately, the authorities provide a collection of dependent packages and do not need to compile them all by themselves. Download linphone-3.5.2.tar.gz, unzip the directory has a README.MINGW file, detailed description of the MINGW environment of the compilation. Here's a record of the main process.
1. Download
Resources
Intltool_0.40.4-1_win32.zip Http://ftp.acc.umu.se/pub/GNOME/binaries/win32/intltool/0.40/intltool_0.40.4-1_win32.zip
Gtk+-bundle_2.24.10-20120208_win32.zip Http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.24/gtk+-bundle_ 2.24.10-20120208_win32.zip
Inphone-deps-win32-120218.zip http://download-mirror.savannah.gnu.org/releases/linphone/misc/ Linphone-deps-win32-120218.zip
Release the above 3 files to the mysys/1.0/directory. The dependency package Inphone-deps-win32-120218.zip contains the compiled Linphone dependent third-party libraries, as follows:
2. Compiling
The compilation process is simple
Enter the linphone-3.5.2 directory and execute the command
./configure && make && make install
The ps:configure process may indicate the following error
Configure:error:GNU GetText tools not found; Required for Intltool
Apparently, there's no GetText program installed.
$ mingw-get Install GetText
How do I know if the Mingw-get website contains relevant tools? You can use this command to query
$ Mingw-get List | grep gettext
3. About Dependent libraries
Linphone's dependent libraries can also be compiled themselves, referring to the instructions in Readme.mingw.