c++ - Visual Studio 2012 上的 WildMagic 5.9

标签 c++ c visual-studio

我尝试在 Visual Studio 2012 上构建 WildMagic 5.9,但出现错误:

Error   3   error C2039: 
'greater' : is not a member of 'std'
c:\wildmagic5\libmathematics\intersection\wm5intrellipsoid3ellipsoid3.cpp 142 1
LibMathematics_VC100
为什么?需要修复什么才能编译?

最佳答案

需要包括:

 include <functional>

关于c++ - Visual Studio 2012 上的 WildMagic 5.9,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14821439/

相关文章:

C++ 类不生成匹配函数和已知转换错误

c - 如何避免 if 上出现 "constant expression"?

visual-studio - 如何在 Visual Studio 中组织大型项目(>300 个类)的 F# 源代码?

使用 Python.h undefined symbol 的 C++ 编译

c++ - CMUSphix 不识别

c - 如何将嵌套结构体数组作为参数传递给函数?

c++ - 如何调试仅在发布版本中发生的崩溃

visual-studio - 我应该将 Visual Studio .suo 和 .user 文件添加到源代码管理吗?

c++ - 已完成线程使用的免费资源

c - 包含<time.h>,开始时发生错误