PDA

View Full Version : compile under Microsoft VC++



Romain
01-26-2001, 07:43 AM
why have i an error when i compile with Visual C++? it is said that in gl.h :

expected '(' to follow 'WINGDIAPI'
the error is linked to the following code line in gl.h

WINGDIAPI void APIENTRY glAccum (GLenum op, GLfloat value);

Thanks for your help

Maunikar
01-26-2001, 07:49 AM
I think you need to
#include <windows.h>

before <gl/gl.h>

Jason/Maunikar

Romain
01-26-2001, 10:03 AM
thank you