Skip to content
dominiquehausser edited this page Jun 18, 2018 · 15 revisions

As a native application available on multiple platforms, XyGrib makes extensive use of the Qt framework.

Linux

  • Prerequisite installs needed on your system: build-essential g++ make libbz2-dev zlib1g-dev libproj-dev libnova-dev nettle-dev libpng16-dev libjpeg-dev libjasper-dev qtbase5-dev qt5-default
  • Download XyGrib-src.tgz and extract archive
  • Enter extracted folder and run 'make' and afterwards 'make install'

Problem with lib jasper not included in recent Ubuntu (>= 17.04) and Debian (>=9.0) A temporary solution is to use the following modified files

MacOS

  • Install Qt framework

  • Install build dependencies (via MacPorts)

    sudo port install jasper libpng
    
  • Build dependencies

    cd src/g2clib
    make -f makefile.osx
    

    Note: enc_jpeg2000.c includes a line that breaks on lib jasper > 1.9, comment out the offending line and the build should complete.

  • Reset project environment and build

    qmake -r
    make
    

Windows

Clone this wiki locally