Hugo Ledoux

associate-prof in 3D geoinformation at TU Delft
blog contact protégés publications research slides software

Compiling the CGAL Ipelets under macOS

CGAL Ipelets are great, but with each CGAL and Ipe new releases I need to recompile them, and the procedure seems to be changing all the time. The latest is that Homebrew doesn’t have the source of Ipe anymore, it just pulls the official Ipe.app…

For CGAL 4.11 and Ipe 7.2, here are the steps:

  1. download Ipe.app from ipe.otfried.org
  2. install in /Applications/
  3. $ brew install cgal
  4. download the latest source code of CGAL
  5. $ cd CGAL-4.11.2/demo/CGAL_ipelets/
  6. $ cmake . -DIPE_INCLUDE_DIR=/Applications/Ipe.app/Contents/Frameworks/Headers -DIPE_LIBRARIES=/Applications/Ipe.app/Contents/Frameworks/libipe.dylib
  7. you must copy the *.so and lua/*.lua to your ipelets folder. Go to the menu ‘Help/Show configuration’ to see where you should put your newly created Ipe extensions. Mine was ~/.ipe/ipelets so I created that folder and copied the extensions.
  8. $ cp *.so ~/.ipe/ipelets/
  9. $ cp lua/*.lua ~/.ipe/ipelets/
  10. voilà


RSSCreative Commons License