Hi,
currently the installation of FLAIR on macOS Catalina requires the full installation of Xcode, which is a huge package. Without Xcode some compilations fail due to missing header files. This is an issue in the gcc9 port installation. Actually, the header files are available with the Command Line Tools under /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
. This path should be output from xcrun --show-sdk-path
when only the Command Line Tools are installed but not Xcode.
I just wanted to share that I have managed to install FLAIR without Xcode being installed, saving some 16 GB of disk space. In case you someone is interested in …
In order to correctly compile, you need to add the following line to flair-geoviewer-3.0/rules.mk
before installation.
e.g. line 223:
ifeq ($(SYSTEM),Darwin)
CXXFLAGS += -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
else
...
endif
however … you may need to run make
and make install
twice in order to work …
Cheers,
Markus