Installing C++ libraries¶
The easiest way to install external libraries on macOS is to use Homebrew (recommended), although you could install them manually (follow the Linux or Unix instructions if there are none for Mac).
An example to install CGAL with Homebrew:
Another example with GDAL:
If you're using an Apple Silicon (arm64) Mac, the paths used by Homebrew are: /opt/homebrew/include
(for headers) and /opt/homebrew/lib
(for libraries).
If you're using an Intel (x86-64) Mac, the paths used by Homebrew are: /usr/local/include
(for headers) and /usr/local/lib
(for libraries).
The easiest way to install external libraries on Linux is to use apt
(recommended).
An example to install CGAL:
Another example with GDAL:
TODO