@@ -95,6 +95,12 @@ Building QGIS from source - step by step
95
95
8.8. Install Python
96
96
8.9. Install SIP
97
97
8.10. Install PyQt4
98
+ 8.11. Install CMake
99
+ 8.12. Install Subversion
100
+ 8.13. Initial SVN Check out
101
+ 8.14. Create Makefiles using cmakesetup.exe
102
+ 8.15. Running and packaging
103
+ 9. Authors and Acknowledgments
98
104
99
105
100
106
------------------------------------------------------------------------
@@ -2050,147 +2056,150 @@ From a Visual C++ command line cd to the directory where you extracted PyQt4 and
2050
2056
c:\python25\python configure.py -p win32-msvc2005
2051
2057
nmake
2052
2058
nmake install
2053
- ````
2054
-
2055
- == Install CMake ==
2056
-
2057
- Download and install cmake 2.4.7 or better, making sure to enable the
2058
- option
2059
-
2060
2059
2061
- Update path for all users
2062
2060
2063
2061
2064
-
2065
- == Install Subversion ==
2066
-
2067
- You '''must''' install the command line version if you want the CMake svn scripts to work.
2068
- Its a bit tricky to find the correct version on the subversion download site as they have
2069
- som misleadingly named similar downloads. Easiest is to just get this file:
2070
-
2071
- http://subversion.tigris.org/downloads/1.4.5-win32/apache-2.2/svn-win32-1.4.5.zip
2072
-
2073
- Extract the zip file to
2074
-
2062
+ 8.11. Install CMake
2063
+ ===================
2075
2064
2076
- C:\Program Files\svn
2065
+ Download and install cmake 2.4.7 or better, making sure to enable the
2066
+ option
2077
2067
2078
2068
2079
-
2080
- And then add
2081
-
2069
+ Update path for all users
2082
2070
2083
- C:\Program Files\svn\bin
2084
2071
2085
2072
2086
-
2087
- To your path.
2088
-
2089
-
2090
- == Initial SVN Check out ==
2091
-
2092
- Open a cmd.exe window and do:
2093
-
2094
-
2073
+ 8.12. Install Subversion
2074
+ ========================
2095
2075
2096
- cd \
2097
- cd dev
2098
- cd cpp
2099
- svn co https://svn.qgis.org/repos/qgis/trunk/qgis
2076
+ You '''must''' install the command line version if you want the CMake svn scripts to work.
2077
+ Its a bit tricky to find the correct version on the subversion download site as they have
2078
+ som misleadingly named similar downloads. Easiest is to just get this file:
2100
2079
2080
+ http://subversion.tigris.org/downloads/1.4.5-win32/apache-2.2/svn-win32-1.4.5.zip
2101
2081
2102
-
2103
- At this point you will probably get a message like this:
2104
-
2082
+ Extract the zip file to
2105
2083
2106
- C:\dev\cpp>svn co https://svn.qgis.org/repos/qgis/trunk/qgis
2107
- Error validating server certificate for 'https://svn.qgis.org:443':
2108
2084
2109
- - The certificate is not issued by a trusted authority. Use the
2110
- fingerprint to validate the certificate manually!
2111
- Certificate information:
2112
- - Hostname: svn.qgis.org
2113
- - Valid: from Sat, 01 Apr 2006 03:30:47 GMT until Fri, 21 Mar 2008 03:30:47 GMT
2114
- - Issuer: Developer Team, Quantum GIS, Anchorage, Alaska, US
2115
- - Fingerprint: 2f:cd:f1:5a:c7:64:da:2b:d1:34:a5:20:c6:15:67:28:33:ea:7a:9b
2116
- (R)eject, accept (t)emporarily or accept (p)ermanently?
2085
+ C:\Program Files\svn
2117
2086
2118
-
2119
- Press 'p' to accept and the svn checkout will commence.
2120
-
2121
- == Create Makefiles using cmakesetup.exe ==
2122
-
2123
- I wont be giving a detailed description of the build process, because
2124
- the process is explained in the first section (where you manually build
2125
- all dependencies) of the windows build notes in this document. Just skip
2126
- past the parts where you need to build GDAL etc, since this simplified
2127
- install process does all the dependency provisioning for you.
2128
-
2129
2087
2130
- cd qgis
2131
- mkdir build
2132
- cd build
2133
- cmakesetup ..
2088
+ And then add
2134
2089
2135
-
2136
- Cmakesetup should find all dependencies for you automatically (it uses the
2137
- LIB_DIR environment to find them all in c:\dev\cpp\qgislibs-release).
2138
- Press configure again after the cmakesetup gui appears and when all the red
2139
- fields are gone, and you have made any personalisations to the setup, press
2140
- ok to close the cmake gui.
2141
-
2142
- Now open Visual Studio Express and do:
2143
-
2144
- File -> Open -> Project / Solution
2145
-
2146
- Now open the cmake generated QGIS solution which should be in :
2147
-
2148
2090
2149
- c:\dev\cpp\qgis\build\qgisX.X.X.sln
2091
+ C:\Program Files\svn\bin
2150
2092
2151
-
2152
- Where X.X.X represents the current version number of QGIS. Currently I
2153
- have only made release built dependencies for QGIS (debug versions will follow
2154
- in future), so you need to be sure to select 'Release' from the solution
2155
- configurations toolbar.
2156
-
2157
- Next right click on ALL_BUILD in the solution browser, and then choose build.
2158
-
2159
- Once the build completes right click on INSTALL in the solution browser and
2160
- choose build. This will by default install qgis into c:\program files\qgisX.X.X.
2161
-
2162
- == Running and packaging ==
2163
-
2164
- To run QGIS you need to at the minimum copy the dlls from c:\dev\cpp\qgislibs-release\bin
2165
- into the c:\program files\qgisX.X.X directory.
2166
-
2167
- = Authors and Acknowledgments =
2168
-
2169
- The following people have contributed to this document:
2170
-
2171
- - Windows MINGW Section
2172
- - Tim Sutton, Godofredo Contreras 2006
2173
- - CMake additions Magnus Homann 2007
2174
- - Python additions Martin Dobias 2007
2175
- - With thanks to Tisham Dhar for preparing the initial msys environment
2176
-
2177
- - Windows MSVC Section (Detailed install)
2178
- - David Willis 2007
2179
- - MSVC install additions Tim Sutton 2007
2180
- - PostgreSQL, Qt compile, SIP, Python, AutoExp additions Juergen Fischer 2007
2181
-
2182
-
2183
- - Windows MSVC Section (Simplified install)
2184
- - Tim Sutton 2007
2185
- - Juergen Fischer 2007
2186
-
2187
- - OSX Section
2188
- - Tim Sutton, 2007
2189
- - With special thanks to Tom Elwertowski and William Kyngesburye
2190
-
2191
- - GNU/Linux Section
2192
- - Tim Sutton 2006
2193
2093
2094
+ To your path.
2095
+
2096
+
2097
+ 8.13. Initial SVN Check out
2098
+ ===========================
2099
+
2100
+ Open a cmd.exe window and do:
2101
+
2102
+
2103
+ cd \
2104
+ cd dev
2105
+ cd cpp
2106
+ svn co https://svn.qgis.org/repos/qgis/trunk/qgis
2107
+
2108
+
2109
+ At this point you will probably get a message like this:
2110
+
2111
+
2112
+ C:\dev\cpp>svn co https://svn.qgis.org/repos/qgis/trunk/qgis
2113
+ Error validating server certificate for 'https://svn.qgis.org:443':
2114
+ - The certificate is not issued by a trusted authority. Use the
2115
+ fingerprint to validate the certificate manually!
2116
+ Certificate information:
2117
+ - Hostname: svn.qgis.org
2118
+ - Valid: from Sat, 01 Apr 2006 03:30:47 GMT until Fri, 21 Mar 2008 03:30:47 GMT
2119
+ - Issuer: Developer Team, Quantum GIS, Anchorage, Alaska, US
2120
+ - Fingerprint: 2f:cd:f1:5a:c7:64:da:2b:d1:34:a5:20:c6:15:67:28:33:ea:7a:9b
2121
+ (R)eject, accept (t)emporarily or accept (p)ermanently?
2122
+
2123
+
2124
+ Press 'p' to accept and the svn checkout will commence.
2125
+
2126
+
2127
+ 8.14. Create Makefiles using cmakesetup.exe
2128
+ ===========================================
2129
+
2130
+ I wont be giving a detailed description of the build process, because
2131
+ the process is explained in the first section (where you manually build
2132
+ all dependencies) of the windows build notes in this document. Just skip
2133
+ past the parts where you need to build GDAL etc, since this simplified
2134
+ install process does all the dependency provisioning for you.
2135
+
2136
+
2137
+ cd qgis
2138
+ mkdir build
2139
+ cd build
2140
+ cmakesetup ..
2141
+
2142
+
2143
+ Cmakesetup should find all dependencies for you automatically (it uses the
2144
+ LIB_DIR environment to find them all in c:\dev\cpp\qgislibs-release).
2145
+ Press configure again after the cmakesetup gui appears and when all the red
2146
+ fields are gone, and you have made any personalisations to the setup, press
2147
+ ok to close the cmake gui.
2148
+
2149
+ Now open Visual Studio Express and do:
2150
+
2151
+ File -> Open -> Project / Solution
2152
+
2153
+ Now open the cmake generated QGIS solution which should be in :
2154
+
2155
+
2156
+ c:\dev\cpp\qgis\build\qgisX.X.X.sln
2157
+
2158
+
2159
+ Where X.X.X represents the current version number of QGIS. Currently I
2160
+ have only made release built dependencies for QGIS (debug versions will follow
2161
+ in future), so you need to be sure to select 'Release' from the solution
2162
+ configurations toolbar.
2163
+
2164
+ Next right click on ALL_BUILD in the solution browser, and then choose build.
2165
+
2166
+ Once the build completes right click on INSTALL in the solution browser and
2167
+ choose build. This will by default install qgis into c:\program files\qgisX.X.X.
2168
+
2169
+
2170
+ 8.15. Running and packaging
2171
+ ===========================
2172
+
2173
+ To run QGIS you need to at the minimum copy the dlls from c:\dev\cpp\qgislibs-release\bin
2174
+ into the c:\program files\qgisX.X.X directory.
2175
+
2176
+
2177
+ 9. Authors and Acknowledgments
2178
+ ==============================
2179
+
2180
+ The following people have contributed to this document:
2181
+
2182
+ - Windows MINGW Section
2183
+ - Tim Sutton, Godofredo Contreras 2006
2184
+ - CMake additions Magnus Homann 2007
2185
+ - Python additions Martin Dobias 2007
2186
+ - With thanks to Tisham Dhar for preparing the initial msys environment
2187
+
2188
+ - Windows MSVC Section (Detailed install)
2189
+ - David Willis 2007
2190
+ - MSVC install additions Tim Sutton 2007
2191
+ - PostgreSQL, Qt compile, SIP, Python, AutoExp additions Juergen Fischer 2007
2192
+
2193
+ - Windows MSVC Section (Simplified install)
2194
+ - Tim Sutton 2007
2195
+ - Juergen Fischer 2007
2196
+
2197
+ - OSX Section
2198
+ - Tim Sutton, 2007
2199
+ - With special thanks to Tom Elwertowski and William Kyngesburye
2200
+
2201
+ - GNU/Linux Section
2202
+ - Tim Sutton 2006
2194
2203
2195
2204
2196
2205
0 commit comments