Build Quassel on Windows Mingw » History » Version 15
TheOneRing, 02/03/2010 10:58 AM
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 | 15 | TheOneRing | * "MinGW Utils 0.3":http://sourceforge.net/projects/mingw/files/MinGW%20Utilities/mingw-utils/mingw-utils-0.3/mingw-utils-0.3.tar.gz/download |
18 | 1 | TheOneRing | |
19 | 1 | TheOneRing | h2. Installation |
20 | 1 | TheOneRing | |
21 | 15 | TheOneRing | h3. Step 1: Install QT SDK |
22 | 2 | seezer | |
23 | 1 | TheOneRing | Download and install the QT SDK and select mingw to install with QT. |
24 | 1 | TheOneRing | |
25 | 15 | TheOneRing | h3. Step 2: Install MinGW Utils |
26 | 1 | TheOneRing | |
27 | 15 | TheOneRing | Download MinGW Utils and extrect them to 'qt\version'\mingw |
28 | 15 | TheOneRing | |
29 | 15 | TheOneRing | |
30 | 15 | TheOneRing | h3. Step 3: Install DBGHELP SDK |
31 | 15 | TheOneRing | |
32 | 1 | TheOneRing | Download and install DBGHELP |
33 | 2 | seezer | |
34 | 15 | TheOneRing | h3. Step 4: Generate the dbghelp.dll.a for mingw |
35 | 1 | TheOneRing | |
36 | 2 | seezer | * Open a command line |
37 | 1 | TheOneRing | * add your mingw installation to %PATH% (set PATH=%PATH%;mingwdir) |
38 | 1 | TheOneRing | * move to 'dbghelp'\sdk\lib\i386 |
39 | 1 | TheOneRing | * type "reimp -d dbghelp.lib" |
40 | 1 | TheOneRing | * type "dlltool -k -d dbghelp.def -l dbghelp.dll.a" |
41 | 13 | TheOneRing | * copy 'dbghelp'\sdk\lib\i386\dbghelp.dll.a to 'mingw'\lib |
42 | 1 | TheOneRing | * copy 'dbghelp'\sdk\inc\i386\dbghelp.h to 'mingw"\include |
43 | 1 | TheOneRing | |
44 | 15 | TheOneRing | h3. Step 5: Install CMake |
45 | 1 | TheOneRing | |
46 | 3 | TheOneRing | |
47 | 1 | TheOneRing | h2. Checkout Quassel Mingw branch |
48 | 4 | TheOneRing | |
49 | 3 | TheOneRing | * "git clone git://gitorious.org/quassel/quassel.git" |
50 | 5 | Datafreak | * "cd quassel" |
51 | 1 | TheOneRing | * "git remote add -f theonering git://gitorious.org/~theonering/quassel/theonerings-quassel.git" |
52 | 15 | TheOneRing | * "git checkout theonering/mingw" |
53 | 1 | TheOneRing | |
54 | 1 | TheOneRing | h2. Compile Quassel |
55 | 1 | TheOneRing | |
56 | 1 | TheOneRing | * open a command line |
57 | 1 | TheOneRing | * add mingw to your path (set PATH=%PATH%;'mingwdir') |
58 | 1 | TheOneRing | * add cmake to your path (analog to mingw) |
59 | 15 | TheOneRing | * add QT to yo your path, 'qt\version'\qt\bin |
60 | 1 | TheOneRing | * switch to the directory where you checked out Quassel |
61 | 1 | TheOneRing | * type "mkdir build" |
62 | 1 | TheOneRing | * type "cd build" |
63 | 1 | TheOneRing | * type "cmake -G "MinGW Makefiles" .." |
64 | 13 | TheOneRing | * type "mingw32-make" |
65 | 13 | TheOneRing | |
66 | 1 | TheOneRing | |
67 | 14 | TheOneRing | h2. Build Quassel with Windows KDE |
68 | 13 | TheOneRing | |
69 | 13 | TheOneRing | # got to the "Emerge Tutorial":http://techbase.kde.org/Getting_Started/Build/KDE4/Windows/emerge |
70 | 13 | TheOneRing | # check out emerge and set up the kdesettings.bat acording to the kde tutorial |
71 | 13 | TheOneRing | # install mingw4 "emerge mingw4" |
72 | 15 | TheOneRing | # follow steps 3 and 4 from "Build Quassel with QT only" |
73 | 13 | TheOneRing | # copy 'dbghelp'\sdk\lib\i386 to your 'kderoot'/lib |
74 | 13 | TheOneRing | # copy 'dbghelp'\sdk\inc\i386 to your 'kderoot'/include |
75 | 13 | TheOneRing | # install quassel "emerge quassel" emerge will install all dependency's for you |
76 | 13 | TheOneRing | # when emerge has finished all jobs, start quassel |
77 | 13 | TheOneRing | |
78 | 13 | TheOneRing | The steps above would also be possible with msvc2008 |