Skip to content

Instantly share code, notes, and snippets.

@gokr
Created July 12, 2020 23:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gokr/25bc69c7c031427c5b31a55c60373bc2 to your computer and use it in GitHub Desktop.
Save gokr/25bc69c7c031427c5b31a55c60373bc2 to your computer and use it in GitHub Desktop.
Compilation result
orxStructure.c
In file included from ../../../src/plugin/orxPlugin_EmbeddedList.cpp:68:
../../../include/../plugins/Display/GLFW/orxDisplay.c: In function 'orxSTATUS orxDisplay_GLFW_CompileShader(orxDISPLAY_SHADER*)':
../../../include/../plugins/Display/GLFW/orxDisplay.c:2153:71: error: 'uiProgram' was not declared in this scope
_pstShader->iProjectionMatrixLocation = glGetUniformLocationARB(uiProgram, "_mProjection_");
^~~~~~~~~
../../../include/../plugins/Display/GLFW/orxDisplay.c:2153:71: note: suggested alternative: 'hProgram'
_pstShader->iProjectionMatrixLocation = glGetUniformLocationARB(uiProgram, "_mProjection_");
^~~~~~~~~
hProgram
In file included from ../../../src/plugin/orxPlugin_EmbeddedList.cpp:68:
../../../include/../plugins/Display/GLFW/orxDisplay.c: In function 'orxSTATUS orxDisplay_GLFW_DrawMesh(const orxDISPLAY_MESH*, const orxBITMAP*, orxDISPLAY_SMOOTHING, orxDISPLAY_BLEND_MODE)':
../../../include/../plugins/Display/GLFW/orxDisplay.c:3329:5: error: 'glVertexPointer' was not declared in this scope
glVertexPointer(2, GL_FLOAT, sizeof(orxDISPLAY_VERTEX), &(_pstMesh->astVertexList[0].fX));
^~~~~~~~~~~~~~~
../../../include/../plugins/Display/GLFW/orxDisplay.c:3329:5: note: suggested alternative: 'glVertexAttribPointer'
glVertexPointer(2, GL_FLOAT, sizeof(orxDISPLAY_VERTEX), &(_pstMesh->astVertexList[0].fX));
^~~~~~~~~~~~~~~
glVertexAttribPointer
../../../include/../plugins/Display/GLFW/orxDisplay.c:3331:5: error: 'glTexCoordPointer' was not declared in this scope
glTexCoordPointer(2, GL_FLOAT, sizeof(orxDISPLAY_VERTEX), &(_pstMesh->astVertexList[0].fU));
^~~~~~~~~~~~~~~~~
../../../include/../plugins/Display/GLFW/orxDisplay.c:3331:5: note: suggested alternative: 'glGetBufferPointerv'
glTexCoordPointer(2, GL_FLOAT, sizeof(orxDISPLAY_VERTEX), &(_pstMesh->astVertexList[0].fU));
^~~~~~~~~~~~~~~~~
glGetBufferPointerv
../../../include/../plugins/Display/GLFW/orxDisplay.c:3333:5: error: 'glColorPointer' was not declared in this scope
glColorPointer(4, GL_UNSIGNED_BYTE, sizeof(orxDISPLAY_VERTEX), &(_pstMesh->astVertexList[0].stRGBA));
^~~~~~~~~~~~~~
../../../include/../plugins/Display/GLFW/orxDisplay.c:3333:5: note: suggested alternative: 'glColorMask'
glColorPointer(4, GL_UNSIGNED_BYTE, sizeof(orxDISPLAY_VERTEX), &(_pstMesh->astVertexList[0].stRGBA));
^~~~~~~~~~~~~~
glColorMask
make[1]: *** [orxLIB.make:417: obj/x64/Release/orxLIB/orxPlugin_EmbeddedList.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:21: orxLIB] Error 2
gokr@maz:~/orx/EmuELEC$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment