OpenGL Error
-
Hi Ich hab ein Problem beim kompilieren von OpenGL. Früher hats geklappt und ich weiss nicht was ich anders gmacht hab.
Ich benutze Visual Studio C++ express und kriege beim kompilieren folgende Fehlermeldung. Googeln hat mich nciht wirklich weitergebrachtc:\programme\microsoft platform sdk\include\gl\gl.h(1152) : error C2144: Syntaxfehler: 'void' sollte auf ';' folgen c:\programme\microsoft platform sdk\include\gl\gl.h(1152) : error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt. c:\programme\microsoft platform sdk\include\gl\gl.h(1152) : error C2146: Syntaxfehler: Fehlendes ';' vor Bezeichner 'glAccum' c:\programme\microsoft platform sdk\include\gl\gl.h(1152) : error C2182: 'APIENTRY': Unzulässige Verwendung des Typs 'void' c:\programme\microsoft platform sdk\include\gl\gl.h(1152) : error C4430: ... ich denke man sieht wie der Hase weiterläuft c:\programme\microsoft platform sdk\include\gl\gl.h(1152): Siehe Deklaration von 'WINGDIAPI' c:\programme\microsoft platform sdk\include\gl\gl.h(1172) : error C2146: Syntaxfehler: Fehlendes ';' vor Bezeichner 'glColor3dv' c:\programme\microsoft platform sdk\include\gl\gl.h(1172) : error C2182: 'APIENTRY': Unzulässige Verwendung des Typs 'void' c:\programme\microsoft platform sdk\include\gl\gl.h(1172) : fatal error C1003: Mehr als 100 Fehler gefunden; Kompilierung wird abgebrochen.
Hat jemand ne Ahnung woran das liegen könnte?
-
mach mal ein #include <windows.h> davor