min-devkit on windows can't find std::clamp
get this error in GitHub actions when I try to do a windows build
D:\a\MantaMaxObject\MantaMaxObject\source\min-api\include\c74_min_limit.h(65,16): error C2039: 'clamp': is not a member of 'std' [D:\a\MantaMaxObject\MantaMaxObject\build\source\projects\min.manta\min.manta.vcxproj]
(compiling source file '../../../../source/projects/min.manta/min.manta.cpp')
D:\a\MantaMaxObject\MantaMaxObject\source\min-api\include\c74_min_atom.h(376,11):
see declaration of 'std'
This failure is also on the most recent commit in the GitHub. Wondering if anyone has found a way around it on windows
This was (probably) fixed in the latest commit on the min-api (note that min-devkit and min-api are two different repos and that min-devkit may not always be up to date with the changes to min-api).
I'd recommend setting up min-api as a submodule of your own repo, so that you can just pull upstreams changes when needed
ooo I'll check this out!
It is a submodule so that should make the pull easy!