Hi,
Im trying to compile the tutorial1 code, but it gives me these errors below. Any idea?
One question more: what releases of the .h files should i use to compile correctly this code?
Warning 1 warning C4005: ‘UNALIGNED’ : macro redefinition D:\Archivos de programa\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winnt.h 49
Error 2 error C2146: syntax error : missing ‘;’ before identifier ‘EGLint’ D:\OpenGL\include\GLES\egl.h 14
Error 3 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int D:\OpenGL\include\GLES\egl.h 14
Error 4 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int D:\OpenGL\include\GLES\egl.h 14
Error 5 error C2146: syntax error : missing ‘;’ before identifier ‘eglGetError’ D:\OpenGL\include\GLES\egl.h 192
Error 6 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int D:\OpenGL\include\GLES\egl.h 192
Error 7 error C2086: ‘int EGLint’ : redefinition D:\OpenGL\include\GLES\egl.h 192
Error 8 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int D:\OpenGL\include\GLES\egl.h 192
Error 9 error C2061: syntax error : identifier ‘EGLint’ D:\OpenGL\include\GLES\egl.h 195
Error 10 error C2061: syntax error : identifier ‘EGLint’ D:\OpenGL\include\GLES\egl.h 198
Error 11 error C2061: syntax error : identifier ‘EGLint’ D:\OpenGL\include\GLES\egl.h 201
Error 12 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int D:\OpenGL\include\GLES\egl.h 202
Error 13 error C2143: syntax error : missing ‘,’ before ‘’ D:\OpenGL\include\GLES\egl.h 202
Error 14 error C2061: syntax error : identifier ‘EGLint’ D:\OpenGL\include\GLES\egl.h 206
Error 15 error C2061: syntax error : identifier ‘NativeWindowType’ D:\OpenGL\include\GLES\egl.h 209
Error 16 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int D:\OpenGL\include\GLES\egl.h 212
Error 17 error C2143: syntax error : missing ‘,’ before '’ D:\OpenGL\include\GLES\egl.h 212
Error 18 error C2061: syntax error : identifier ‘NativePixmapType’ D:\OpenGL\include\GLES\egl.h 214
Error 19 error C2061: syntax error : identifier ‘EGLint’ D:\OpenGL\include\GLES\egl.h 218
Error 20 error C2065: ‘EGLenum’ : undeclared identifier D:\OpenGL\include\GLES\egl.h 220
Error 21 error C2146: syntax error : missing ‘)’ before identifier ‘api’ D:\OpenGL\include\GLES\egl.h 220
Error 22 error C2059: syntax error : ‘)’ D:\OpenGL\include\GLES\egl.h 220
Error 23 error C2146: syntax error : missing ‘;’ before identifier ‘eglQueryAPI’ D:\OpenGL\include\GLES\egl.h 221
Error 24 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int D:\OpenGL\include\GLES\egl.h 221
Error 25 error C2371: ‘EGLenum’ : redefinition; different basic types D:\OpenGL\include\GLES\egl.h 221
Error 26 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int D:\OpenGL\include\GLES\egl.h 221
Error 27 error C2061: syntax error : identifier ‘EGLenum’ D:\OpenGL\include\GLES\egl.h 228
Error 28 error C2061: syntax error : identifier ‘EGLint’ D:\OpenGL\include\GLES\egl.h 232
Error 29 error C2061: syntax error : identifier ‘EGLint’ D:\OpenGL\include\GLES\egl.h 233
Error 30 error C2061: syntax error : identifier ‘EGLint’ D:\OpenGL\include\GLES\egl.h 234
Error 31 error C2061: syntax error : identifier ‘EGLint’ D:\OpenGL\include\GLES\egl.h 237
Error 32 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int D:\OpenGL\include\GLES\egl.h 242
Error 33 error C2143: syntax error : missing ‘,’ before ‘*’ D:\OpenGL\include\GLES\egl.h 242
Error 34 error C2146: syntax error : missing ‘)’ before identifier ‘readdraw’ D:\OpenGL\include\GLES\egl.h 248
Error 35 error C2440: ‘initializing’ : cannot convert from ‘int’ to ‘EGLSurface’ D:\OpenGL\include\GLES\egl.h 248
Error 36 error C2059: syntax error : ‘)’ D:\OpenGL\include\GLES\egl.h 248
Error 37 error C2061: syntax error : identifier ‘EGLint’ D:\OpenGL\include\GLES\egl.h 251
Error 38 error C2146: syntax error : missing ‘)’ before identifier ‘engine’ D:\OpenGL\include\GLES\egl.h 254
Error 39 error C2059: syntax error : ‘)’ D:\OpenGL\include\GLES\egl.h 254
Error 40 error C2061: syntax error : identifier ‘NativePixmapType’ D:\OpenGL\include\GLES\egl.h 257
Error 41 error C2146: syntax error : missing ‘;’ before identifier ‘matchingConfigs’ d:\Mis documentos\Visual Studio 2005\Projects\Visor Opengl 2D\Visor Opengl 2D\Visor Opengl 2D.cpp 111
Error 42 error C2065: ‘matchingConfigs’ : undeclared identifier d:\Mis documentos\Visual Studio 2005\Projects\Visor Opengl 2D\Visor Opengl 2D\Visor Opengl 2D.cpp 111
Error 43 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int d:\Mis documentos\Visual Studio 2005\Projects\Visor Opengl 2D\Visor Opengl 2D\Visor Opengl 2D.cpp 117
Error 44 error C2146: syntax error : missing ‘;’ before identifier ‘configAttribs’ d:\Mis documentos\Visual Studio 2005\Projects\Visor Opengl 2D\Visor Opengl 2D\Visor Opengl 2D.cpp 117
Error 45 error C2065: ‘configAttribs’ : undeclared identifier d:\Mis documentos\Visual Studio 2005\Projects\Visor Opengl 2D\Visor Opengl 2D\Visor Opengl 2D.cpp 117
Error 46 error C2059: syntax error : ‘]’ d:\Mis documentos\Visual Studio 2005\Projects\Visor Opengl 2D\Visor Opengl 2D\Visor Opengl 2D.cpp 117
Error 47 error C2143: syntax error : missing ‘;’ before ‘{’ d:\Mis documentos\Visual Studio 2005\Projects\Visor Opengl 2D\Visor Opengl 2D\Visor Opengl 2D.cpp 118
Error 48 error C2143: syntax error : missing ‘;’ before ‘}’ d:\Mis documentos\Visual Studio 2005\Projects\Visor Opengl 2D\Visor Opengl 2D\Visor Opengl 2D.cpp 127
Error 49 error C2664: ‘eglGetDisplay’ : cannot convert parameter 1 from ‘HDC’ to ‘const char *’ d:\Mis documentos\Visual Studio 2005\Projects\Visor Opengl 2D\Visor Opengl 2D\Visor Opengl 2D.cpp 130
Error 50 error C2660: ‘eglInitialize’ : function does not take 3 arguments d:\Mis documentos\Visual Studio 2005\Projects\Visor Opengl 2D\Visor Opengl 2D\Visor Opengl 2D.cpp 133