Open GWRon opened 6 months ago
i added
#include <stdint.h>
(alternatively do #include <cstdint>
as the error message indicates :D)
to math.mod/polygon.mod/clipper2/CPP/Clipper2Lib/include/clipper2/clipper.core.h
and then it compiled - but am not sure if that is feasible for non-linux.
Updating to the latest clipper should resolve that issue: https://github.com/AngusJohnson/Clipper2
The fix was introduced there with this commit: https://github.com/AngusJohnson/Clipper2/commit/742614f36870bfda94b0224a5ce3bf4ee52cd358
which indicates the issue begins with GCC13 (and later).
As William in discord pointed out he is not able to compile math.polygon.
I now installed ubuntu 23.10 in a VM and tried to compile math.polygon too: (using
gcc version 13.2.0 (Ubuntu 13.2.0-4ubuntu3)
)Seems for newer GCCs we need to include something more - or a newer version of the lib might already be aware of the issue.