【发布时间】:2015-07-22 14:31:44
【问题描述】:
我该如何处理这个错误?我将 NOMINMAX 添加到预处理器定义中,但它不起作用。那么解决办法是什么?
错误如下。
ClCompile:
1> tricall.c
1> Detected min macro! OpenMesh does not compile with min/max macros active! Please add a define NOMINMAX to your compiler flags or add #undef min before including OpenMesh headers !
1>d:\programfiles\c_library\openmesh3.2\include\openmesh\core\system\config.h(72): fatal error C1189: #error : min macro active
【问题讨论】:
-
请把你写的代码贴出来,如果没有看到你的代码,通常是不可能回答问题的。