Mingw compile linphone-3.5.2

Source: Internet
Author: User
Tags linphone


Linphone relies on a lot of libraries and compilation is really painful. Some libraries do not support mingw compilation, such as Osip and exosip, which is convenient in VC compilation. Fortunately, the official website provides a collection of dependent packages and does not need to be compiled by itself. Download linphone-3.5.2.tar.gz. After decompression, the directory contains a readme. mingw file, detailing the compilation in the mingw environment. The main process is recorded here.

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
Gtk316-bundle_2.24.10-201208_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 three files to mysys/1.0/contents. The dependency package inphone-deps-win32-120218.zip contains the third-party libraries on which the compiled Linphone depends, as shown below:

2. Compile
Compilation process is simple
Go to the linphone-3.5.2 directory and execute the command
./Configure & make install

PS: The Configure process may prompt the following error:
Configure: Error: GNU gettext tools not found; required for intltool
Apparently, the gettext program is not installed.
$ Mingw-Get install gettext
How do I know that the mingw-Get website contains related tools? You can use this command to query
$ Mingw-Get list | grep gettext

 
3. About dependent Libraries
You can also compile the Linphone dependent libraries by yourself. Refer to the instructions in readme. mingw.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.