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