1To compile pfstools from sources on OSX, you need:
21. XCode
32. Any of:
4   Homebrew - http://brew.sh/ (recommended)
5   Fink - http://www.finkproject.org/
6   MacPorts - https://www.macports.org/
7
8Refer to REAME file for the instruction on how to compile with cmake.
9
10The build was tested to work on maxOS Sierra 10.12.6 on 13 Nov 2017 with Homebrew. The following notes can help get all dependencies recognized:
11
12* Qt5: You need to add "-D CMAKE_PREFIX_PATH=/usr/local/opt/qt5" to cmake. The path should be pointing where the Qt5 is installed.
13
14
15===== Image Magick =====
16
17In case of problems with ImageMagick on Mountain Lion:
18
19brew install libtool --universal
20brew link libtool --force
21brew install imagemagick --with-magick-plus-plus
22
23