-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathBuilding.MacOSX
More file actions
31 lines (22 loc) · 808 Bytes
/
Building.MacOSX
File metadata and controls
31 lines (22 loc) · 808 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
How to build under MacOSX
=========================
Prerequisites
-------------
Boost can be downloaded from boost.org.
GDAL can be downloaded from http://www.kyngchaos.com/software:frameworks .
Select the 1.x bundle!
Fix GDAL installation by adding the following sym link:
$ ln -s /Library/Frameworks/GDAL.framework/unix/include /usr/local/include/gdal
CGAL can be downloaded from the site (www.gical.org) or using brew (highly recommended).
It must be installed in /usr/local.
In case you install it from sources, unpack them, create a build directory, then run cmake and make:
$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo make install
GreographicLib too can be installed either from sources, or using brew.
To install from sources:
$ configure --prefix=/usr/local
$ make
$ sudo make install