Version 2 (modified by mlucas, 12 years ago) (diff)

--

Windows Build

Setting up dependencies

This can be a challenge at times. If the commandline is comfortable for you set up msys first.

  • MSYS
  • Download QT4 binary installer from the Trolltech site and install their version of mingw in the msys/mingw folder. This will set up a compiler toolchain.
  • Compile and install gdal, this is fairly simple. Install other closely linked packages as well including proj.4 and libtiff.
  • Compile and Install OpenThreads? and Producer libraries. Resolve dependecies as they come up. http://gnuwin32.sourceforge.net/ has a lot of useful binaries.
  • Install ossim using standard ./configure , make and make install
  • ossimPlanet console version can be compiled with standard make and make install as well

ossimqt is yet to be fully ported to Qt4.2 ossimPlanetQt however already works in QT4 and has been successfully compiled on windows using msys + qt4.2. Use the shell provided with QT 4.2 to perform this build.

  • Add the mingw binary and dll locations to the PATH of the QT Shell.
  • Modify the INCLUDE PATH and LIB paths as appropriate in the Makefile.Release files
  • run qmake and make.
  • Copy the binary and dll over to the same directory and run ossimplanet.exe