-
Notifications
You must be signed in to change notification settings - Fork 48
Build Notes
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.
-
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 :+1: make -DCMAKE_INSTALL_PREFIX=/opt .. ) sudo make install
-
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