CadQuery / OCP

Apache License 2.0
96 stars 29 forks source link

Errors with GLIBC CXX17 #111

Open meerfrau opened 1 year ago

meerfrau commented 1 year ago

Hi Adam,

I've got a ton of errors like NCollection_tmpl.hxx:1610:67: error: expected unqualified-id before '*' token when building with GCC 13 (or 11) and glibc 2.37: Pastebin

export CXX=g++-11 didn't improve it, shall I lower the C++ std?

My last successful build was 7.6.4 which is now missing libTKMath.so.7 from a newer OpenCascade.

Do you have any idea? I haven't tried in a clean chroot yet to verify that it is not a local problem.

efferre79 commented 8 months ago

I have the same problem using GCC 12, opencascade 7.7, pywrap at master. I have tried from scratch by generating the bindings using cmake 15 and 17. pybind is 2.11.1