Physx1 ERROR] C1189 Min Max 매크로로 인한 Error #error : Error: min or max is #defined, probably in . Put #define NOMINMAX before including windows.h to suppress windows global min,max macros. PhysX는 Min, Max 매크로를 nxmath.h에 정의하여 사용하고 있다. 이 때문에 Windows.h에도 정의 되어 있는 두 Min, Max 매크로가 충돌(중복정의)을 일으켜 발생되는 에러다. 따라서 해결 방법은 아래처럼 해주면 된다. #define NOMINMAX #ifdef max #undef max #endif #ifdef min #undef min #endif #include 오류6fatal error C1189: #error : Er.. 2009. 12. 20. 이전 1 다음