Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sdlmain.cpp:119:1: error: unknown type name 'PFNGLATTACHSHADERPROC'
- PFNGLATTACHSHADERPROC glAttachShader = NULL;
- ^
- sdlmain.cpp:120:1: error: unknown type name 'PFNGLCOMPILESHADERPROC'; did you mean 'PFNGLCOMPILESHADERARBPROC'?
- PFNGLCOMPILESHADERPROC glCompileShader = NULL;
- ^~~~~~~~~~~~~~~~~~~~~~
- PFNGLCOMPILESHADERARBPROC
- /opt/x86_64/include/SDL/SDL_opengl.h:4141:25: note: 'PFNGLCOMPILESHADERARBPROC' declared here
- typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
- ^
- sdlmain.cpp:120:24: error: redefinition of 'glCompileShader' as different kind of symbol
- PFNGLCOMPILESHADERPROC glCompileShader = NULL;
- ^
- /opt/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2924:13: note: previous definition is here
- extern void glCompileShader (GLuint shader);
- ^
- sdlmain.cpp:121:1: error: unknown type name 'PFNGLCREATEPROGRAMPROC'; did you mean 'PFNGLEXECUTEPROGRAMNVPROC'?
- PFNGLCREATEPROGRAMPROC glCreateProgram = NULL;
- ^~~~~~~~~~~~~~~~~~~~~~
- PFNGLEXECUTEPROGRAMNVPROC
- /opt/x86_64/include/SDL/SDL_opengl.h:5736:25: note: 'PFNGLEXECUTEPROGRAMNVPROC' declared here
- typedef void (APIENTRYP PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params);
- ^
- sdlmain.cpp:121:24: error: redefinition of 'glCreateProgram' as different kind of symbol
- PFNGLCREATEPROGRAMPROC glCreateProgram = NULL;
- ^
- /opt/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2925:15: note: previous definition is here
- extern GLuint glCreateProgram (void);
- ^
- sdlmain.cpp:122:1: error: unknown type name 'PFNGLCREATESHADERPROC'
- PFNGLCREATESHADERPROC glCreateShader = NULL;
- ^
- sdlmain.cpp:123:1: error: unknown type name 'PFNGLDELETEPROGRAMPROC'; did you mean 'PFNGLDELETEPROGRAMSNVPROC'?
- PFNGLDELETEPROGRAMPROC glDeleteProgram = NULL;
- ^~~~~~~~~~~~~~~~~~~~~~
- PFNGLDELETEPROGRAMSNVPROC
- /opt/x86_64/include/SDL/SDL_opengl.h:5735:25: note: 'PFNGLDELETEPROGRAMSNVPROC' declared here
- typedef void (APIENTRYP PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
- ^
- sdlmain.cpp:123:24: error: redefinition of 'glDeleteProgram' as different kind of symbol
- PFNGLDELETEPROGRAMPROC glDeleteProgram = NULL;
- ^
- /opt/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2929:13: note: previous definition is here
- extern void glDeleteProgram (GLuint program);
- ^
- sdlmain.cpp:124:1: error: unknown type name 'PFNGLDELETESHADERPROC'; did you mean 'PFNGLDELETEFENCESNVPROC'?
- PFNGLDELETESHADERPROC glDeleteShader = NULL;
- ^~~~~~~~~~~~~~~~~~~~~
- PFNGLDELETEFENCESNVPROC
- /opt/x86_64/include/SDL/SDL_opengl.h:5598:25: note: 'PFNGLDELETEFENCESNVPROC' declared here
- typedef void (APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
- ^
- sdlmain.cpp:124:23: error: redefinition of 'glDeleteShader' as different kind of symbol
- PFNGLDELETESHADERPROC glDeleteShader = NULL;
- ^
- /opt/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2920:13: note: previous definition is here
- extern void glDeleteShader (GLuint shader);
- ^
- sdlmain.cpp:125:1: error: unknown type name 'PFNGLENABLEVERTEXATTRIBARRAYPROC'; did you mean 'PFNGLENABLEVERTEXATTRIBARRAYARBPROC'?
- PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray = NULL;
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- PFNGLENABLEVERTEXATTRIBARRAYARBPROC
- /opt/x86_64/include/SDL/SDL_opengl.h:4011:25: note: 'PFNGLENABLEVERTEXATTRIBARRAYARBPROC' declared here
- typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
- ^
- sdlmain.cpp:125:34: error: redefinition of 'glEnableVertexAttribArray' as different kind of symbol
- PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray = NULL;
- ^
- /opt/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2914:13: note: previous definition is here
- extern void glEnableVertexAttribArray (GLuint index);
- ^
- sdlmain.cpp:126:1: error: unknown type name 'PFNGLGETATTRIBLOCATIONPROC'; did you mean 'PFNGLGETATTRIBLOCATIONARBPROC'?
- PFNGLGETATTRIBLOCATIONPROC glGetAttribLocation = NULL;
- ^~~~~~~~~~~~~~~~~~~~~~~~~~
- PFNGLGETATTRIBLOCATIONARBPROC
- /opt/x86_64/include/SDL/SDL_opengl.h:4186:26: note: 'PFNGLGETATTRIBLOCATIONARBPROC' declared here
- typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
- ^
- sdlmain.cpp:126:28: error: redefinition of 'glGetAttribLocation' as different kind of symbol
- PFNGLGETATTRIBLOCATIONPROC glGetAttribLocation = NULL;
- ^
- /opt/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2964:14: note: previous definition is here
- extern GLint glGetAttribLocation (GLuint program, const GLchar *name);
- ^
- sdlmain.cpp:127:1: error: unknown type name 'PFNGLGETPROGRAMIVPROC'; did you mean 'PFNGLGETPROGRAMIVNVPROC'?
- PFNGLGETPROGRAMIVPROC glGetProgramiv = NULL;
- ^~~~~~~~~~~~~~~~~~~~~
- PFNGLGETPROGRAMIVNVPROC
- /opt/x86_64/include/SDL/SDL_opengl.h:5740:25: note: 'PFNGLGETPROGRAMIVNVPROC' declared here
- typedef void (APIENTRYP PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params);
- ^
- sdlmain.cpp:127:23: error: redefinition of 'glGetProgramiv' as different kind of symbol
- PFNGLGETPROGRAMIVPROC glGetProgramiv = NULL;
- ^
- /opt/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2953:13: note: previous definition is here
- extern void glGetProgramiv (GLuint program, GLenum pname, GLint *params);
- ^
- sdlmain.cpp:128:1: error: unknown type name 'PFNGLGETPROGRAMINFOLOGPROC'
- PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog = NULL;
- ^
- sdlmain.cpp:129:1: error: unknown type name 'PFNGLGETSHADERIVPROC'; did you mean 'PFNGLGETHANDLEARBPROC'?
- PFNGLGETSHADERIVPROC glGetShaderiv = NULL;
- ^~~~~~~~~~~~~~~~~~~~
- PFNGLGETHANDLEARBPROC
- /opt/x86_64/include/SDL/SDL_opengl.h:4137:32: note: 'PFNGLGETHANDLEARBPROC' declared here
- typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname);
- ^
- sdlmain.cpp:129:22: error: redefinition of 'glGetShaderiv' as different kind of symbol
- PFNGLGETSHADERIVPROC glGetShaderiv = NULL;
- ^
- /opt/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2952:13: note: previous definition is here
- extern void glGetShaderiv (GLuint shader, GLenum pname, GLint *params);
- ^
- fatal error: too many errors emitted, stopping now [-ferror-limit=]
- 20 errors generated.
- make[3]: *** [sdlmain.o] Error 1
- make[3]: *** Waiting for unfinished jobs....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement