‘CALLBACK’ : macro redefinition

다음과 같은 error가 발생할 때,

C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\include\windef.h(122) : warning C4005: ‘CALLBACK’ : macro redefinition
        C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\GL/glut.h(34) : see previous definition of ‘CALLBACK’

#include <windows.h>를 #include <glud.h> 보다 먼저 선언해준다.

Add a Comment