Building with OSGeo4W - firelab/wfips GitHub Wiki

Requirements

  1. Windows
  2. CMake
  3. OSGeo4W installer (x86_64)

Steps

  1. Download the OSGeo4W installer here
  2. Select Advanced Install
  3. Select Install from internet
  4. You can use the default install path OSGeo4W64, and local package directory (2 pages).
  5. Select the default Direct Connection
  6. Select the default download site http://download.osgeo.org
  7. From the package listing, select:

Command Line

  • None

Desktop

  • qgis-dev

Libs

  • gdal
  • proj
  • proj-datamgrid
  • qt4-devel
  • qt4-libs
  • qt4-libs-debug
  • qwt5-devel-qt4
  • qwt5-libs-qt4
  • spatialite
  • sqlite3

The installer will ask to install all dependencies, the default is yes, use the default, and finish the installation.

CMake

  • Run CMake and enable USE_OSGEO4W, configure again.
  • This will show a new variable, OSGEO4W_HOME. Set this to the installation path for OSGeo4W (default would be C:\OSGeo4W64).
  • Configure again, this should fill in all geospatial and supporting libs (gdal, qt, etc.).
  • Finish configuring, and run Generate