PDA

View Full Version : Compiling reference implementation on VS.NET



hmwill
03-28-2004, 08:36 PM
Hasany body had any success in compiling the reference implementation on VS.NET (7.1)? I am getting the most bizarre error messages like

c:\src\gles-1.0c\GLES\egl.h(160) : error C2040: 'EGLConfig' : 'int' differs in levels of indirection from 'void *'

for a line that reads

GLAPI EGLBoolean APIENTRY eglChooseConfig (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config);

I already checked all the compiler options, include directories and even had a look at the preprocessed source, but no clue so far...

Any help is appreciated,
HM

[ March 28, 2004: Message edited by: Hans-Martin Will ]

hmwill
03-28-2004, 08:52 PM
Oh well, found it myself:

stdint.h is missing in VS.NET (http://www.gamedev.net/community/forums/topic.asp?topic_id=190880), yet the definitions of int32_t and the like have already been moved out of <sys/types.h> into this file...