build(windows): `M_PI` not defined when including `spline.h` on Windows
t-bre opened this issue · 1 comments
t-bre commented
Description
Compiling on Windows with msbuild
fails as M_PI
is not defined before the inclusion of spline.h
.
Steps To Reproduce
- Build on Windows with
msbuild
. - Leads to errors for
M_PI
not being defined.
Environment
os: Windows 11
compiler: msvc
Expected Behaviour
Compilation succeeds.
Additional Notes
There should be a standard header with M_PI
defined in it which can be included before spline.h
to fix the issue.
t-bre commented