You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
M_PI is not defined by <cmath> on WIN32 unless you first define _USE_MATH_DEFINES
This causes glview.cc to fail to build, but it is easily fixed by defining _USE_MATH_DEFINES prior to including <cmath>. This could either be done in the glview.sln or by #define in glview.cc.
To Reproduce
Windows 11
Visual Studio Professional 2022 version 17.9.1
The text was updated successfully, but these errors were encountered:
Describe the issue
M_PI is not defined by
<cmath>
on WIN32 unless you first define _USE_MATH_DEFINESThis causes glview.cc to fail to build, but it is easily fixed by defining _USE_MATH_DEFINES prior to including
<cmath>
. This could either be done in the glview.sln or by #define in glview.cc.To Reproduce
The text was updated successfully, but these errors were encountered: