Skip to content

Commit

Permalink
Regenerated INSTALL doc
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8070 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Jan 29, 2008
1 parent 106362b commit 6dd00ff
Showing 1 changed file with 130 additions and 121 deletions.
251 changes: 130 additions & 121 deletions INSTALL
Expand Up @@ -95,6 +95,12 @@ Building QGIS from source - step by step
8.8. Install Python
8.9. Install SIP
8.10. Install PyQt4
8.11. Install CMake
8.12. Install Subversion
8.13. Initial SVN Check out
8.14. Create Makefiles using cmakesetup.exe
8.15. Running and packaging
9. Authors and Acknowledgments


------------------------------------------------------------------------
Expand Down Expand Up @@ -2050,147 +2056,150 @@ From a Visual C++ command line cd to the directory where you extracted PyQt4 and
c:\python25\python configure.py -p win32-msvc2005
nmake
nmake install
````

== Install CMake ==

Download and install cmake 2.4.7 or better, making sure to enable the
option


Update path for all users



== Install Subversion ==

You '''must''' install the command line version if you want the CMake svn scripts to work.
Its a bit tricky to find the correct version on the subversion download site as they have
som misleadingly named similar downloads. Easiest is to just get this file:

http://subversion.tigris.org/downloads/1.4.5-win32/apache-2.2/svn-win32-1.4.5.zip

Extract the zip file to

8.11. Install CMake
===================

C:\Program Files\svn
Download and install cmake 2.4.7 or better, making sure to enable the
option



And then add

Update path for all users

C:\Program Files\svn\bin



To your path.


== Initial SVN Check out ==

Open a cmd.exe window and do:


8.12. Install Subversion
========================

cd \
cd dev
cd cpp
svn co https://svn.qgis.org/repos/qgis/trunk/qgis
You '''must''' install the command line version if you want the CMake svn scripts to work.
Its a bit tricky to find the correct version on the subversion download site as they have
som misleadingly named similar downloads. Easiest is to just get this file:

http://subversion.tigris.org/downloads/1.4.5-win32/apache-2.2/svn-win32-1.4.5.zip


At this point you will probably get a message like this:

Extract the zip file to

C:\dev\cpp>svn co https://svn.qgis.org/repos/qgis/trunk/qgis
Error validating server certificate for 'https://svn.qgis.org:443':

- The certificate is not issued by a trusted authority. Use the
fingerprint to validate the certificate manually!
Certificate information:
- Hostname: svn.qgis.org
- Valid: from Sat, 01 Apr 2006 03:30:47 GMT until Fri, 21 Mar 2008 03:30:47 GMT
- Issuer: Developer Team, Quantum GIS, Anchorage, Alaska, US
- Fingerprint: 2f:cd:f1:5a:c7:64:da:2b:d1:34:a5:20:c6:15:67:28:33:ea:7a:9b
(R)eject, accept (t)emporarily or accept (p)ermanently?
C:\Program Files\svn


Press 'p' to accept and the svn checkout will commence.

== Create Makefiles using cmakesetup.exe ==

I wont be giving a detailed description of the build process, because
the process is explained in the first section (where you manually build
all dependencies) of the windows build notes in this document. Just skip
past the parts where you need to build GDAL etc, since this simplified
install process does all the dependency provisioning for you.


cd qgis
mkdir build
cd build
cmakesetup ..
And then add


Cmakesetup should find all dependencies for you automatically (it uses the
LIB_DIR environment to find them all in c:\dev\cpp\qgislibs-release).
Press configure again after the cmakesetup gui appears and when all the red
fields are gone, and you have made any personalisations to the setup, press
ok to close the cmake gui.

Now open Visual Studio Express and do:

File -> Open -> Project / Solution

Now open the cmake generated QGIS solution which should be in :


c:\dev\cpp\qgis\build\qgisX.X.X.sln
C:\Program Files\svn\bin


Where X.X.X represents the current version number of QGIS. Currently I
have only made release built dependencies for QGIS (debug versions will follow
in future), so you need to be sure to select 'Release' from the solution
configurations toolbar.

Next right click on ALL_BUILD in the solution browser, and then choose build.

Once the build completes right click on INSTALL in the solution browser and
choose build. This will by default install qgis into c:\program files\qgisX.X.X.

== Running and packaging ==

