Failing to compile (+ the solution)
RetroDev64 opened this issue · 3 comments
RetroDev64 commented
As of now the project cannot be compiled because the standard library isn't imported.
For that to be fixed, Headers/Global.hpp
should be changed to this:
#include <cmath>
#include <algorithm>
... the rest of the code
hklsb commented
I get this on Windows 10x64 Visual Studio
Error C2039 : 'clamp': is not a member of 'std'
x-Eagle-x commented
Have you applied the solution?
I get this on Windows 10x64 Visual Studio
Error C2039 : 'clamp': is not a member of 'std'
hklsb commented
I applied it but same error. So finally found out that clamp support is only from c++17. I was using c++14. Fixed! Thanks