I have KOS 2.0 properly set up on lubuntu 14.04 and i can compile the provided examples with no problems.
But i can't compile DreamEDGE. Instead, i got this :
Code: Select all
src/edge/rgl_fx.cc: In function ‘void RGL_ColourmapEffect(player_t*)’:
src/edge/rgl_fx.cc:133:20: error: ‘glVertex2i’ was not declared in this scope
src/edge/rgl_fx.cc: In function ‘void RGL_PaletteEffect(player_t*)’:
src/edge/rgl_fx.cc:191:28: error: ‘glVertex2i’ was not declared in this scope
make: *** [src/edge/rgl_fx.o] Error 1
Code: Select all
src/edge/rgl_main.cc: In function ‘void RGL_SetupMatrices3D()’:
src/edge/rgl_main.cc:187:31: error: ‘glFrustum’ was not declared in this scope
src/edge/rgl_main.cc:175:10: warning: unused variable ‘ambient’ [-Wunused-variable]
src/edge/rgl_main.cc: In function ‘void RGL_DrawImage(float, float, float, float, const image_t*, float, float, float, float, const colourmap_c*, float)’:
src/edge/rgl_main.cc:287:34: error: ‘glVertex2i’ was not declared in this scope
src/edge/rgl_main.cc: In function ‘void RGL_SolidBox(int, int, int, int, rgbcol_t, float)’:
src/edge/rgl_main.cc:322:36: error: ‘glVertex2i’ was not declared in this scope
src/edge/rgl_main.cc: In function ‘void RGL_SolidLine(int, int, int, int, rgbcol_t, float)’:
src/edge/rgl_main.cc:340:36: error: ‘glVertex2i’ was not declared in this scope
src/edge/rgl_main.cc: In function ‘void RGL_ReadScreen(int, int, int, int, byte*)’:
src/edge/rgl_main.cc:353:10: error: ‘glFlush’ was not declared in this scope
src/edge/rgl_main.cc:358:16: error: ‘GL_UNPACK_ALIGNMENT’ was not declared in this scope
src/edge/rgl_main.cc:358:38: error: ‘glPixelStorei’ was not declared in this scope
src/edge/rgl_main.cc:363:65: error: ‘glReadPixels’ was not declared in this scope
src/edge/rgl_main.cc: In function ‘void RGL_CheckExtensions()’:
src/edge/rgl_main.cc:385:45: error: ‘GL_VERSION’ was not declared in this scope
src/edge/rgl_main.cc:385:55: error: ‘glGetString’ was not declared in this scope
src/edge/rgl_main.cc:388:44: error: ‘GL_VENDOR’ was not declared in this scope
src/edge/rgl_main.cc:391:46: error: ‘GL_RENDERER’ was not declared in this scope
src/edge/rgl_main.cc:406:48: error: ‘GL_EXTENSIONS’ was not declared in this scope
src/edge/rgl_main.cc:424:23: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
src/edge/rgl_main.cc: In function ‘void RGL_SoftInit()’:
src/edge/rgl_main.cc:491:12: error: ‘GL_STENCIL_TEST’ was not declared in this scope
src/edge/rgl_main.cc:509:38: error: ‘glAlphaFunc’ was not declared in this scope
src/edge/rgl_main.cc: In function ‘void ProgressSection(const byte*, int, int, const byte*, int, int, float, float, float, int*, int, float)’:
src/edge/rgl_main.cc:595:19: error: ‘glVertex2i’ was not declared in this scope
make: *** [src/edge/rgl_main.o] Error 1
When i try to build the toolchain for the SVN version, i gives me lots of error so it looks like i'm stuck.
Any idea on how to fix this ? If not, maybe Corbin or someone else could at least provide a build with music ?
Thanks