To run QGIS you need to at the minimum copy the dlls from c:\dev\cpp\qgislibs-release\bin
into the c:\program files\qgisX.X.X directory.

= Authors and Acknowledgments =

The following people have contributed to this document:

- Windows MINGW Section
- Tim Sutton, Godofredo Contreras 2006
- CMake additions Magnus Homann 2007
- Python additions Martin Dobias 2007
- With thanks to Tisham Dhar for preparing the initial msys environment

- Windows MSVC Section (Detailed install)
- David Willis 2007
- MSVC install additions Tim Sutton 2007
- PostgreSQL, Qt compile, SIP, Python, AutoExp additions Juergen Fischer 2007


- Windows MSVC Section (Simplified install)
- Tim Sutton 2007
- Juergen Fischer 2007

- OSX Section
- Tim Sutton, 2007
- With special thanks to Tom Elwertowski and William Kyngesburye

- GNU/Linux Section
- Tim Sutton 2006

To your path.


8.13. Initial SVN Check out
===========================

Open a cmd.exe window and do:


cd \
cd dev
cd cpp
svn co https://svn.qgis.org/repos/qgis/trunk/qgis


At this point you will probably get a message like this:


C:\dev\cpp>svn co https://svn.qgis.org/repos/qgis/trunk/qgis
Error validating server certificate for 'https://svn.qgis.org:443':
- The certificate is not issued by a trusted authority. Use the
fingerprint to validate the certificate manually!
Certificate information:
- Hostname: svn.qgis.org
- Valid: from Sat, 01 Apr 2006 03:30:47 GMT until Fri, 21 Mar 2008 03:30:47 GMT
- Issuer: Developer Team, Quantum GIS, Anchorage, Alaska, US
- Fingerprint: 2f:cd:f1:5a:c7:64:da:2b:d1:34:a5:20:c6:15:67:28:33:ea:7a:9b
(R)eject, accept (t)emporarily or accept (p)ermanently?


Press 'p' to accept and the svn checkout will commence.


8.14. Create Makefiles using cmakesetup.exe
===========================================

I wont be giving a detailed description of the build process, because
the process is explained in the first section (where you manually build
all dependencies) of the windows build notes in this document. Just skip
past the parts where you need to build GDAL etc, since this simplified
install process does all the dependency provisioning for you.


cd qgis
mkdir build
cd build
cmakesetup ..


Cmakesetup should find all dependencies for you automatically (it uses the
LIB_DIR environment to find them all in c:\dev\cpp\qgislibs-release).
Press configure again after the cmakesetup gui appears and when all the red
fields are gone, and you have made any personalisations to the setup, press
ok to close the cmake gui.

Now open Visual Studio Express and do:

File -> Open -> Project / Solution

Now open the cmake generated QGIS solution which should be in :


c:\dev\cpp\qgis\build\qgisX.X.X.sln


Where X.X.X represents the current version number of QGIS. Currently I
have only made release built dependencies for QGIS (debug versions will follow
in future), so you need to be sure to select 'Release' from the solution
configurations toolbar.

Next right click on ALL_BUILD in the solution browser, and then choose build.

Once the build completes right click on INSTALL in the solution browser and
choose build. This will by default install qgis into c:\program files\qgisX.X.X.


8.15. Running and packaging
===========================

To run QGIS you need to at the minimum copy the dlls from c:\dev\cpp\qgislibs-release\bin
into the c:\program files\qgisX.X.X directory.


9. Authors and Acknowledgments
==============================

The following people have contributed to this document:

- Windows MINGW Section
- Tim Sutton, Godofredo Contreras 2006
- CMake additions Magnus Homann 2007
- Python additions Martin Dobias 2007
- With thanks to Tisham Dhar for preparing the initial msys environment

- Windows MSVC Section (Detailed install)
- David Willis 2007
- MSVC install additions Tim Sutton 2007
- PostgreSQL, Qt compile, SIP, Python, AutoExp additions Juergen Fischer 2007

- Windows MSVC Section (Simplified install)
- Tim Sutton 2007
- Juergen Fischer 2007

- OSX Section
- Tim Sutton, 2007
- With special thanks to Tom Elwertowski and William Kyngesburye

- GNU/Linux Section
- Tim Sutton 2006



Expand Down

0 comments on commit 6dd00ff

Please sign in to comment.