Project

General

Profile

Build Quassel on Windows Mingw » History » Version 12

TheOneRing, 01/27/2010 09:57 AM
typo

1 1 TheOneRing
h1. Build Quassel on Windows Mingw
2 1 TheOneRing
3 11 TheOneRing
h1. Currently it seems like building quassel with mingw is only possible with Windows KDE
4 10 TheOneRing
5 9 TheOneRing
# got to the "Emerge Tutorial":http://techbase.kde.org/Getting_Started/Build/KDE4/Windows/emerge
6 9 TheOneRing
# check out emerge and set up the kdesettings.bat acording to the kde tutorial
7 9 TheOneRing
# install mingw4 "emerge mingw4"
8 9 TheOneRing
# follow steps 2 and 3 on this page
9 12 TheOneRing
# copy 'dbghelp'\sdk\lib\i386 to your 'kderoot'/lib
10 9 TheOneRing
# copy 'dbghelp'\sdk\inc\i386 to your 'kderoot'/include
11 9 TheOneRing
# install quassel "emerge quassel" emerge will install all dependency's for you
12 9 TheOneRing
# when emerge has finished all jobs, start quassel
13 9 TheOneRing
14 9 TheOneRing
The steps above would also be possible with msvc2008
15 9 TheOneRing
16 1 TheOneRing
h2. Software Requirements
17 2 seezer
18 1 TheOneRing
* "QT SDK":http://qt.nokia.com/downloads
19 1 TheOneRing
* "DBGHELP SDK":http://msdn.microsoft.com/en-us/library/ms679294(VS.85).aspx
20 1 TheOneRing
* "CMake":http://www.cmake.org/cmake/resources/software.html
21 1 TheOneRing
22 1 TheOneRing
h2. Installation
23 1 TheOneRing
24 1 TheOneRing
h3. Step 1:Install QT SDK
25 2 seezer
26 1 TheOneRing
Download and install the QT SDK and select mingw to install with QT.
27 1 TheOneRing
28 1 TheOneRing
h3. Step 2:Install DBGHELP SDK
29 2 seezer
30 8 TheOneRing
Download and install DBGHELP
31 1 TheOneRing
32 1 TheOneRing
h3. Step 3:Generate the dbghelp.dll.a for mingw
33 2 seezer
34 1 TheOneRing
* Open a command line 
35 1 TheOneRing
* add your mingw installation to %PATH% (set PATH=%PATH%;mingwdir)
36 1 TheOneRing
* move to 'dbghelp'\sdk\lib\i386 
37 1 TheOneRing
* type "reimp -d dbghelp.lib"
38 1 TheOneRing
* type "dlltool -k -d dbghelp.def -l dbghelp.dll.a"
39 1 TheOneRing
40 1 TheOneRing
h3. Step 4: Install CMake
41 1 TheOneRing
42 1 TheOneRing
43 3 TheOneRing
h2. Checkout Quassel Mingw branch
44 4 TheOneRing
45 3 TheOneRing
* "git clone git://gitorious.org/quassel/quassel.git"
46 5 Datafreak
* "cd quassel"
47 7 Datafreak
* "git remote add -f theonering git://gitorious.org/~theonering/quassel/theonerings-quassel.git"
48 7 Datafreak
* "git checkout theonering/master"
49 1 TheOneRing
50 1 TheOneRing
h2. Compile Quassel
51 2 seezer
52 1 TheOneRing
* open a command line
53 1 TheOneRing
* add mingw to your path  (set PATH=%PATH%;'mingwdir')
54 1 TheOneRing
* add cmake to your path (analog to mingw)
55 1 TheOneRing
* add 'dbghelp'\sdk\lib\i386 to your path
56 8 TheOneRing
* add 'dbghelp'\sdk\inc\i386 to your path
57 1 TheOneRing
* switch to the directory where you checked out Quassel
58 1 TheOneRing
* type "mkdir build"
59 1 TheOneRing
* type "cd build"
60 1 TheOneRing
* type "cmake -G "MinGW Makefiles" .."
61 1 TheOneRing
* type "mingw32-make"