11Quantum GIS (QGIS)
22Building QGIS from source - step by step
33
4- Last update: 20110201
5- Last change: 20110201
4+ Last update: 20110327
5+ Last change: 20110306
66
77 1. Introduction
88 2. Overview
@@ -758,9 +758,9 @@ Now close cmake-gui and continue on the command prompt by starting
758758vcexpress. Use File / Open / Project/Solutions and open the
759759qgis-x.y.z.sln File in your project directory.
760760
761- You probably want to change the Solution Configuration from Debug
762- to RelWithDebInfo (Release with Debug Info) or Release before you
763- build QGIS using the ALL_BUILD target .
761+ Change Solution Configuration from Debug to RelWithDebInfo (Release
762+ with Debug Info) or Release before you build QGIS using the ALL_BUILD
763+ target (otherwise you need debug libraries that are not included) .
764764
765765After the build completed you should install QGIS using the INSTALL target.
766766
@@ -1641,8 +1641,6 @@ tarball to unpack it, then cd to the source folder and:
16411641 5.3. Install CMake for OSX
16421642 ==========================
16431643
1644- (Only needed for a cmake build.)
1645-
16461644Get the latest source release from here:
16471645
16481646
@@ -1762,7 +1760,8 @@ In a Terminal cd to the qgis source folder previously downloaded, then:
17621760 mkdir build
17631761 cd build
17641762 cmake -D CMAKE_INSTALL_PREFIX=~/Applications -D CMAKE_BUILD_TYPE=Release \
1765- -D CMAKE_BUILD_TYPE=MinSizeRel -D WITH_INTERNAL_SPATIALITE=FALSE \
1763+ -D CMAKE_BUILD_TYPE=MinSizeRel \
1764+ -D WITH_INTERNAL_SPATIALITE=FALSE -D WITH_MAPSERVER=TRUE \
17661765 -D QWT_LIBRARY=/usr/local/qwt-5.2.1-svn/lib/libqwt.dylib \
17671766 -D QWT_INCLUDE_DIR=/usr/local/qwt-5.2.1-svn/include \
17681767 ..
@@ -1777,7 +1776,8 @@ path and version as required):
17771776
17781777
17791778 cmake -D CMAKE_INSTALL_PREFIX=~/Applications -D CMAKE_BUILD_TYPE=Release \
1780- -D CMAKE_BUILD_TYPE=MinSizeRel -D WITH_INTERNAL_SPATIALITE=FALSE \
1779+ -D CMAKE_BUILD_TYPE=MinSizeRel \
1780+ -D WITH_INTERNAL_SPATIALITE=FALSE -D WITH_MAPSERVER=TRUE \
17811781 -D QWT_LIBRARY=/usr/local/qwt-5.2.1-svn/lib/libqwt.dylib \
17821782 -D QWT_INCLUDE_DIR=/usr/local/qwt-5.2.1-svn/include \
17831783 -D GRASS_PREFIX=/user/local/grass-6.4.0 \
@@ -1796,7 +1796,8 @@ script and add arch flags to the configuration:
17961796 sudo chmod +x /usr/local/bin/python32
17971797
17981798 cmake -D CMAKE_INSTALL_PREFIX=~/Applications -D CMAKE_BUILD_TYPE=Release \
1799- -D CMAKE_BUILD_TYPE=MinSizeRel -D WITH_INTERNAL_SPATIALITE=FALSE \
1799+ -D CMAKE_BUILD_TYPE=MinSizeRel \
1800+ -D WITH_INTERNAL_SPATIALITE=FALSE -D WITH_MAPSERVER=TRUE \
18001801 -D QWT_LIBRARY=/usr/local/qwt-5.2.1-svn/lib/libqwt.dylib \
18011802 -D QWT_INCLUDE_DIR=/usr/local/qwt-5.2.1-svn/include \
18021803 -D CMAKE_OSX_ARCHITECTURES=i386 -D PYTHON_EXECUTABLE=/usr/local/bin/python32 \
0 commit comments