meshpro / pygalmesh

:spider_web: A Python interface to CGAL's meshing tools
GNU General Public License v3.0
597 stars 57 forks source link

CGAL 5.3 breaks pygalmesh build #151

Closed drew-parsons closed 2 years ago

drew-parsons commented 3 years ago

CGAL 5.3 has reorganized the location files, so pygalmesh (0.9.4) now fails to build against it:

x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-RNBry6/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/build/pygalmesh-0.9.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/eigen3/ -I/usr/lib/python3/dist-packages/pybind11/include -I/usr/include/python3.9 -c src/generate_from_off.cpp -o build/temp.linux-x86_64-3.9/src/generate_from_off.o -std=c++17 -fvisibility=hidden -g0
src/generate_from_off.cpp:18:10: fatal error: CGAL/IO/OFF_reader.h: No such file or directory
   18 | #include <CGAL/IO/OFF_reader.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

(in this particular case OFF files have been moved to their own subdirectory)

nschloe commented 3 years ago

I'll only be able to fix this once Ubuntu has bumped its CGAL version. https://bugs.launchpad.net/ubuntu/+source/cgal/+bug/1940221

nschloe commented 2 years ago

This has been fixed for a while.