Project

General

Profile

Build Quassel on Windows Mingw » History » Version 1

TheOneRing, 01/25/2010 01:49 PM

1 1 TheOneRing
h1. Build Quassel on Windows Mingw
2 1 TheOneRing
3 1 TheOneRing
h2. Software Requirements
4 1 TheOneRing
* "QT SDK":http://qt.nokia.com/downloads
5 1 TheOneRing
* "DBGHELP SDK":http://msdn.microsoft.com/en-us/library/ms679294(VS.85).aspx
6 1 TheOneRing
* "CMake":http://www.cmake.org/cmake/resources/software.html
7 1 TheOneRing
8 1 TheOneRing
h2. Installation
9 1 TheOneRing
10 1 TheOneRing
h3. Step 1:Install QT SDK
11 1 TheOneRing
Download and install the QT SDK and select mingw to install with QT.
12 1 TheOneRing
13 1 TheOneRing
h3. Step 2:Install DBGHELP SDK
14 1 TheOneRing
Download and install DBGHELP.
15 1 TheOneRing
16 1 TheOneRing
h3. Step 3:Generate the dbghelp.dll.a for mingw
17 1 TheOneRing
* Open a command line 
18 1 TheOneRing
* add your mingw installation to %PATH% (set PATH=%PATH%;mingwdir)
19 1 TheOneRing
* move to 'dbghelp'\sdk\lib\i386 
20 1 TheOneRing
* type "reimp -d dbghelp.lib"
21 1 TheOneRing
* type "dlltool -k -d dbghelp.def -l dbghelp.dll.a"
22 1 TheOneRing
23 1 TheOneRing
h3. Step 4: Install CMake
24 1 TheOneRing
25 1 TheOneRing
26 1 TheOneRing
h2. Ceck out Quassel Mingw branch
27 1 TheOneRing
* "git remote add -f al git://gitorious.org/~ald/quassel/alds-quassel.git"
28 1 TheOneRing
* "git checkout al/mingw"
29 1 TheOneRing
30 1 TheOneRing
h2. Compile Quassel
31 1 TheOneRing
* open a command line
32 1 TheOneRing
* add mingw to your path  (set PATH=%PATH%;'mingwdir')
33 1 TheOneRing
* add cmake to your path (analog to mingw)
34 1 TheOneRing
* add 'dbghelp'\sdk\lib\i386 to your path
35 1 TheOneRing
* add 'dbghelp'\sdk\inc\i386 to tour path
36 1 TheOneRing
* switch to the directory where you checked out Quassel
37 1 TheOneRing
* type "mkdir build"
38 1 TheOneRing
* type "cd build"
39 1 TheOneRing
* type "cmake -G "MinGW Makefiles" .."
40 1 TheOneRing
* type "mingw32-make"