BuildingWindows

From Mumble Wiki
Revision as of 02:21, 2 December 2006 by Slicer (talk | contribs)
Jump to: navigation, search

Building Mumble on Windows

Mumble has quite a few dependencies for building on Windows, and as the feature set grows, so does the list of dependencies. This page will try to detail the steps required to set up a Win32 build environment.

The paths used here equal the defaults assumed in the Mumble build files. You are free to change them, but you'll then need to change the mumble.pro file as well.

Also note, that if you are submitting a bug report for a selfbuilt executable, we expect you to either

  • Follow these instructions to the letter

or

  • Report any deviations from these instructions

Deviations means anything, from "I installed to the D: drive" to "I changed the gcc build options for Qt" or "I used another version of Speex".

Preparations

Create C:\dev, and inside that directory create a file prep.bat containing:

@echo off
SET PATH=C:\dev\MinGW\bin;C:\dev\Qt4.2.2\bin;%PATH%
SET QTDIR=C:\dev\Qt4.2.2

Start a new command shell (run cmd.exe) and

C:
CD \dev
prep.bat

Whenever something appears

like this

you're supposed to enter it in that command shell. When you later want to compile things, remember to call prep.bat first to set paths correctly.

MinGW

Create a directory c:\dev\MinGW

Download the following files:

and unzip them all to the C:\dev\MinGW directory. GDB is an installer, install it to C:\dev\MinGW

Go into the bin directory and copy mingw32-make.exe to make.exe.