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