Building Ekiga for Windows

From Ekiga
Revision as of 23:11, 29 November 2012 by Eugen (Talk | contribs)
Jump to: navigation, search

Windows-related links: Building Ekiga for WindowsPre-built setup programs → Execute and Debug

The current process to build Ekiga for Windows is to generate a 32bit program (win32) through cross-building on a GNU/Linux system. Currently, there is no native Windows build of Ekiga available. In other words, you cannot build Ekiga for Windows on a Windows system.



You need an installed, working version of Minimalist GNU for Windows (mingw) together with its binutils and runtime libraries, and some other libraries/programs. On a debian system you can install them via apt-get:

apt-get install mingw-w64
apt-get install nsis build-essential make automake bison flex zip unzip git-core subversion
apt-get install gnome-common gnome-doc-utils gnome-icon-theme xmlto yasm libgconf2-dev intltool


  • if you prefer to use mingw32 instead of mingw-w64, replace the line above with mingw-w64 with:
apt-get install gcc-mingw32 mingw32-binutils mingw32-runtime
  • if you use stable below, only mingw32 can be used
  • when using mingw32, you need a version of mingw32-runtime >= 3.15, while debian unstable has version 3.13 as of March 2012; you can download 3.15 from Michael's site for example

Downloading building program

Create an empty directory and save into it the following file under the name Makefile:

Compiling instructions

1. Now you execute the automated download process that gets ekiga sources and its required libraries (such as ptlib, opal, theora and speex) from the Internet. Go to the directory where you saved the Makefile file, and execute:

make update-sources

(or, if you prefer the latest release, make update-sources RELEASE=1).

Be patient. Some file downloading and git/svn checkouts will happen. Depending on your network speed, it might look for some minutes as if the make process stalled.

2. Then start the build process by simply executing:


(or make RELEASE=1 for latest release) (you must have executed the similar command at the previous step too).

Add DEBUG=1 if you wish to compile with debug information (-g when compiling everything, use of DEBUG=1 for ptlib, opal and ekiga, and no executable stripping).

Add MINGW32=1 if you wish to compile with the old mingw32.

This step compiles all the libraries and finally ekiga itself as usually, but through mingw (note that even if these libraries might be installed on your GNU/Linux computer, they are useless for cross-build for the Win32 target). It also puts together all the libraries and ekiga in a single file ekiga-setup.exe.

Your cross-compiled windows version is now located in dist directory.


Execute dist/ekiga-setup...exe on a Windows system.

See also

Personal tools