Skip to content
Dominique Hausser edited this page Jun 27, 2018 · 15 revisions

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

Linux

  • Get the source git clone https://github.com/opengribs/XyGrib.git

  • Build cd XyGrib mkdir build cd build cmake .. make

  • Install

    cmake -DCMAKE_INSTALL_PREFIX=/wherever .. (as it do not respect rules of most linux distro suggestion is : cmake -DCMAKE_INSTALL_PREFIX=/opt ..) sudo make install

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