Project

General

Profile

Build Quassel on Windows Mingw » History » Version 5

Datafreak, 01/25/2010 03:21 PM

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