Advertisement
dominus

Untitled

Feb 12th, 2020
407
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.75 KB | None | 0 0
  1. sdlmain.cpp:119:1: error: unknown type name 'PFNGLATTACHSHADERPROC'
  2. PFNGLATTACHSHADERPROC glAttachShader = NULL;
  3. ^
  4. sdlmain.cpp:120:1: error: unknown type name 'PFNGLCOMPILESHADERPROC'; did you mean 'PFNGLCOMPILESHADERARBPROC'?
  5. PFNGLCOMPILESHADERPROC glCompileShader = NULL;
  6. ^~~~~~~~~~~~~~~~~~~~~~
  7. PFNGLCOMPILESHADERARBPROC
  8. /opt/x86_64/include/SDL/SDL_opengl.h:4141:25: note: 'PFNGLCOMPILESHADERARBPROC' declared here
  9. typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
  10. ^
  11. sdlmain.cpp:120:24: error: redefinition of 'glCompileShader' as different kind of symbol
  12. PFNGLCOMPILESHADERPROC glCompileShader = NULL;
  13. ^
  14. /opt/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2924:13: note: previous definition is here
  15. extern void glCompileShader (GLuint shader);
  16. ^
  17. sdlmain.cpp:121:1: error: unknown type name 'PFNGLCREATEPROGRAMPROC'; did you mean 'PFNGLEXECUTEPROGRAMNVPROC'?
  18. PFNGLCREATEPROGRAMPROC glCreateProgram = NULL;
  19. ^~~~~~~~~~~~~~~~~~~~~~
  20. PFNGLEXECUTEPROGRAMNVPROC
  21. /opt/x86_64/include/SDL/SDL_opengl.h:5736:25: note: 'PFNGLEXECUTEPROGRAMNVPROC' declared here
  22. typedef void (APIENTRYP PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params);
  23. ^
  24. sdlmain.cpp:121:24: error: redefinition of 'glCreateProgram' as different kind of symbol
  25. PFNGLCREATEPROGRAMPROC glCreateProgram = NULL;
  26. ^
  27. /opt/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2925:15: note: previous definition is here
  28. extern GLuint glCreateProgram (void);
  29. ^
  30. sdlmain.cpp:122:1: error: unknown type name 'PFNGLCREATESHADERPROC'
  31. PFNGLCREATESHADERPROC glCreateShader = NULL;
  32. ^
  33. sdlmain.cpp:123:1: error: unknown type name 'PFNGLDELETEPROGRAMPROC'; did you mean 'PFNGLDELETEPROGRAMSNVPROC'?
  34. PFNGLDELETEPROGRAMPROC glDeleteProgram = NULL;
  35. ^~~~~~~~~~~~~~~~~~~~~~
  36. PFNGLDELETEPROGRAMSNVPROC
  37. /opt/x86_64/include/SDL/SDL_opengl.h:5735:25: note: 'PFNGLDELETEPROGRAMSNVPROC' declared here
  38. typedef void (APIENTRYP PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
  39. ^
  40. sdlmain.cpp:123:24: error: redefinition of 'glDeleteProgram' as different kind of symbol
  41. PFNGLDELETEPROGRAMPROC glDeleteProgram = NULL;
  42. ^
  43. /opt/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2929:13: note: previous definition is here
  44. extern void glDeleteProgram (GLuint program);
  45. ^
  46. sdlmain.cpp:124:1: error: unknown type name 'PFNGLDELETESHADERPROC'; did you mean 'PFNGLDELETEFENCESNVPROC'?
  47. PFNGLDELETESHADERPROC glDeleteShader = NULL;
  48. ^~~~~~~~~~~~~~~~~~~~~
  49. PFNGLDELETEFENCESNVPROC
  50. /opt/x86_64/include/SDL/SDL_opengl.h:5598:25: note: 'PFNGLDELETEFENCESNVPROC' declared here
  51. typedef void (APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
  52. ^
  53. sdlmain.cpp:124:23: error: redefinition of 'glDeleteShader' as different kind of symbol
  54. PFNGLDELETESHADERPROC glDeleteShader = NULL;
  55. ^
  56. /opt/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2920:13: note: previous definition is here
  57. extern void glDeleteShader (GLuint shader);
  58. ^
  59. sdlmain.cpp:125:1: error: unknown type name 'PFNGLENABLEVERTEXATTRIBARRAYPROC'; did you mean 'PFNGLENABLEVERTEXATTRIBARRAYARBPROC'?
  60. PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray = NULL;
  61. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  62. PFNGLENABLEVERTEXATTRIBARRAYARBPROC
  63. /opt/x86_64/include/SDL/SDL_opengl.h:4011:25: note: 'PFNGLENABLEVERTEXATTRIBARRAYARBPROC' declared here
  64. typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
  65. ^
  66. sdlmain.cpp:125:34: error: redefinition of 'glEnableVertexAttribArray' as different kind of symbol
  67. PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray = NULL;
  68. ^
  69. /opt/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2914:13: note: previous definition is here
  70. extern void glEnableVertexAttribArray (GLuint index);
  71. ^
  72. sdlmain.cpp:126:1: error: unknown type name 'PFNGLGETATTRIBLOCATIONPROC'; did you mean 'PFNGLGETATTRIBLOCATIONARBPROC'?
  73. PFNGLGETATTRIBLOCATIONPROC glGetAttribLocation = NULL;
  74. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  75. PFNGLGETATTRIBLOCATIONARBPROC
  76. /opt/x86_64/include/SDL/SDL_opengl.h:4186:26: note: 'PFNGLGETATTRIBLOCATIONARBPROC' declared here
  77. typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
  78. ^
  79. sdlmain.cpp:126:28: error: redefinition of 'glGetAttribLocation' as different kind of symbol
  80. PFNGLGETATTRIBLOCATIONPROC glGetAttribLocation = NULL;
  81. ^
  82. /opt/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2964:14: note: previous definition is here
  83. extern GLint glGetAttribLocation (GLuint program, const GLchar *name);
  84. ^
  85. sdlmain.cpp:127:1: error: unknown type name 'PFNGLGETPROGRAMIVPROC'; did you mean 'PFNGLGETPROGRAMIVNVPROC'?
  86. PFNGLGETPROGRAMIVPROC glGetProgramiv = NULL;
  87. ^~~~~~~~~~~~~~~~~~~~~
  88. PFNGLGETPROGRAMIVNVPROC
  89. /opt/x86_64/include/SDL/SDL_opengl.h:5740:25: note: 'PFNGLGETPROGRAMIVNVPROC' declared here
  90. typedef void (APIENTRYP PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params);
  91. ^
  92. sdlmain.cpp:127:23: error: redefinition of 'glGetProgramiv' as different kind of symbol
  93. PFNGLGETPROGRAMIVPROC glGetProgramiv = NULL;
  94. ^
  95. /opt/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2953:13: note: previous definition is here
  96. extern void glGetProgramiv (GLuint program, GLenum pname, GLint *params);
  97. ^
  98. sdlmain.cpp:128:1: error: unknown type name 'PFNGLGETPROGRAMINFOLOGPROC'
  99. PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog = NULL;
  100. ^
  101. sdlmain.cpp:129:1: error: unknown type name 'PFNGLGETSHADERIVPROC'; did you mean 'PFNGLGETHANDLEARBPROC'?
  102. PFNGLGETSHADERIVPROC glGetShaderiv = NULL;
  103. ^~~~~~~~~~~~~~~~~~~~
  104. PFNGLGETHANDLEARBPROC
  105. /opt/x86_64/include/SDL/SDL_opengl.h:4137:32: note: 'PFNGLGETHANDLEARBPROC' declared here
  106. typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname);
  107. ^
  108. sdlmain.cpp:129:22: error: redefinition of 'glGetShaderiv' as different kind of symbol
  109. PFNGLGETSHADERIVPROC glGetShaderiv = NULL;
  110. ^
  111. /opt/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2952:13: note: previous definition is here
  112. extern void glGetShaderiv (GLuint shader, GLenum pname, GLint *params);
  113. ^
  114. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  115. 20 errors generated.
  116. make[3]: *** [sdlmain.o] Error 1
  117. make[3]: *** Waiting for unfinished jobs....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement