Skip to content

Commit dc2bd6c

Browse files
authored
Merge pull request #141 from ES-Alexander/macOS-readme
install on macOS, troubleshooting
2 parents 525fd01 + be6fa1d commit dc2bd6c

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,13 +456,27 @@ Ubuntu
456456
```
457457
sudo apt install libcgal-dev libeigen3-dev
458458
```
459+
On MacOS with homebrew,
460+
```
461+
brew install cgal eigen
462+
```
459463
After that, pygalmesh can be [installed from the Python Package
460464
Index](https://pypi.org/project/pygalmesh/), so with
461465
```
462466
pip install -U pygalmesh
463467
```
464468
you can install/upgrade.
465469

470+
#### Troubleshooting
471+
If pygalmesh fails to build due to `fatal error: 'Eigen/Dense' file not found`
472+
you will need to create a symbolic link for Eigen to be detected, e.g.
473+
```
474+
cd /usr/local/include
475+
sudo ln -sf eigen3/Eigen Eigen
476+
```
477+
It's possible that `eigen3` could be in `/usr/include` instead of
478+
`/usr/local/install`.
479+
466480
#### Manual installation
467481

468482
For manual installation (if you're a developer or just really keen on getting

0 commit comments

Comments
 (0)