meshpro / pygalmesh

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

Compiler assumption on MacOS #205

Open cmichelenstrofer opened 1 year ago

cmichelenstrofer commented 1 year ago

When I try pip install pygalmesh I get the following error:

gcc: error: unrecognized command-line option '-stdlib=libc++' error: command '/opt/local/bin/gcc' failed with exit code 1

Based on this answer I suspect the assumption is that Clang is used instead GNU compilers. It sounds like that option can be deleted or replaced with -stdlib=libstdc++ since both compilers can use it.