I can't comment on other branches of ScanTailor, but for those interested in using ScanTailor Experimental (aka STE: Tulon's fork that has improvements on a number of levels) on MacOS, there "shouldn't" be major problems compiling it, as I've done it a number of times successfully. The dependencies for STE are different than for older branches for which the wiki is written, so those directions aren't necessarily going to help.
Here are the steps that worked for me. If you try them and it doesn't work, go ahead and reply here and perhaps we can get a working set of MacOS install directions for STE. I tested these running MacOS Sierra 10.12.4.
1) Grab the source code and unzip, from:
https://github.com/Tulon/scantailor/tree/experimental
2) Make sure you have homebrew installed.
https://brew.sh
3) Using homebrew, install the following dependencies:
Code: Select all
brew install cmake eigen qt5 jpeg libtiff boost
* For future reference: when I tested this, homebrew installed the following versions of these packages:
cmake (3.8.0), eigen (3.3.3), qt5 (5.8.0_2), jpeg (8d), libtiff (4.0.7_3), boost (1.64.0_1)
4) Within the directory scantailor-experimental, run:
Code: Select all
cmake . -DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt/5.8.0_2
* If this command runs successfully without producing errors, it should end with something like:
Code: Select all
- Configuring done
- Generating done
* If it didn't run successfully, it should give you information on what happened: perhaps a missing dependency, if (for example) you aren't using homebrew and/or don't have the correct versions of the libraries.
* If cmake complains that it cannot find QtCore, then you need to adjust the CMAKE_PREFIX_PATH from what I've given above to where QtCore is on your system. This will
definitely be the case if you have installed Qt5 in a manner other than using homebrew. Likewise, if homebrew installed a different version, you'll obviously have to adjust the path accordingly. Wherever it is, you need to provide the path for cmake to find it. Worst case scenario, break out Spotlight and dig around for a while.
5) Run:
6) Then, as long as it compiled successfully,
* This will allow you to launch STE from the Terminal (scantailor), but assembling a package that appears as a nice ScanTailor.app in your Applications folder is a whole different thing.