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 14.2

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 seem to have the source of Ipe anymore, it just pulls the official Ipe.app…

For CGAL 5.5.2 and Ipe 7.2.28, here are the steps that work (for me):

  1. download Ipe.app from ipe.otfried.org
  2. install in /Applications/
  3. download the source of Ipe, the code is on GitHub, and you can download directly the latest: v7.2.28.tar.gz
  4. $ brew install cgal
  5. download the latest source code of CGAL
  6. $ cd CGAL-5.5.2/demo/CGAL_ipelets/
  7. $ cmake . -DIPE_INCLUDE_DIR=/Users/hugo/software/ipe-7.2.28/src/include -DIPE_LIBRARIES=/Applications/Ipe.app/Contents/Frameworks/libipe.dylib
  8. $ make
  9. 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.
  10. $ cp *.so ~/.ipe/ipelets/
  11. $ cp lua/*.lua ~/.ipe/ipelets/
  12. voilà 🚀


RSSCreative Commons License