Duke4.net Forums: Trying to build current Eduke32 sources with GLES support - Duke4.net Forums

Jump to content

Hide message Show message
Welcome to the Duke4.net Forums!

Register an account now to get access to all board features. After you've registered and logged in, you'll be able to create topics, post replies, send and receive private messages, disable the viewing of ads and more!

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Trying to build current Eduke32 sources with GLES support

User is offline   gaula92 

  • 5

#1

Hi there,

Eduke32 is supposed to build in GLES-only mode with something like this:

make WITHOUT_GTK=1 OPTOPT="-DHAVE_JWZGLES -DEDUKE32_GLES"


However, OLD desktopGL GLUT stuff is still trying to be included. Even if that's removed, there are still many issues that makes a GLES-only version with JWZGLES impossible.
So, are there plans to make SDL2+GLES version build-able?

Thanks!
0

User is offline   gaula92 

  • 5

#2

View Postgaula92, on 08 January 2019 - 06:35 AM, said:

Hi there,

Eduke32 is supposed to build in GLES-only mode with something like this:

make WITHOUT_GTK=1 OPTOPT="-DHAVE_JWZGLES -DEDUKE32_GLES"


However, OLD desktopGL GLUT stuff is still trying to be included. Even if that's removed, there are still many issues that makes a GLES-only version with JWZGLES impossible.
So, are there plans to make SDL2+GLES version build-able?

Thanks!


I am trying again, and this is what happens:


pi@raspberrypi:~/src/eduke32_20190227-7358$ make -j4 WITHOUT_GTK=1 POLYMER=0 USE_LIBVPX=0 HAVE_FLAC=0 OPTLEVEL=2 LTO=0 RENDERTYPESDL=1 HAVE_JWZGLES=1 USE_OPENGL=1
In file included from source/build/include/build.h:25:0,
                 from source/duke3d/src/astub.cpp:24:
source/build/include/glbuild.h:17:21: fatal error: GL/glu.h: No such file or directory
 # include <GL/glu.h>
                     ^
compilation terminated.
Failed building obj/duke3d/astub.o from source/duke3d/src/astub.cpp!
GNUmakefile:981: recipe for target 'obj/duke3d/astub.o' failed
make: *** [obj/duke3d/astub.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from source/build/include/build.h:25:0,
                 from source/duke3d/src/sounds_mapster32.cpp:32:
source/build/include/glbuild.h:17:21: fatal error: GL/glu.h: No such file or directory
 # include <GL/glu.h>
                     ^
compilation terminated.
In file included from source/build/include/build.h:25:0,
                 from source/duke3d/src/duke3d.h:29,
                 from source/duke3d/src/sdlmusic.cpp:35:
source/build/include/glbuild.h:17:21: fatal error: GL/glu.h: No such file or directory
 # include <GL/glu.h>
                     ^
compilation terminated.
Failed building obj/duke3d/sounds_mapster32.o from source/duke3d/src/sounds_mapster32.cpp!
GNUmakefile:981: recipe for target 'obj/duke3d/sounds_mapster32.o' failed
make: *** [obj/duke3d/sounds_mapster32.o] Error 1
Failed building obj/duke3d/sdlmusic.o from source/duke3d/src/sdlmusic.cpp!
GNUmakefile:981: recipe for target 'obj/duke3d/sdlmusic.o' failed
make: *** [obj/duke3d/sdlmusic.o] Error 1
Built object obj/duke3d/build_icon.o 



This is a pretty much stupid situation, because eduke32's JWZGLES renderer DOES work if the desktop GL stuff is on the system, BUT IT'S NOT USED, just trying to be included for nothing when trying to do a GLES build.
0

User is offline   TerminX 

  • el fundador
  • 5,570

  #3

If you comment out the inclusion of glu.h on line 17 of glbuild.h, does the build succeed?

EDuke32 wiki svn builds bugs
Join us in #eduke32 on irc.freenode.net!
0

User is offline   Hendricks266 

  • Weaponized Autism
  • 6,387

  #4

Try adding CUSTOMOPT="-DEDUKE32_GLES -DHAVE_JWZGLES" to your Make line.
0

User is offline   gaula92 

  • 5

#5

@Hendricks256 & TerminX: I combined both sugestions, and it's still failing:

pi@raspberrypi:~/src/eduke32_20190301-7359$ ./build.sh 
Built object obj/build/rev.o 
source/build/src/texcache.cpp: In function 'void texcache_syncmemcache()':
source/build/src/texcache.cpp:245:45: error: 'filelength' was not declared in this scope
     int32_t len = filelength(texcache.handle);
                                             ^
source/build/src/texcache.cpp: In function 'void texcache_setupmemcache()':
source/build/src/texcache.cpp:851:50: error: 'filelength' was not declared in this scope
     texcache.memsize = filelength(texcache.handle);
                                                  ^
Built object obj/build/pragmas.o 
source/build/src/polymost.cpp:1580:45: error: 'GL_COMPRESSED_RGB8_ETC2' was not declared in this scope
 static int32_t const comprtexfmts_rgb[] = { GL_COMPRESSED_RGB8_ETC2, GL_ETC1_RGB8_OES, 0 };
                                             ^~~~~~~~~~~~~~~~~~~~~~~
source/build/src/polymost.cpp:1580:70: error: 'GL_ETC1_RGB8_OES' was not declared in this scope
 static int32_t const comprtexfmts_rgb[] = { GL_COMPRESSED_RGB8_ETC2, GL_ETC1_RGB8_OES, 0 };
                                                                      ^~~~~~~~~~~~~~~~
source/build/src/polymost.cpp: In function 'uint64_t (* Polymost_PickETCFunction(int32_t))(const uint8_t*)':
source/build/src/polymost.cpp:1605:14: error: 'GL_ETC1_RGB8_OES' was not declared in this scope
         case GL_ETC1_RGB8_OES:
              ^~~~~~~~~~~~~~~~
source/build/src/polymost.cpp:1608:14: error: 'GL_COMPRESSED_RGB8_ETC2' was not declared in this scope
         case GL_COMPRESSED_RGB8_ETC2:
              ^~~~~~~~~~~~~~~~~~~~~~~
source/build/src/polymost.cpp: In function 'void uploadtexture(int32_t, vec2_t, int32_t, coltype*, vec2_t, int32_t)':
source/build/src/polymost.cpp:1774:30: error: 'hasalpha' was not declared in this scope
     int32_t const intexfmt = hasalpha ? (onebitalpha ? texfmt_rgb_mask : texfmt_rgba) : texfmt_rgb;
                              ^~~~~~~~
Failed building obj/build/texcache.o from source/build/src/texcache.cpp!
GNUmakefile:1029: recipe for target 'obj/build/texcache.o' failed
make: *** [obj/build/texcache.o] Error 1
make: *** Waiting for unfinished jobs....
Built object obj/build/scriptfile.o 
Failed building obj/build/polymost.o from source/build/src/polymost.cpp!
GNUmakefile:1029: recipe for target 'obj/build/polymost.o' failed
make: *** [obj/build/polymost.o] Error 1
Built object obj/build/softsurface.o 

0

User is offline   Hendricks266 

  • Weaponized Autism
  • 6,387

  #6

Sorry about that, looks like compiling that way broke. Those errors don't look hard for me to fix.
0

User is offline   gaula92 

  • 5

#7

View PostHendricks266, on 02 March 2019 - 11:43 AM, said:

Sorry about that, looks like compiling that way broke. Those errors don't look hard for me to fix.



I would be very happy to test the fixes when available :)
0

User is offline   Hendricks266 

  • Weaponized Autism
  • 6,387

  #8

I committed a fix for this.
2

User is offline   gaula92 

  • 5

#9

@Hendricks256: It's still somewhat broken:

source/build/src/polymer.cpp:731:1: error: 'GLUtesselator' does not name a type
 GLUtesselator*  prtess;
 ^~~~~~~~~~~~~
source/build/src/polymer.cpp: In function 'int32_t polymer_init()':
source/build/src/polymer.cpp:775:5: error: 'prtess' was not declared in this scope
     prtess = bgluNewTess();
     ^~~~~~
source/build/src/polymer.cpp:775:26: error: 'jwzgles_gluNewTess' was not declared in this scope
     prtess = bgluNewTess();
                          ^
source/build/src/polymer.cpp:833:57: error: 'jwzgles_glTexImage3D' was not declared in this scope
                               prhighpalookups[i][j].data);     // data pointer
                                                         ^
source/build/src/polymer.cpp: In function 'void polymer_uninit()':
source/build/src/polymer.cpp:864:9: error: 'prtess' was not declared in this scope
     if (prtess)
         ^~~~~~
source/build/src/polymer.cpp:866:30: error: 'jwzgles_gluDeleteTess' was not declared in this scope
         bgluDeleteTess(prtess);
                              ^
source/build/src/polymer.cpp: In function 'void polymer_editorpick()':
source/build/src/polymer.cpp:1339:90: error: 'jwzgles_gluUnProject' was not declared in this scope
             bgluUnProject(searchx, ydim-searchy, dadepth,  model, proj, view,  &x, &y, &z);
                                                                                          ^
source/build/src/polymer.cpp: In function 'void polymer_tesserror(GLenum)':
source/build/src/polymer.cpp:2885:39: error: 'GLU_TESS_ERROR6' was not declared in this scope
     if (pr_verbosity >= 1 && error != GLU_TESS_ERROR6) OSD_Printf("PR : Tesselation error number %i reported : %s.\n", error, bgluErrorString(errno));
                                       ^~~~~~~~~~~~~~~
source/build/src/polymer.cpp: In function 'int32_t polymer_buildfloor(int16_t)':
source/build/src/polymer.cpp:2935:22: error: 'prtess' was not declared in this scope
     bgluTessCallback(prtess, GLU_TESS_VERTEX_DATA, (void (PR_CALLBACK *)(void))polymer_tessvertex);
                      ^~~~~~
source/build/src/polymer.cpp:2935:30: error: 'GLU_TESS_VERTEX_DATA' was not declared in this scope
     bgluTessCallback(prtess, GLU_TESS_VERTEX_DATA, (void (PR_CALLBACK *)(void))polymer_tessvertex);
                              ^~~~~~~~~~~~~~~~~~~~
source/build/src/polymer.cpp:2935:98: error: 'jwzgles_gluTessCallback' was not declared in this scope
     bgluTessCallback(prtess, GLU_TESS_VERTEX_DATA, (void (PR_CALLBACK *)(void))polymer_tessvertex);
                                                                                                  ^
source/build/src/polymer.cpp:2936:30: error: 'GLU_TESS_EDGE_FLAG' was not declared in this scope
     bgluTessCallback(prtess, GLU_TESS_EDGE_FLAG, (void (PR_CALLBACK *)(void))polymer_tessedgeflag);
                              ^~~~~~~~~~~~~~~~~~
source/build/src/polymer.cpp:2937:30: error: 'GLU_TESS_ERROR' was not declared in this scope
     bgluTessCallback(prtess, GLU_TESS_ERROR, (void (PR_CALLBACK *)(void))polymer_tesserror);
                              ^~~~~~~~~~~~~~
source/build/src/polymer.cpp:2939:30: error: 'GLU_TESS_WINDING_RULE' was not declared in this scope
     bgluTessProperty(prtess, GLU_TESS_WINDING_RULE, GLU_TESS_WINDING_POSITIVE);
                              ^~~~~~~~~~~~~~~~~~~~~
source/build/src/polymer.cpp:2939:53: error: 'GLU_TESS_WINDING_POSITIVE' was not declared in this scope
     bgluTessProperty(prtess, GLU_TESS_WINDING_RULE, GLU_TESS_WINDING_POSITIVE);
                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~
source/build/src/polymer.cpp:2939:78: error: 'jwzgles_gluTessProperty' was not declared in this scope
     bgluTessProperty(prtess, GLU_TESS_WINDING_RULE, GLU_TESS_WINDING_POSITIVE);
                                                                              ^
source/build/src/polymer.cpp:2941:35: error: 'jwzgles_gluTessBeginPolygon' was not declared in this scope
     bgluTessBeginPolygon(prtess, s);
                                   ^
source/build/src/polymer.cpp:2942:32: error: 'jwzgles_gluTessBeginContour' was not declared in this scope
     bgluTessBeginContour(prtess);
                                ^
source/build/src/polymer.cpp:2947:61: error: 'jwzgles_gluTessVertex' was not declared in this scope
         bgluTessVertex(prtess, s->verts + (3 * i), (void *)i);
                                                             ^
source/build/src/polymer.cpp:2950:38: error: 'jwzgles_gluTessEndContour' was not declared in this scope
             bgluTessEndContour(prtess);
                                      ^
source/build/src/polymer.cpp:2955:30: error: 'jwzgles_gluTessEndContour' was not declared in this scope
     bgluTessEndContour(prtess);
                              ^
source/build/src/polymer.cpp:2956:30: error: 'jwzgles_gluTessEndPolygon' was not declared in this scope
     bgluTessEndPolygon(prtess);
                              ^
Built object obj/build/voxmodel.o 
source/build/src/polymer.cpp: In function 'int32_t polymer_bindmaterial(const _prmaterial*, const int16_t*, int)':
source/build/src/polymer.cpp:5106:9: error: 'r_detailmapping' was not declared in this scope
     if (r_detailmapping && material->detailmap)
         ^~~~~~~~~~~~~~~
source/build/src/polymer.cpp:5129:22: error: 'r_glowmapping' was not declared in this scope
     if (!curlight && r_glowmapping && material->glowmap)
                      ^~~~~~~~~~~~~
source/build/src/polymer.cpp:5194:53: error: 'jwzgles_glBlendEquation' was not declared in this scope
             glBlendEquation(GL_FUNC_REVERSE_SUBTRACT);
                                                     ^
source/build/src/polymer.cpp: In function 'void polymer_initrendertargets(int32_t)':
source/build/src/polymer.cpp:6304:33: error: 'jwzgles_glReadBuffer' was not declared in this scope
             glReadBuffer(GL_NONE);
                                 ^
Built object obj/audiolib/drivers.o 
Failed building obj/build/polymer.o from source/build/src/polymer.cpp!
GNUmakefile:1030: recipe for target 'obj/build/polymer.o' failed
make: *** [obj/build/polymer.o] Error 1
make: *** Waiting for unfinished jobs....




All that GLU stuff is NOT GLES, but DesktopGL.

Also, I had to manually remove "include <GL/glu.h>" from source/build/include/glbuild.h, that line should be inside an #ifndef EDUKE32_GLES, I guess.

This post has been edited by gaula92: 11 March 2019 - 06:02 AM

0

User is offline   Hendricks266 

  • Weaponized Autism
  • 6,387

  #10

Oh, sorry. Try adding POLYMER=0 to your make line. There is no way Polymer will work through jwzgles.
0

User is offline   gaula92 

  • 5

#11

(Sorry, doublepost!)

This post has been edited by gaula92: 11 March 2019 - 01:46 PM

0

User is offline   gaula92 

  • 5

#12

Did so, and it builds, but it does not link:

Building: make  -s -j --jobserver-fds=4,5 -- CUSTOMOPT=-DEDUKE32_GLES\ -DHAVE_JWZGLES POLYMER=0 HAVE_FLAC=0 USE_LIBVPX=0 LTO=0 WITHOUT_GTK=1                                                                                                                                
Built object obj/build/rev.o 
obj/duke3d/astub.o: In function `m32_showmouse()':
astub.cpp:(.text+0x25d4): undefined reference to `jwzgles_glDisable'
obj/duke3d/astub.o: In function `Keys3d()':
astub.cpp:(.text+0xf618): undefined reference to `jwzgles_glPushAttrib'
astub.cpp:(.text+0x1c0c8): undefined reference to `jwzgles_glDrawBuffer'
astub.cpp:(.text+0x1cffc): undefined reference to `jwzgles_glEnable'
astub.cpp:(.text+0x1dae4): undefined reference to `jwzgles_glDrawBuffer'
astub.cpp:(.text+0x1e098): undefined reference to `jwzgles_glEnable'
astub.cpp:(.text+0x1e0a8): undefined reference to `jwzgles_glDrawBuffer'
astub.cpp:(.text+0x1e19c): undefined reference to `jwzgles_glEnable'
astub.cpp:(.text+0x1e308): undefined reference to `jwzgles_glPopAttrib'
obj/build/engine.o: In function `renderDrawSprite(int)':
engine.cpp:(.text+0xd4c4): undefined reference to `jwzgles_glBlendFunc'
engine.cpp:(.text+0xd4cc): undefined reference to `jwzgles_glDepthFunc'
obj/build/engine.o: In function `renderDrawMasks':
engine.cpp:(.text+0x18ba0): undefined reference to `jwzgles_glDepthMask'
engine.cpp:(.text+0x18c04): undefined reference to `jwzgles_glDepthMask'
obj/build/engine.o: In function `videoClearViewableArea':
engine.cpp:(.text+0x1e3d0): undefined reference to `jwzgles_glClearColor'
engine.cpp:(.text+0x1e3e4): undefined reference to `jwzgles_glClear'
obj/build/engine.o: In function `videoClearScreen':
engine.cpp:(.text+0x1e488): undefined reference to `jwzgles_glViewport'
engine.cpp:(.text+0x1e4c8): undefined reference to `jwzgles_glClearColor'
engine.cpp:(.text+0x1e4d4): undefined reference to `jwzgles_glClear'
obj/build/engine.o: In function `yax_drawrooms':
engine.cpp:(.text+0x2733c): undefined reference to `jwzgles_glClear'
obj/build/voxmodel.o: In function `gloadtex(int const*, int, int, int, int)':
voxmodel.cpp:(.text+0x1320): undefined reference to `jwzgles_glGenTextures'
voxmodel.cpp:(.text+0x133c): undefined reference to `jwzgles_glTexParameteri'
voxmodel.cpp:(.text+0x134c): undefined reference to `jwzgles_glTexParameteri'
voxmodel.cpp:(.text+0x1374): undefined reference to `jwzgles_glTexImage2D'
obj/build/voxmodel.o: In function `polymost_voxdraw':
voxmodel.cpp:(.text+0x2a18): undefined reference to `jwzgles_glFrontFace'
voxmodel.cpp:(.text+0x2a24): undefined reference to `jwzgles_glEnable'
voxmodel.cpp:(.text+0x2a2c): undefined reference to `jwzgles_glCullFace'
voxmodel.cpp:(.text+0x2a34): undefined reference to `jwzgles_glEnable'
voxmodel.cpp:(.text+0x2b54): undefined reference to `jwzgles_glEnable'
voxmodel.cpp:(.text+0x2c28): undefined reference to `jwzgles_glMatrixMode'
voxmodel.cpp:(.text+0x2c40): undefined reference to `jwzgles_glLoadMatrixf'
voxmodel.cpp:(.text+0x2cb0): undefined reference to `jwzgles_glBegin'
voxmodel.cpp:(.text+0x2d28): undefined reference to `jwzgles_glTexCoord2f'
voxmodel.cpp:(.text+0x2db4): undefined reference to `jwzgles_glVertex3fv'
voxmodel.cpp:(.text+0x2dd4): undefined reference to `jwzgles_glEnd'
voxmodel.cpp:(.text+0x2de4): undefined reference to `jwzgles_glDisable'
voxmodel.cpp:(.text+0x2df4): undefined reference to `jwzgles_glLoadIdentity'
voxmodel.cpp:(.text+0x2e38): undefined reference to `jwzgles_glColor4f'
voxmodel.cpp:(.text+0x2e84): undefined reference to `jwzgles_glDepthFunc'
voxmodel.cpp:(.text+0x2eec): undefined reference to `jwzgles_glFrontFace'
voxmodel.cpp:(.text+0x2ef8): undefined reference to `jwzgles_glDepthFunc'
obj/build/polymost.o: In function `Polymost_TryDummyTexture(coltype const*, int const*)':
polymost.cpp:(.text+0x9e0): undefined reference to `jwzgles_glTexImage2D'
polymost.cpp:(.text+0x9ec): undefined reference to `jwzgles_glGetError'
obj/build/polymost.o: In function `Polymost_SendTexToDriver(int, vec2_t, int, coltype const*, int, int, int, int)':
polymost.cpp:(.text+0xa78): undefined reference to `jwzgles_glTexSubImage2D'
polymost.cpp:(.text+0xaa4): undefined reference to `jwzgles_glTexImage2D'
obj/build/polymost.o: In function `polymost_setuptexture(int, int)':
polymost.cpp:(.text+0x10e0): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x10f0): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x1104): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x111c): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x112c): undefined reference to `jwzgles_glTexParameteri'
obj/build/polymost.o:polymost.cpp:(.text+0x1144): more undefined references to `jwzgles_glTexParameteri' follow
obj/build/polymost.o: In function `polymost_waitForSubBuffer(unsigned int)':
polymost.cpp:(.text+0x11e8): undefined reference to `jwzgles_glGetError'
obj/build/polymost.o: In function `drawtrap(float, float, float, float, float, float) [clone .part.22]':
polymost.cpp:(.text+0x13f4): undefined reference to `jwzgles_glBegin'
polymost.cpp:(.text+0x1480): undefined reference to `jwzgles_glTexCoord2f'
polymost.cpp:(.text+0x148c): undefined reference to `jwzgles_glVertex2f'
polymost.cpp:(.text+0x14dc): undefined reference to `jwzgles_glEnd'
obj/build/polymost.o: In function `polymost_glreset':
polymost.cpp:(.text+0x2058): undefined reference to `jwzgles_glDeleteTextures'
polymost.cpp:(.text+0x2084): undefined reference to `jwzgles_glDeleteTextures'
polymost.cpp:(.text+0x2098): undefined reference to `jwzgles_glDeleteTextures'
polymost.cpp:(.text+0x20d8): undefined reference to `jwzgles_glDeleteTextures'
obj/build/polymost.o: In function `bind_2d_texture(unsigned int, int)':
polymost.cpp:(.text+0x2434): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x2448): undefined reference to `jwzgles_glTexParameteri'
obj/build/polymost.o: In function `osdcmd_cvar_set_polymost(osdfuncparm_t const*)':
polymost.cpp:(.text+0x2778): undefined reference to `jwzgles_glFogi'
obj/build/polymost.o: In function `polymost_resetVertexPointers':
polymost.cpp:(.text+0x2dec): undefined reference to `jwzgles_glVertexPointer'
polymost.cpp:(.text+0x2e00): undefined reference to `jwzgles_glTexCoordPointer'
obj/build/polymost.o: In function `uploadpalswap.part.20':
polymost.cpp:(.text+0x2eac): undefined reference to `jwzgles_glTexSubImage2D'
polymost.cpp:(.text+0x2ee0): undefined reference to `jwzgles_glGenTextures'
polymost.cpp:(.text+0x2efc): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x2f0c): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x2f1c): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x2f2c): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x2f3c): undefined reference to `jwzgles_glTexParameteri'
obj/build/polymost.o:polymost.cpp:(.text+0x2f4c): more undefined references to `jwzgles_glTexParameteri' follow
obj/build/polymost.o: In function `uploadpalswap.part.20':
polymost.cpp:(.text+0x2f84): undefined reference to `jwzgles_glTexImage2D'
obj/build/polymost.o: In function `calc_and_apply_fog':
polymost.cpp:(.text+0x30fc): undefined reference to `jwzgles_glFogfv'
polymost.cpp:(.text+0x3114): undefined reference to `jwzgles_glFogf'
polymost.cpp:(.text+0x3134): undefined reference to `jwzgles_glFogf'
polymost.cpp:(.text+0x31c0): undefined reference to `jwzgles_glFogf'
polymost.cpp:(.text+0x31cc): undefined reference to `jwzgles_glFogf'
polymost.cpp:(.text+0x31ec): undefined reference to `jwzgles_glFogfv'
obj/build/polymost.o: In function `calc_and_apply_fog_factor':
polymost.cpp:(.text+0x34c8): undefined reference to `jwzgles_glFogfv'
polymost.cpp:(.text+0x34e4): undefined reference to `jwzgles_glFogf'
polymost.cpp:(.text+0x3500): undefined reference to `jwzgles_glFogf'
polymost.cpp:(.text+0x35c0): undefined reference to `jwzgles_glFogf'
polymost.cpp:(.text+0x35cc): undefined reference to `jwzgles_glFogf'
polymost.cpp:(.text+0x35ec): undefined reference to `jwzgles_glFogfv'
obj/build/polymost.o: In function `uploadtexture':
polymost.cpp:(.text+0x3894): undefined reference to `jwzgles_glGetIntegerv'
polymost.cpp:(.text+0x3c28): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x3c38): undefined reference to `jwzgles_glTexParameteri'
obj/build/polymost.o: In function `uploadtextureindexed':
polymost.cpp:(.text+0x3e28): undefined reference to `jwzgles_glTexSubImage2D'
polymost.cpp:(.text+0x3e4c): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x3e5c): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x3e6c): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x3e7c): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x3e8c): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x3eb4): undefined reference to `jwzgles_glTexImage2D'
obj/build/polymost.o: In function `uploadbasepalette':
polymost.cpp:(.text+0x3f94): undefined reference to `jwzgles_glTexSubImage2D'
polymost.cpp:(.text+0x3fbc): undefined reference to `jwzgles_glGenTextures'
polymost.cpp:(.text+0x3fd8): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x3fe8): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x3ff8): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x4008): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x4018): undefined reference to `jwzgles_glTexParameteri'
obj/build/polymost.o:polymost.cpp:(.text+0x4028): more undefined references to `jwzgles_glTexParameteri' follow
obj/build/polymost.o: In function `uploadbasepalette':
polymost.cpp:(.text+0x4060): undefined reference to `jwzgles_glTexImage2D'
obj/build/polymost.o: In function `polymost_glinit':
polymost.cpp:(.text+0x40a8): undefined reference to `jwzgles_glHint'
polymost.cpp:(.text+0x40c4): undefined reference to `jwzgles_glFogi'
polymost.cpp:(.text+0x40d0): undefined reference to `jwzgles_glBlendFunc'
polymost.cpp:(.text+0x40dc): undefined reference to `jwzgles_glPixelStorei'
polymost.cpp:(.text+0x40e8): undefined reference to `jwzgles_glPixelStorei'
polymost.cpp:(.text+0x41f8): undefined reference to `jwzgles_glGetIntegerv'
polymost.cpp:(.text+0x4240): undefined reference to `jwzgles_glGenTextures'
polymost.cpp:(.text+0x475c): undefined reference to `jwzgles_glEnableClientState'
polymost.cpp:(.text+0x476c): undefined reference to `jwzgles_glEnableClientState'
polymost.cpp:(.text+0x47a4): undefined reference to `jwzgles_glGenTextures'
polymost.cpp:(.text+0x47b4): undefined reference to `BuildGLErrorCheck()'
polymost.cpp:(.text+0x47fc): undefined reference to `jwzgles_glDeleteTextures'
obj/build/polymost.o: In function `gloadtile_art':
polymost.cpp:(.text+0x5334): undefined reference to `jwzgles_glGenTextures'
polymost.cpp:(.text+0x54d0): undefined reference to `jwzgles_glGenTextures'
polymost.cpp:(.text+0x5514): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x5524): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x5538): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x5548): undefined reference to `jwzgles_glTexParameteri'
obj/build/polymost.o: In function `gloadtile_hi':
polymost.cpp:(.text+0x60d8): undefined reference to `jwzgles_glGenTextures'
obj/build/polymost.o: In function `polymost_dorotatespritemodel(int, int, int, short, short, signed char, char, int, unsigned char, unsigned char, int)':
polymost.cpp:(.text+0x6f70): undefined reference to `jwzgles_glViewport'
polymost.cpp:(.text+0x6f94): undefined reference to `jwzgles_glDisable'
polymost.cpp:(.text+0x709c): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0x70c8): undefined reference to `jwzgles_glClear'
polymost.cpp:(.text+0x7134): undefined reference to `jwzgles_glViewport'
polymost.cpp:(.text+0x7148): undefined reference to `jwzgles_glMatrixMode'
polymost.cpp:(.text+0x71dc): undefined reference to `jwzgles_glLoadMatrixf'
polymost.cpp:(.text+0x71e4): undefined reference to `jwzgles_glMatrixMode'
polymost.cpp:(.text+0x71e8): undefined reference to `jwzgles_glLoadIdentity'
polymost.cpp:(.text+0x71f4): undefined reference to `jwzgles_glMatrixMode'
obj/build/polymost.o: In function `polymost_fillpolygon':
polymost.cpp:(.text+0x7454): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0x745c): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0x75a8): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0x75cc): undefined reference to `jwzgles_glColor4f'
polymost.cpp:(.text+0x7754): undefined reference to `jwzgles_glBegin'
polymost.cpp:(.text+0x77cc): undefined reference to `jwzgles_glTexCoord2f'
polymost.cpp:(.text+0x77d8): undefined reference to `jwzgles_glVertex2f'
polymost.cpp:(.text+0x77e4): undefined reference to `jwzgles_glEnd'
polymost.cpp:(.text+0x7e98): undefined reference to `jwzgles_glDisable'
polymost.cpp:(.text+0x7ea8): undefined reference to `jwzgles_glColor3f'
obj/build/polymost.o: In function `polymost_drawtilescreen':
polymost.cpp:(.text+0x8378): undefined reference to `jwzgles_glDisable'
polymost.cpp:(.text+0x83ac): undefined reference to `jwzgles_glColor3f'
polymost.cpp:(.text+0x83b4): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0x83bc): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0x83c4): undefined reference to `jwzgles_glBegin'
polymost.cpp:(.text+0x83d0): undefined reference to `jwzgles_glTexCoord2f'
polymost.cpp:(.text+0x83dc): undefined reference to `jwzgles_glVertex2f'
polymost.cpp:(.text+0x83e8): undefined reference to `jwzgles_glTexCoord2f'
polymost.cpp:(.text+0x83f8): undefined reference to `jwzgles_glVertex2f'
polymost.cpp:(.text+0x8404): undefined reference to `jwzgles_glTexCoord2f'
polymost.cpp:(.text+0x8414): undefined reference to `jwzgles_glVertex2f'
polymost.cpp:(.text+0x8420): undefined reference to `jwzgles_glTexCoord2f'
polymost.cpp:(.text+0x842c): undefined reference to `jwzgles_glVertex2f'
polymost.cpp:(.text+0x8430): undefined reference to `jwzgles_glEnd'
polymost.cpp:(.text+0x84d4): undefined reference to `jwzgles_glDisable'
polymost.cpp:(.text+0x84dc): undefined reference to `jwzgles_glBegin'
polymost.cpp:(.text+0x8520): undefined reference to `jwzgles_glColor3f'
polymost.cpp:(.text+0x8534): undefined reference to `jwzgles_glVertex2f'
polymost.cpp:(.text+0x8544): undefined reference to `jwzgles_glVertex2f'
polymost.cpp:(.text+0x8554): undefined reference to `jwzgles_glVertex2f'
polymost.cpp:(.text+0x8560): undefined reference to `jwzgles_glVertex2f'
polymost.cpp:(.text+0x8564): undefined reference to `jwzgles_glEnd'
obj/build/polymost.o: In function `polymost_printext256':
polymost.cpp:(.text+0x87c4): undefined reference to `jwzgles_glDisable'
polymost.cpp:(.text+0x87cc): undefined reference to `jwzgles_glDepthMask'
polymost.cpp:(.text+0x87ec): undefined reference to `jwzgles_glPolygonMode'
polymost.cpp:(.text+0x8814): undefined reference to `jwzgles_glColor4ub'
polymost.cpp:(.text+0x881c): undefined reference to `jwzgles_glBegin'
polymost.cpp:(.text+0x8828): undefined reference to `jwzgles_glVertex2i'
polymost.cpp:(.text+0x8844): undefined reference to `jwzgles_glVertex2i'
polymost.cpp:(.text+0x8860): undefined reference to `jwzgles_glVertex2i'
polymost.cpp:(.text+0x886c): undefined reference to `jwzgles_glVertex2i'
polymost.cpp:(.text+0x8870): undefined reference to `jwzgles_glEnd'
polymost.cpp:(.text+0x8878): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0x8880): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0x8894): undefined reference to `jwzgles_glColor4ub'
polymost.cpp:(.text+0x88a8): undefined reference to `jwzgles_glBegin'
polymost.cpp:(.text+0x89c0): undefined reference to `jwzgles_glColor4ub'
polymost.cpp:(.text+0x89d4): undefined reference to `jwzgles_glEnd'
polymost.cpp:(.text+0x89dc): undefined reference to `jwzgles_glDepthMask'
polymost.cpp:(.text+0x8a5c): undefined reference to `jwzgles_glTexCoord2f'
polymost.cpp:(.text+0x8a68): undefined reference to `jwzgles_glVertex2i'
polymost.cpp:(.text+0x8a78): undefined reference to `jwzgles_glTexCoord2f'
polymost.cpp:(.text+0x8a84): undefined reference to `jwzgles_glVertex2i'
polymost.cpp:(.text+0x8a94): undefined reference to `jwzgles_glTexCoord2f'
polymost.cpp:(.text+0x8aa0): undefined reference to `jwzgles_glVertex2i'
polymost.cpp:(.text+0x8aac): undefined reference to `jwzgles_glTexCoord2f'
polymost.cpp:(.text+0x8abc): undefined reference to `jwzgles_glVertex2i'
polymost.cpp:(.text+0x8b4c): undefined reference to `jwzgles_glGenTextures'
polymost.cpp:(.text+0x8cd4): undefined reference to `jwzgles_glTexImage2D'
polymost.cpp:(.text+0x8ce4): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x8cf4): undefined reference to `jwzgles_glTexParameteri'
obj/build/polymost.o: In function `polymost_drawpoly(vec2f_t const*, int, int)':
polymost.cpp:(.text+0x91b8): undefined reference to `jwzgles_glMatrixMode'
polymost.cpp:(.text+0x91bc): undefined reference to `jwzgles_glLoadIdentity'
polymost.cpp:(.text+0x91cc): undefined reference to `jwzgles_glScalef'
polymost.cpp:(.text+0x91d4): undefined reference to `jwzgles_glMatrixMode'
polymost.cpp:(.text+0x92a4): undefined reference to `jwzgles_glAlphaFunc'
polymost.cpp:(.text+0x92d0): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0x92d8): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0x94b4): undefined reference to `jwzgles_glColor4f'
polymost.cpp:(.text+0x9ad4): undefined reference to `jwzgles_glDrawArrays'
polymost.cpp:(.text+0x9bf4): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x9df0): undefined reference to `jwzgles_glDrawArrays'
polymost.cpp:(.text+0x9e10): undefined reference to `jwzgles_glMatrixMode'
polymost.cpp:(.text+0x9e14): undefined reference to `jwzgles_glLoadIdentity'
polymost.cpp:(.text+0x9e1c): undefined reference to `jwzgles_glMatrixMode'
polymost.cpp:(.text+0x9e2c): undefined reference to `jwzgles_glBlendFunc'
polymost.cpp:(.text+0x9ee8): undefined reference to `jwzgles_glDepthFunc'
polymost.cpp:(.text+0x9efc): undefined reference to `jwzgles_glDepthFunc'
polymost.cpp:(.text+0xa178): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0xa180): undefined reference to `jwzgles_glDisable'
polymost.cpp:(.text+0xa3b4): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0xa3d0): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0xa50c): undefined reference to `jwzgles_glDisable'
polymost.cpp:(.text+0xa514): undefined reference to `jwzgles_glDisable'
polymost.cpp:(.text+0xa54c): undefined reference to `jwzgles_glTexParameteri'
obj/build/polymost.o: In function `polymost_drawrooms':
polymost.cpp:(.text+0xf5dc): undefined reference to `jwzgles_glPolygonMode'
polymost.cpp:(.text+0xf6a0): undefined reference to `jwzgles_glViewport'
polymost.cpp:(.text+0xf6a8): undefined reference to `jwzgles_glMatrixMode'
polymost.cpp:(.text+0xf700): undefined reference to `jwzgles_glLoadMatrixf'
polymost.cpp:(.text+0xf708): undefined reference to `jwzgles_glMatrixMode'
polymost.cpp:(.text+0xf70c): undefined reference to `jwzgles_glLoadIdentity'
polymost.cpp:(.text+0xf760): undefined reference to `jwzgles_glClear'
polymost.cpp:(.text+0xf768): undefined reference to `jwzgles_glDisable'
polymost.cpp:(.text+0xf770): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0xf778): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0xf780): undefined reference to `jwzgles_glDepthFunc'
polymost.cpp:(.text+0xffcc): undefined reference to `jwzgles_glDepthFunc'
polymost.cpp:(.text+0x10124): undefined reference to `jwzgles_glClear'
obj/build/polymost.o: In function `polymost_dorotatesprite':
polymost.cpp:(.text+0x10284): undefined reference to `jwzgles_glViewport'
polymost.cpp:(.text+0x1029c): undefined reference to `jwzgles_glMatrixMode'
polymost.cpp:(.text+0x102a0): undefined reference to `jwzgles_glPushMatrix'
polymost.cpp:(.text+0x103cc): undefined reference to `jwzgles_glLoadMatrixf'
polymost.cpp:(.text+0x103d4): undefined reference to `jwzgles_glMatrixMode'
polymost.cpp:(.text+0x103d8): undefined reference to `jwzgles_glPushMatrix'
polymost.cpp:(.text+0x103dc): undefined reference to `jwzgles_glLoadIdentity'
polymost.cpp:(.text+0x103e4): undefined reference to `jwzgles_glDisable'
polymost.cpp:(.text+0x103ec): undefined reference to `jwzgles_glDisable'
polymost.cpp:(.text+0x103f4): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0x107cc): undefined reference to `jwzgles_glPopMatrix'
polymost.cpp:(.text+0x107dc): undefined reference to `jwzgles_glMatrixMode'
polymost.cpp:(.text+0x107e0): undefined reference to `jwzgles_glPopMatrix'
obj/build/polymost.o: In function `polymost2_drawsprite(int)':
polymost.cpp:(.text+0x128ac): undefined reference to `jwzgles_glDisableClientState'
polymost.cpp:(.text+0x128b4): undefined reference to `jwzgles_glDisableClientState'
polymost.cpp:(.text+0x128c0): undefined reference to `jwzgles_glCullFace'
polymost.cpp:(.text+0x12a58): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x12a68): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x12a98): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x12aa8): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x12af4): undefined reference to `jwzgles_glAlphaFunc'
polymost.cpp:(.text+0x12afc): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0x12b04): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0x12fa0): undefined reference to `jwzgles_glDrawArrays'
polymost.cpp:(.text+0x12fec): undefined reference to `jwzgles_glDisable'
polymost.cpp:(.text+0x12ff4): undefined reference to `jwzgles_glEnableClientState'
polymost.cpp:(.text+0x12ffc): undefined reference to `jwzgles_glEnableClientState'
polymost.cpp:(.text+0x132f4): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0x13304): undefined reference to `jwzgles_glCullFace'
obj/build/sdlayer.o: In function `sdlayer_setvideomode_opengl()':
sdlayer.cpp:(.text+0x17b4): undefined reference to `jwzgles_glEnable'
sdlayer.cpp:(.text+0x17bc): undefined reference to `jwzgles_glShadeModel'
sdlayer.cpp:(.text+0x17d0): undefined reference to `jwzgles_glClearColor'
sdlayer.cpp:(.text+0x17dc): undefined reference to `jwzgles_glHint'
sdlayer.cpp:(.text+0x17e4): undefined reference to `jwzgles_glGetString'
sdlayer.cpp:(.text+0x17f4): undefined reference to `jwzgles_glGetString'
sdlayer.cpp:(.text+0x1800): undefined reference to `jwzgles_glGetString'
sdlayer.cpp:(.text+0x180c): undefined reference to `jwzgles_glGetString'
sdlayer.cpp:(.text+0x1904): undefined reference to `jwzgles_glGetFloatv'
obj/build/common.o: In function `COMMON_clearbackground':
common.cpp:(.text+0x770): undefined reference to `jwzgles_glColor4f'
common.cpp:(.text+0x778): undefined reference to `jwzgles_glEnable'
common.cpp:(.text+0x790): undefined reference to `jwzgles_glRecti'
common.cpp:(.text+0x7a4): undefined reference to `jwzgles_glColor4f'
common.cpp:(.text+0x7b8): undefined reference to `jwzgles_glRecti'
obj/build/2d.o: In function `drawlinegl(int, int, int, int, palette_t) [clone .isra.0]':
2d.cpp:(.text+0x2a0): undefined reference to `jwzgles_glViewport'
2d.cpp:(.text+0x2a8): undefined reference to `jwzgles_glMatrixMode'
2d.cpp:(.text+0x2ac): undefined reference to `jwzgles_glLoadIdentity'
2d.cpp:(.text+0x2d0): undefined reference to `jwzgles_glOrtho'
2d.cpp:(.text+0x2fc): undefined reference to `jwzgles_glDisable'
2d.cpp:(.text+0x304): undefined reference to `jwzgles_glDisable'
2d.cpp:(.text+0x30c): undefined reference to `jwzgles_glEnable'
2d.cpp:(.text+0x31c): undefined reference to `jwzgles_glBegin'
2d.cpp:(.text+0x330): undefined reference to `jwzgles_glColor4ub'
2d.cpp:(.text+0x348): undefined reference to `jwzgles_glVertex2f'
2d.cpp:(.text+0x35c): undefined reference to `jwzgles_glVertex2f'
2d.cpp:(.text+0x360): undefined reference to `jwzgles_glEnd'
2d.cpp:(.text+0x844): undefined reference to `jwzgles_glMatrixMode'
2d.cpp:(.text+0x848): undefined reference to `jwzgles_glLoadIdentity'
2d.cpp:(.text+0x850): undefined reference to `jwzgles_glDisable'
obj/build/2d.o: In function `plotlines2d':
2d.cpp:(.text+0x2090): undefined reference to `jwzgles_glBegin'
2d.cpp:(.text+0x20a4): undefined reference to `jwzgles_glColor4ub'
2d.cpp:(.text+0x20c8): undefined reference to `jwzgles_glVertex2i'
2d.cpp:(.text+0x20d4): undefined reference to `jwzgles_glEnd'
obj/build/2d.o: In function `polymostSet2dView':
2d.cpp:(.text+0x5770): undefined reference to `jwzgles_glViewport'
2d.cpp:(.text+0x5778): undefined reference to `jwzgles_glMatrixMode'
2d.cpp:(.text+0x577c): undefined reference to `jwzgles_glLoadIdentity'
2d.cpp:(.text+0x57a0): undefined reference to `jwzgles_glOrtho'
2d.cpp:(.text+0x57c4): undefined reference to `jwzgles_glDisable'
2d.cpp:(.text+0x57d4): undefined reference to `jwzgles_glDisable'
2d.cpp:(.text+0x57dc): undefined reference to `jwzgles_glMatrixMode'
2d.cpp:(.text+0x57e0): undefined reference to `jwzgles_glLoadIdentity'
2d.cpp:(.text+0x57e8): undefined reference to `jwzgles_glDisable'
obj/build/palette.o: In function `fullscreen_tint_gl':
palette.cpp:(.text+0x504): undefined reference to `jwzgles_glMatrixMode'
palette.cpp:(.text+0x508): undefined reference to `jwzgles_glPushMatrix'
palette.cpp:(.text+0x50c): undefined reference to `jwzgles_glLoadIdentity'
palette.cpp:(.text+0x51c): undefined reference to `jwzgles_glMatrixMode'
palette.cpp:(.text+0x520): undefined reference to `jwzgles_glPushMatrix'
palette.cpp:(.text+0x524): undefined reference to `jwzgles_glLoadIdentity'
palette.cpp:(.text+0x52c): undefined reference to `jwzgles_glDisable'
palette.cpp:(.text+0x534): undefined reference to `jwzgles_glDisable'
palette.cpp:(.text+0x53c): undefined reference to `jwzgles_glDisable'
palette.cpp:(.text+0x550): undefined reference to `jwzgles_glBlendFunc'
palette.cpp:(.text+0x558): undefined reference to `jwzgles_glEnable'
palette.cpp:(.text+0x56c): undefined reference to `jwzgles_glColor4ub'
palette.cpp:(.text+0x57c): undefined reference to `jwzgles_glBegin'
palette.cpp:(.text+0x588): undefined reference to `jwzgles_glVertex2f'
palette.cpp:(.text+0x594): undefined reference to `jwzgles_glVertex2f'
palette.cpp:(.text+0x5a0): undefined reference to `jwzgles_glVertex2f'
palette.cpp:(.text+0x5a4): undefined reference to `jwzgles_glEnd'
palette.cpp:(.text+0x5b0): undefined reference to `jwzgles_glPopMatrix'
palette.cpp:(.text+0x5b8): undefined reference to `jwzgles_glMatrixMode'
palette.cpp:(.text+0x5cc): undefined reference to `jwzgles_glPopMatrix'
obj/build/palette.o: In function `handle_blend':
palette.cpp:(.text+0x1220): undefined reference to `jwzgles_glBlendFunc'
palette.cpp:(.text+0x1230): undefined reference to `jwzgles_glBlendFunc'
obj/build/texcache.o: In function `texcache_setuptexture(int*, unsigned int*)':
texcache.cpp:(.text+0x3ec): undefined reference to `jwzgles_glGenTextures'
obj/build/texcache.o: In function `texcache_loadskin':
texcache.cpp:(.text+0x13e0): undefined reference to `jwzgles_glGetError'
obj/build/texcache.o: In function `texcache_loadtile':
texcache.cpp:(.text+0x1478): undefined reference to `jwzgles_glGetError'
obj/build/screenshot.o: In function `videoCaptureScreen':
screenshot.cpp:(.text+0x488): undefined reference to `jwzgles_glReadPixels'
obj/build/screenshot.o: In function `videoCaptureScreenTGA':
screenshot.cpp:(.text+0x848): undefined reference to `jwzgles_glReadPixels'
obj/build/glsurface.o: In function `glsurface_destroy()':
glsurface.cpp:(.text+0x184): undefined reference to `jwzgles_glDeleteTextures'
glsurface.cpp:(.text+0x194): undefined reference to `jwzgles_glDeleteTextures'
obj/build/glsurface.o: In function `glsurface_setPalette(void*)':
glsurface.cpp:(.text+0x218): undefined reference to `jwzgles_glGenTextures'
glsurface.cpp:(.text+0x234): undefined reference to `jwzgles_glTexParameteri'
glsurface.cpp:(.text+0x244): undefined reference to `jwzgles_glTexParameteri'
glsurface.cpp:(.text+0x254): undefined reference to `jwzgles_glTexParameteri'
glsurface.cpp:(.text+0x264): undefined reference to `jwzgles_glTexParameteri'
glsurface.cpp:(.text+0x274): undefined reference to `jwzgles_glTexParameteri'
obj/build/glsurface.o:glsurface.cpp:(.text+0x284): more undefined references to `jwzgles_glTexParameteri' follow
obj/build/glsurface.o: In function `glsurface_setPalette(void*)':
glsurface.cpp:(.text+0x2bc): undefined reference to `jwzgles_glTexImage2D'
glsurface.cpp:(.text+0x2f4): undefined reference to `jwzgles_glTexSubImage2D'
obj/build/glsurface.o: In function `glsurface_initialize(vec2_t)':
glsurface.cpp:(.text+0x338): undefined reference to `jwzgles_glPixelStorei'
glsurface.cpp:(.text+0x470): undefined reference to `jwzgles_glGenTextures'
glsurface.cpp:(.text+0x48c): undefined reference to `jwzgles_glTexParameteri'
glsurface.cpp:(.text+0x49c): undefined reference to `jwzgles_glTexParameteri'
glsurface.cpp:(.text+0x4ac): undefined reference to `jwzgles_glTexParameteri'
glsurface.cpp:(.text+0x4bc): undefined reference to `jwzgles_glTexParameteri'
glsurface.cpp:(.text+0x4cc): undefined reference to `jwzgles_glTexParameteri'
obj/build/glsurface.o:glsurface.cpp:(.text+0x4dc): more undefined references to `jwzgles_glTexParameteri' follow
obj/build/glsurface.o: In function `glsurface_initialize(vec2_t)':
glsurface.cpp:(.text+0x510): undefined reference to `jwzgles_glTexImage2D'
obj/build/glsurface.o: In function `glsurface_blitBuffer()':
glsurface.cpp:(.text+0x718): undefined reference to `jwzgles_glTexSubImage2D'
glsurface.cpp:(.text+0x734): undefined reference to `jwzgles_glDrawArrays'
obj/build/mdsprite.o: In function `md3draw_handle_triangles(md3surf_t const*, unsigned short*, int, md3model_t const*) [clone .isra.3]':
mdsprite.cpp:(.text+0xcd0): undefined reference to `jwzgles_glBegin'
mdsprite.cpp:(.text+0xd28): undefined reference to `jwzgles_glTexCoord2f'
mdsprite.cpp:(.text+0xd34): undefined reference to `jwzgles_glVertex3fv'
mdsprite.cpp:(.text+0xd64): undefined reference to `jwzgles_glEnd'
obj/build/mdsprite.o: In function `clearskins':
mdsprite.cpp:(.text+0xfbc): undefined reference to `jwzgles_glDeleteTextures'
mdsprite.cpp:(.text+0x1018): undefined reference to `jwzgles_glDeleteTextures'
mdsprite.cpp:(.text+0x1088): undefined reference to `jwzgles_glDeleteTextures'
mdsprite.cpp:(.text+0x10f0): undefined reference to `jwzgles_glDeleteTextures'
obj/build/mdsprite.o: In function `mdloadskin':
mdsprite.cpp:(.text+0x2ae4): undefined reference to `jwzgles_glTexParameteri'
mdsprite.cpp:(.text+0x2af4): undefined reference to `jwzgles_glTexParameteri'
mdsprite.cpp:(.text+0x2b04): undefined reference to `jwzgles_glTexParameteri'
mdsprite.cpp:(.text+0x2b14): undefined reference to `jwzgles_glTexParameteri'
mdsprite.cpp:(.text+0x2f68): undefined reference to `jwzgles_glGenTextures'
obj/build/mdsprite.o: In function `polymost_mddraw':
mdsprite.cpp:(.text+0x3f30): undefined reference to `jwzgles_glDepthFunc'
mdsprite.cpp:(.text+0x3f64): undefined reference to `jwzgles_glFrontFace'
mdsprite.cpp:(.text+0x3f6c): undefined reference to `jwzgles_glEnable'
mdsprite.cpp:(.text+0x3f74): undefined reference to `jwzgles_glCullFace'
mdsprite.cpp:(.text+0x3f7c): undefined reference to `jwzgles_glEnable'
mdsprite.cpp:(.text+0x4118): undefined reference to `jwzgles_glEnable'
mdsprite.cpp:(.text+0x4120): undefined reference to `jwzgles_glEnable'
mdsprite.cpp:(.text+0x412c): undefined reference to `jwzgles_glAlphaFunc'
mdsprite.cpp:(.text+0x4140): undefined reference to `jwzgles_glColor4f'
mdsprite.cpp:(.text+0x435c): undefined reference to `jwzgles_glMatrixMode'
mdsprite.cpp:(.text+0x4378): undefined reference to `jwzgles_glLoadMatrixf'
mdsprite.cpp:(.text+0x4418): undefined reference to `jwzgles_glDisable'
mdsprite.cpp:(.text+0x4420): undefined reference to `jwzgles_glDisable'
mdsprite.cpp:(.text+0x4428): undefined reference to `jwzgles_glMatrixMode'
mdsprite.cpp:(.text+0x442c): undefined reference to `jwzgles_glLoadIdentity'
mdsprite.cpp:(.text+0x4434): undefined reference to `jwzgles_glMatrixMode'
mdsprite.cpp:(.text+0x4438): undefined reference to `jwzgles_glLoadIdentity'
mdsprite.cpp:(.text+0x461c): undefined reference to `jwzgles_glMatrixMode'
mdsprite.cpp:(.text+0x4620): undefined reference to `jwzgles_glLoadIdentity'
mdsprite.cpp:(.text+0x462c): undefined reference to `jwzgles_glTranslatef'
mdsprite.cpp:(.text+0x4634): undefined reference to `jwzgles_glMatrixMode'
mdsprite.cpp:(.text+0x4884): undefined reference to `jwzgles_glEnableClientState'
mdsprite.cpp:(.text+0x489c): undefined reference to `jwzgles_glTexCoordPointer'
mdsprite.cpp:(.text+0x48b4): undefined reference to `jwzgles_glVertexPointer'
mdsprite.cpp:(.text+0x48cc): undefined reference to `jwzgles_glDrawElements'
mdsprite.cpp:(.text+0x48f8): undefined reference to `jwzgles_glEnable'
mdsprite.cpp:(.text+0x49d8): undefined reference to `jwzgles_glFrontFace'
collect2: error: ld returned 1 exit status
Failed linking mapster32!
If the build options, environment, or system packages have changed, run \'make clean\' and try again.                                 
GNUmakefile:929: recipe for target 'mapster32' failed
make: *** [mapster32] Error 1
make: *** Waiting for unfinished jobs....
obj/duke3d/game.o: In function `G_DrawRooms':
game.cpp:(.text+0x6814): undefined reference to `jwzgles_glReadPixels'
obj/build/engine.o: In function `renderDrawSprite(int)':
engine.cpp:(.text+0xd4c4): undefined reference to `jwzgles_glBlendFunc'
engine.cpp:(.text+0xd4cc): undefined reference to `jwzgles_glDepthFunc'
obj/build/engine.o: In function `renderDrawMasks':
engine.cpp:(.text+0x18ba0): undefined reference to `jwzgles_glDepthMask'
engine.cpp:(.text+0x18c04): undefined reference to `jwzgles_glDepthMask'
obj/build/engine.o: In function `videoClearViewableArea':
engine.cpp:(.text+0x1e3d0): undefined reference to `jwzgles_glClearColor'
engine.cpp:(.text+0x1e3e4): undefined reference to `jwzgles_glClear'
obj/build/engine.o: In function `videoClearScreen':
engine.cpp:(.text+0x1e488): undefined reference to `jwzgles_glViewport'
engine.cpp:(.text+0x1e4c8): undefined reference to `jwzgles_glClearColor'
engine.cpp:(.text+0x1e4d4): undefined reference to `jwzgles_glClear'
obj/build/engine.o: In function `yax_drawrooms':
engine.cpp:(.text+0x2733c): undefined reference to `jwzgles_glClear'
obj/build/voxmodel.o: In function `gloadtex(int const*, int, int, int, int)':
voxmodel.cpp:(.text+0x1320): undefined reference to `jwzgles_glGenTextures'
voxmodel.cpp:(.text+0x133c): undefined reference to `jwzgles_glTexParameteri'
voxmodel.cpp:(.text+0x134c): undefined reference to `jwzgles_glTexParameteri'
voxmodel.cpp:(.text+0x1374): undefined reference to `jwzgles_glTexImage2D'
obj/build/voxmodel.o: In function `polymost_voxdraw':
voxmodel.cpp:(.text+0x2a18): undefined reference to `jwzgles_glFrontFace'
voxmodel.cpp:(.text+0x2a24): undefined reference to `jwzgles_glEnable'
voxmodel.cpp:(.text+0x2a2c): undefined reference to `jwzgles_glCullFace'
voxmodel.cpp:(.text+0x2a34): undefined reference to `jwzgles_glEnable'
voxmodel.cpp:(.text+0x2b54): undefined reference to `jwzgles_glEnable'
voxmodel.cpp:(.text+0x2c28): undefined reference to `jwzgles_glMatrixMode'
voxmodel.cpp:(.text+0x2c40): undefined reference to `jwzgles_glLoadMatrixf'
voxmodel.cpp:(.text+0x2cb0): undefined reference to `jwzgles_glBegin'
voxmodel.cpp:(.text+0x2d28): undefined reference to `jwzgles_glTexCoord2f'
voxmodel.cpp:(.text+0x2db4): undefined reference to `jwzgles_glVertex3fv'
voxmodel.cpp:(.text+0x2dd4): undefined reference to `jwzgles_glEnd'
voxmodel.cpp:(.text+0x2de4): undefined reference to `jwzgles_glDisable'
voxmodel.cpp:(.text+0x2df4): undefined reference to `jwzgles_glLoadIdentity'
voxmodel.cpp:(.text+0x2e38): undefined reference to `jwzgles_glColor4f'
voxmodel.cpp:(.text+0x2e84): undefined reference to `jwzgles_glDepthFunc'
voxmodel.cpp:(.text+0x2eec): undefined reference to `jwzgles_glFrontFace'
voxmodel.cpp:(.text+0x2ef8): undefined reference to `jwzgles_glDepthFunc'
obj/build/polymost.o: In function `Polymost_TryDummyTexture(coltype const*, int const*)':
polymost.cpp:(.text+0x9e0): undefined reference to `jwzgles_glTexImage2D'
polymost.cpp:(.text+0x9ec): undefined reference to `jwzgles_glGetError'
obj/build/polymost.o: In function `Polymost_SendTexToDriver(int, vec2_t, int, coltype const*, int, int, int, int)':
polymost.cpp:(.text+0xa78): undefined reference to `jwzgles_glTexSubImage2D'
polymost.cpp:(.text+0xaa4): undefined reference to `jwzgles_glTexImage2D'
obj/build/polymost.o: In function `polymost_setuptexture(int, int)':
polymost.cpp:(.text+0x10e0): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x10f0): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x1104): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x111c): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x112c): undefined reference to `jwzgles_glTexParameteri'
obj/build/polymost.o:polymost.cpp:(.text+0x1144): more undefined references to `jwzgles_glTexParameteri' follow
obj/build/polymost.o: In function `polymost_waitForSubBuffer(unsigned int)':
polymost.cpp:(.text+0x11e8): undefined reference to `jwzgles_glGetError'
obj/build/polymost.o: In function `drawtrap(float, float, float, float, float, float) [clone .part.22]':
polymost.cpp:(.text+0x13f4): undefined reference to `jwzgles_glBegin'
polymost.cpp:(.text+0x1480): undefined reference to `jwzgles_glTexCoord2f'
polymost.cpp:(.text+0x148c): undefined reference to `jwzgles_glVertex2f'
polymost.cpp:(.text+0x14dc): undefined reference to `jwzgles_glEnd'
obj/build/polymost.o: In function `polymost_glreset':
polymost.cpp:(.text+0x2058): undefined reference to `jwzgles_glDeleteTextures'
polymost.cpp:(.text+0x2084): undefined reference to `jwzgles_glDeleteTextures'
polymost.cpp:(.text+0x2098): undefined reference to `jwzgles_glDeleteTextures'
polymost.cpp:(.text+0x20d8): undefined reference to `jwzgles_glDeleteTextures'
obj/build/polymost.o: In function `bind_2d_texture(unsigned int, int)':
polymost.cpp:(.text+0x2434): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x2448): undefined reference to `jwzgles_glTexParameteri'
obj/build/polymost.o: In function `osdcmd_cvar_set_polymost(osdfuncparm_t const*)':
polymost.cpp:(.text+0x2778): undefined reference to `jwzgles_glFogi'
obj/build/polymost.o: In function `polymost_resetVertexPointers':
polymost.cpp:(.text+0x2dec): undefined reference to `jwzgles_glVertexPointer'
polymost.cpp:(.text+0x2e00): undefined reference to `jwzgles_glTexCoordPointer'
obj/build/polymost.o: In function `uploadpalswap.part.20':
polymost.cpp:(.text+0x2eac): undefined reference to `jwzgles_glTexSubImage2D'
polymost.cpp:(.text+0x2ee0): undefined reference to `jwzgles_glGenTextures'
polymost.cpp:(.text+0x2efc): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x2f0c): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x2f1c): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x2f2c): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x2f3c): undefined reference to `jwzgles_glTexParameteri'
obj/build/polymost.o:polymost.cpp:(.text+0x2f4c): more undefined references to `jwzgles_glTexParameteri' follow
obj/build/polymost.o: In function `uploadpalswap.part.20':
polymost.cpp:(.text+0x2f84): undefined reference to `jwzgles_glTexImage2D'
obj/build/polymost.o: In function `calc_and_apply_fog':
polymost.cpp:(.text+0x30fc): undefined reference to `jwzgles_glFogfv'
polymost.cpp:(.text+0x3114): undefined reference to `jwzgles_glFogf'
polymost.cpp:(.text+0x3134): undefined reference to `jwzgles_glFogf'
polymost.cpp:(.text+0x31c0): undefined reference to `jwzgles_glFogf'
polymost.cpp:(.text+0x31cc): undefined reference to `jwzgles_glFogf'
polymost.cpp:(.text+0x31ec): undefined reference to `jwzgles_glFogfv'
obj/build/polymost.o: In function `calc_and_apply_fog_factor':
polymost.cpp:(.text+0x34c8): undefined reference to `jwzgles_glFogfv'
polymost.cpp:(.text+0x34e4): undefined reference to `jwzgles_glFogf'
polymost.cpp:(.text+0x3500): undefined reference to `jwzgles_glFogf'
polymost.cpp:(.text+0x35c0): undefined reference to `jwzgles_glFogf'
polymost.cpp:(.text+0x35cc): undefined reference to `jwzgles_glFogf'
polymost.cpp:(.text+0x35ec): undefined reference to `jwzgles_glFogfv'
obj/build/polymost.o: In function `uploadtexture':
polymost.cpp:(.text+0x3894): undefined reference to `jwzgles_glGetIntegerv'
polymost.cpp:(.text+0x3c28): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x3c38): undefined reference to `jwzgles_glTexParameteri'
obj/build/polymost.o: In function `uploadtextureindexed':
polymost.cpp:(.text+0x3e28): undefined reference to `jwzgles_glTexSubImage2D'
polymost.cpp:(.text+0x3e4c): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x3e5c): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x3e6c): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x3e7c): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x3e8c): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x3eb4): undefined reference to `jwzgles_glTexImage2D'
obj/build/polymost.o: In function `uploadbasepalette':
polymost.cpp:(.text+0x3f94): undefined reference to `jwzgles_glTexSubImage2D'
polymost.cpp:(.text+0x3fbc): undefined reference to `jwzgles_glGenTextures'
polymost.cpp:(.text+0x3fd8): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x3fe8): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x3ff8): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x4008): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x4018): undefined reference to `jwzgles_glTexParameteri'
obj/build/polymost.o:polymost.cpp:(.text+0x4028): more undefined references to `jwzgles_glTexParameteri' follow
obj/build/polymost.o: In function `uploadbasepalette':
polymost.cpp:(.text+0x4060): undefined reference to `jwzgles_glTexImage2D'
obj/build/polymost.o: In function `polymost_glinit':
polymost.cpp:(.text+0x40a8): undefined reference to `jwzgles_glHint'
polymost.cpp:(.text+0x40c4): undefined reference to `jwzgles_glFogi'
polymost.cpp:(.text+0x40d0): undefined reference to `jwzgles_glBlendFunc'
polymost.cpp:(.text+0x40dc): undefined reference to `jwzgles_glPixelStorei'
polymost.cpp:(.text+0x40e8): undefined reference to `jwzgles_glPixelStorei'
polymost.cpp:(.text+0x41f8): undefined reference to `jwzgles_glGetIntegerv'
polymost.cpp:(.text+0x4240): undefined reference to `jwzgles_glGenTextures'
polymost.cpp:(.text+0x475c): undefined reference to `jwzgles_glEnableClientState'
polymost.cpp:(.text+0x476c): undefined reference to `jwzgles_glEnableClientState'
polymost.cpp:(.text+0x47a4): undefined reference to `jwzgles_glGenTextures'
polymost.cpp:(.text+0x47b4): undefined reference to `BuildGLErrorCheck()'
polymost.cpp:(.text+0x47fc): undefined reference to `jwzgles_glDeleteTextures'
obj/build/polymost.o: In function `gloadtile_art':
polymost.cpp:(.text+0x5334): undefined reference to `jwzgles_glGenTextures'
polymost.cpp:(.text+0x54d0): undefined reference to `jwzgles_glGenTextures'
polymost.cpp:(.text+0x5514): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x5524): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x5538): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x5548): undefined reference to `jwzgles_glTexParameteri'
obj/build/polymost.o: In function `gloadtile_hi':
polymost.cpp:(.text+0x60d8): undefined reference to `jwzgles_glGenTextures'
obj/build/polymost.o: In function `polymost_dorotatespritemodel(int, int, int, short, short, signed char, char, int, unsigned char, unsigned char, int)':
polymost.cpp:(.text+0x6f70): undefined reference to `jwzgles_glViewport'
polymost.cpp:(.text+0x6f94): undefined reference to `jwzgles_glDisable'
polymost.cpp:(.text+0x709c): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0x70c8): undefined reference to `jwzgles_glClear'
polymost.cpp:(.text+0x7134): undefined reference to `jwzgles_glViewport'
polymost.cpp:(.text+0x7148): undefined reference to `jwzgles_glMatrixMode'
polymost.cpp:(.text+0x71dc): undefined reference to `jwzgles_glLoadMatrixf'
polymost.cpp:(.text+0x71e4): undefined reference to `jwzgles_glMatrixMode'
polymost.cpp:(.text+0x71e8): undefined reference to `jwzgles_glLoadIdentity'
polymost.cpp:(.text+0x71f4): undefined reference to `jwzgles_glMatrixMode'
obj/build/polymost.o: In function `polymost_fillpolygon':
polymost.cpp:(.text+0x7454): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0x745c): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0x75a8): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0x75cc): undefined reference to `jwzgles_glColor4f'
polymost.cpp:(.text+0x7754): undefined reference to `jwzgles_glBegin'
polymost.cpp:(.text+0x77cc): undefined reference to `jwzgles_glTexCoord2f'
polymost.cpp:(.text+0x77d8): undefined reference to `jwzgles_glVertex2f'
polymost.cpp:(.text+0x77e4): undefined reference to `jwzgles_glEnd'
polymost.cpp:(.text+0x7e98): undefined reference to `jwzgles_glDisable'
polymost.cpp:(.text+0x7ea8): undefined reference to `jwzgles_glColor3f'
obj/build/polymost.o: In function `polymost_drawtilescreen':
polymost.cpp:(.text+0x8378): undefined reference to `jwzgles_glDisable'
polymost.cpp:(.text+0x83ac): undefined reference to `jwzgles_glColor3f'
polymost.cpp:(.text+0x83b4): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0x83bc): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0x83c4): undefined reference to `jwzgles_glBegin'
polymost.cpp:(.text+0x83d0): undefined reference to `jwzgles_glTexCoord2f'
polymost.cpp:(.text+0x83dc): undefined reference to `jwzgles_glVertex2f'
polymost.cpp:(.text+0x83e8): undefined reference to `jwzgles_glTexCoord2f'
polymost.cpp:(.text+0x83f8): undefined reference to `jwzgles_glVertex2f'
polymost.cpp:(.text+0x8404): undefined reference to `jwzgles_glTexCoord2f'
polymost.cpp:(.text+0x8414): undefined reference to `jwzgles_glVertex2f'
polymost.cpp:(.text+0x8420): undefined reference to `jwzgles_glTexCoord2f'
polymost.cpp:(.text+0x842c): undefined reference to `jwzgles_glVertex2f'
polymost.cpp:(.text+0x8430): undefined reference to `jwzgles_glEnd'
polymost.cpp:(.text+0x84d4): undefined reference to `jwzgles_glDisable'
polymost.cpp:(.text+0x84dc): undefined reference to `jwzgles_glBegin'
polymost.cpp:(.text+0x8520): undefined reference to `jwzgles_glColor3f'
polymost.cpp:(.text+0x8534): undefined reference to `jwzgles_glVertex2f'
polymost.cpp:(.text+0x8544): undefined reference to `jwzgles_glVertex2f'
polymost.cpp:(.text+0x8554): undefined reference to `jwzgles_glVertex2f'
polymost.cpp:(.text+0x8560): undefined reference to `jwzgles_glVertex2f'
polymost.cpp:(.text+0x8564): undefined reference to `jwzgles_glEnd'
obj/build/polymost.o: In function `polymost_printext256':
polymost.cpp:(.text+0x87c4): undefined reference to `jwzgles_glDisable'
polymost.cpp:(.text+0x87cc): undefined reference to `jwzgles_glDepthMask'
polymost.cpp:(.text+0x87ec): undefined reference to `jwzgles_glPolygonMode'
polymost.cpp:(.text+0x8814): undefined reference to `jwzgles_glColor4ub'
polymost.cpp:(.text+0x881c): undefined reference to `jwzgles_glBegin'
polymost.cpp:(.text+0x8828): undefined reference to `jwzgles_glVertex2i'
polymost.cpp:(.text+0x8844): undefined reference to `jwzgles_glVertex2i'
polymost.cpp:(.text+0x8860): undefined reference to `jwzgles_glVertex2i'
polymost.cpp:(.text+0x886c): undefined reference to `jwzgles_glVertex2i'
polymost.cpp:(.text+0x8870): undefined reference to `jwzgles_glEnd'
polymost.cpp:(.text+0x8878): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0x8880): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0x8894): undefined reference to `jwzgles_glColor4ub'
polymost.cpp:(.text+0x88a8): undefined reference to `jwzgles_glBegin'
polymost.cpp:(.text+0x89c0): undefined reference to `jwzgles_glColor4ub'
polymost.cpp:(.text+0x89d4): undefined reference to `jwzgles_glEnd'
polymost.cpp:(.text+0x89dc): undefined reference to `jwzgles_glDepthMask'
polymost.cpp:(.text+0x8a5c): undefined reference to `jwzgles_glTexCoord2f'
polymost.cpp:(.text+0x8a68): undefined reference to `jwzgles_glVertex2i'
polymost.cpp:(.text+0x8a78): undefined reference to `jwzgles_glTexCoord2f'
polymost.cpp:(.text+0x8a84): undefined reference to `jwzgles_glVertex2i'
polymost.cpp:(.text+0x8a94): undefined reference to `jwzgles_glTexCoord2f'
polymost.cpp:(.text+0x8aa0): undefined reference to `jwzgles_glVertex2i'
polymost.cpp:(.text+0x8aac): undefined reference to `jwzgles_glTexCoord2f'
polymost.cpp:(.text+0x8abc): undefined reference to `jwzgles_glVertex2i'
polymost.cpp:(.text+0x8b4c): undefined reference to `jwzgles_glGenTextures'
polymost.cpp:(.text+0x8cd4): undefined reference to `jwzgles_glTexImage2D'
polymost.cpp:(.text+0x8ce4): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x8cf4): undefined reference to `jwzgles_glTexParameteri'
obj/build/polymost.o: In function `polymost_drawpoly(vec2f_t const*, int, int)':
polymost.cpp:(.text+0x91b8): undefined reference to `jwzgles_glMatrixMode'
polymost.cpp:(.text+0x91bc): undefined reference to `jwzgles_glLoadIdentity'
polymost.cpp:(.text+0x91cc): undefined reference to `jwzgles_glScalef'
polymost.cpp:(.text+0x91d4): undefined reference to `jwzgles_glMatrixMode'
polymost.cpp:(.text+0x92a4): undefined reference to `jwzgles_glAlphaFunc'
polymost.cpp:(.text+0x92d0): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0x92d8): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0x94b4): undefined reference to `jwzgles_glColor4f'
polymost.cpp:(.text+0x9ad4): undefined reference to `jwzgles_glDrawArrays'
polymost.cpp:(.text+0x9bf4): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x9df0): undefined reference to `jwzgles_glDrawArrays'
polymost.cpp:(.text+0x9e10): undefined reference to `jwzgles_glMatrixMode'
polymost.cpp:(.text+0x9e14): undefined reference to `jwzgles_glLoadIdentity'
polymost.cpp:(.text+0x9e1c): undefined reference to `jwzgles_glMatrixMode'
polymost.cpp:(.text+0x9e2c): undefined reference to `jwzgles_glBlendFunc'
polymost.cpp:(.text+0x9ee8): undefined reference to `jwzgles_glDepthFunc'
polymost.cpp:(.text+0x9efc): undefined reference to `jwzgles_glDepthFunc'
polymost.cpp:(.text+0xa178): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0xa180): undefined reference to `jwzgles_glDisable'
polymost.cpp:(.text+0xa3b4): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0xa3d0): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0xa50c): undefined reference to `jwzgles_glDisable'
polymost.cpp:(.text+0xa514): undefined reference to `jwzgles_glDisable'
polymost.cpp:(.text+0xa54c): undefined reference to `jwzgles_glTexParameteri'
obj/build/polymost.o: In function `polymost_drawrooms':
polymost.cpp:(.text+0xf5dc): undefined reference to `jwzgles_glPolygonMode'
polymost.cpp:(.text+0xf6a0): undefined reference to `jwzgles_glViewport'
polymost.cpp:(.text+0xf6a8): undefined reference to `jwzgles_glMatrixMode'
polymost.cpp:(.text+0xf700): undefined reference to `jwzgles_glLoadMatrixf'
polymost.cpp:(.text+0xf708): undefined reference to `jwzgles_glMatrixMode'
polymost.cpp:(.text+0xf70c): undefined reference to `jwzgles_glLoadIdentity'
polymost.cpp:(.text+0xf760): undefined reference to `jwzgles_glClear'
polymost.cpp:(.text+0xf768): undefined reference to `jwzgles_glDisable'
polymost.cpp:(.text+0xf770): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0xf778): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0xf780): undefined reference to `jwzgles_glDepthFunc'
polymost.cpp:(.text+0xffcc): undefined reference to `jwzgles_glDepthFunc'
polymost.cpp:(.text+0x10124): undefined reference to `jwzgles_glClear'
obj/build/polymost.o: In function `polymost_dorotatesprite':
polymost.cpp:(.text+0x10284): undefined reference to `jwzgles_glViewport'
polymost.cpp:(.text+0x1029c): undefined reference to `jwzgles_glMatrixMode'
polymost.cpp:(.text+0x102a0): undefined reference to `jwzgles_glPushMatrix'
polymost.cpp:(.text+0x103cc): undefined reference to `jwzgles_glLoadMatrixf'
polymost.cpp:(.text+0x103d4): undefined reference to `jwzgles_glMatrixMode'
polymost.cpp:(.text+0x103d8): undefined reference to `jwzgles_glPushMatrix'
polymost.cpp:(.text+0x103dc): undefined reference to `jwzgles_glLoadIdentity'
polymost.cpp:(.text+0x103e4): undefined reference to `jwzgles_glDisable'
polymost.cpp:(.text+0x103ec): undefined reference to `jwzgles_glDisable'
polymost.cpp:(.text+0x103f4): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0x107cc): undefined reference to `jwzgles_glPopMatrix'
polymost.cpp:(.text+0x107dc): undefined reference to `jwzgles_glMatrixMode'
polymost.cpp:(.text+0x107e0): undefined reference to `jwzgles_glPopMatrix'
obj/build/polymost.o: In function `polymost2_drawsprite(int)':
polymost.cpp:(.text+0x128ac): undefined reference to `jwzgles_glDisableClientState'
polymost.cpp:(.text+0x128b4): undefined reference to `jwzgles_glDisableClientState'
polymost.cpp:(.text+0x128c0): undefined reference to `jwzgles_glCullFace'
polymost.cpp:(.text+0x12a58): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x12a68): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x12a98): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x12aa8): undefined reference to `jwzgles_glTexParameteri'
polymost.cpp:(.text+0x12af4): undefined reference to `jwzgles_glAlphaFunc'
polymost.cpp:(.text+0x12afc): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0x12b04): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0x12fa0): undefined reference to `jwzgles_glDrawArrays'
polymost.cpp:(.text+0x12fec): undefined reference to `jwzgles_glDisable'
polymost.cpp:(.text+0x12ff4): undefined reference to `jwzgles_glEnableClientState'
polymost.cpp:(.text+0x12ffc): undefined reference to `jwzgles_glEnableClientState'
polymost.cpp:(.text+0x132f4): undefined reference to `jwzgles_glEnable'
polymost.cpp:(.text+0x13304): undefined reference to `jwzgles_glCullFace'
obj/build/sdlayer.o: In function `sdlayer_setvideomode_opengl()':
sdlayer.cpp:(.text+0x17b4): undefined reference to `jwzgles_glEnable'
sdlayer.cpp:(.text+0x17bc): undefined reference to `jwzgles_glShadeModel'
sdlayer.cpp:(.text+0x17d0): undefined reference to `jwzgles_glClearColor'
sdlayer.cpp:(.text+0x17dc): undefined reference to `jwzgles_glHint'
sdlayer.cpp:(.text+0x17e4): undefined reference to `jwzgles_glGetString'
sdlayer.cpp:(.text+0x17f4): undefined reference to `jwzgles_glGetString'
sdlayer.cpp:(.text+0x1800): undefined reference to `jwzgles_glGetString'
sdlayer.cpp:(.text+0x180c): undefined reference to `jwzgles_glGetString'
sdlayer.cpp:(.text+0x1904): undefined reference to `jwzgles_glGetFloatv'
obj/duke3d/osdfuncs.o: In function `GAME_clearbackground(int, int)':
osdfuncs.cpp:(.text+0x838): undefined reference to `jwzgles_glColor4f'
osdfuncs.cpp:(.text+0x840): undefined reference to `jwzgles_glEnable'
osdfuncs.cpp:(.text+0x874): undefined reference to `jwzgles_glRecti'
osdfuncs.cpp:(.text+0x888): undefined reference to `jwzgles_glColor4f'
osdfuncs.cpp:(.text+0x8b0): undefined reference to `jwzgles_glRecti'
obj/build/common.o: In function `COMMON_clearbackground':
common.cpp:(.text+0x770): undefined reference to `jwzgles_glColor4f'
common.cpp:(.text+0x778): undefined reference to `jwzgles_glEnable'
common.cpp:(.text+0x790): undefined reference to `jwzgles_glRecti'
common.cpp:(.text+0x7a4): undefined reference to `jwzgles_glColor4f'
common.cpp:(.text+0x7b8): undefined reference to `jwzgles_glRecti'
obj/build/2d.o: In function `drawlinegl(int, int, int, int, palette_t) [clone .isra.0]':
2d.cpp:(.text+0x2a0): undefined reference to `jwzgles_glViewport'
2d.cpp:(.text+0x2a8): undefined reference to `jwzgles_glMatrixMode'
2d.cpp:(.text+0x2ac): undefined reference to `jwzgles_glLoadIdentity'
2d.cpp:(.text+0x2d0): undefined reference to `jwzgles_glOrtho'
2d.cpp:(.text+0x2fc): undefined reference to `jwzgles_glDisable'
2d.cpp:(.text+0x304): undefined reference to `jwzgles_glDisable'
2d.cpp:(.text+0x30c): undefined reference to `jwzgles_glEnable'
2d.cpp:(.text+0x31c): undefined reference to `jwzgles_glBegin'
2d.cpp:(.text+0x330): undefined reference to `jwzgles_glColor4ub'
2d.cpp:(.text+0x348): undefined reference to `jwzgles_glVertex2f'
2d.cpp:(.text+0x35c): undefined reference to `jwzgles_glVertex2f'
2d.cpp:(.text+0x360): undefined reference to `jwzgles_glEnd'
2d.cpp:(.text+0x844): undefined reference to `jwzgles_glMatrixMode'
2d.cpp:(.text+0x848): undefined reference to `jwzgles_glLoadIdentity'
2d.cpp:(.text+0x850): undefined reference to `jwzgles_glDisable'
obj/build/2d.o: In function `plotlines2d':
2d.cpp:(.text+0x2090): undefined reference to `jwzgles_glBegin'
2d.cpp:(.text+0x20a4): undefined reference to `jwzgles_glColor4ub'
2d.cpp:(.text+0x20c8): undefined reference to `jwzgles_glVertex2i'
2d.cpp:(.text+0x20d4): undefined reference to `jwzgles_glEnd'
obj/build/2d.o: In function `polymostSet2dView':
2d.cpp:(.text+0x5770): undefined reference to `jwzgles_glViewport'
2d.cpp:(.text+0x5778): undefined reference to `jwzgles_glMatrixMode'
2d.cpp:(.text+0x577c): undefined reference to `jwzgles_glLoadIdentity'
2d.cpp:(.text+0x57a0): undefined reference to `jwzgles_glOrtho'
2d.cpp:(.text+0x57c4): undefined reference to `jwzgles_glDisable'
2d.cpp:(.text+0x57d4): undefined reference to `jwzgles_glDisable'
2d.cpp:(.text+0x57dc): undefined reference to `jwzgles_glMatrixMode'
2d.cpp:(.text+0x57e0): undefined reference to `jwzgles_glLoadIdentity'
2d.cpp:(.text+0x57e8): undefined reference to `jwzgles_glDisable'
obj/build/palette.o: In function `fullscreen_tint_gl':
palette.cpp:(.text+0x504): undefined reference to `jwzgles_glMatrixMode'
palette.cpp:(.text+0x508): undefined reference to `jwzgles_glPushMatrix'
palette.cpp:(.text+0x50c): undefined reference to `jwzgles_glLoadIdentity'
palette.cpp:(.text+0x51c): undefined reference to `jwzgles_glMatrixMode'
palette.cpp:(.text+0x520): undefined reference to `jwzgles_glPushMatrix'
palette.cpp:(.text+0x524): undefined reference to `jwzgles_glLoadIdentity'
palette.cpp:(.text+0x52c): undefined reference to `jwzgles_glDisable'
palette.cpp:(.text+0x534): undefined reference to `jwzgles_glDisable'
palette.cpp:(.text+0x53c): undefined reference to `jwzgles_glDisable'
palette.cpp:(.text+0x550): undefined reference to `jwzgles_glBlendFunc'
palette.cpp:(.text+0x558): undefined reference to `jwzgles_glEnable'
palette.cpp:(.text+0x56c): undefined reference to `jwzgles_glColor4ub'
palette.cpp:(.text+0x57c): undefined reference to `jwzgles_glBegin'
palette.cpp:(.text+0x588): undefined reference to `jwzgles_glVertex2f'
palette.cpp:(.text+0x594): undefined reference to `jwzgles_glVertex2f'
palette.cpp:(.text+0x5a0): undefined reference to `jwzgles_glVertex2f'
palette.cpp:(.text+0x5a4): undefined reference to `jwzgles_glEnd'
palette.cpp:(.text+0x5b0): undefined reference to `jwzgles_glPopMatrix'
palette.cpp:(.text+0x5b8): undefined reference to `jwzgles_glMatrixMode'
palette.cpp:(.text+0x5cc): undefined reference to `jwzgles_glPopMatrix'
obj/build/palette.o: In function `handle_blend':
palette.cpp:(.text+0x1220): undefined reference to `jwzgles_glBlendFunc'
palette.cpp:(.text+0x1230): undefined reference to `jwzgles_glBlendFunc'
obj/build/texcache.o: In function `texcache_setuptexture(int*, unsigned int*)':
texcache.cpp:(.text+0x3ec): undefined reference to `jwzgles_glGenTextures'
obj/build/texcache.o: In function `texcache_loadskin':
texcache.cpp:(.text+0x13e0): undefined reference to `jwzgles_glGetError'
obj/build/texcache.o: In function `texcache_loadtile':
texcache.cpp:(.text+0x1478): undefined reference to `jwzgles_glGetError'
obj/build/screenshot.o: In function `videoCaptureScreen':
screenshot.cpp:(.text+0x488): undefined reference to `jwzgles_glReadPixels'
obj/build/screenshot.o: In function `videoCaptureScreenTGA':
screenshot.cpp:(.text+0x848): undefined reference to `jwzgles_glReadPixels'
obj/build/glsurface.o: In function `glsurface_destroy()':
glsurface.cpp:(.text+0x184): undefined reference to `jwzgles_glDeleteTextures'
glsurface.cpp:(.text+0x194): undefined reference to `jwzgles_glDeleteTextures'
obj/build/glsurface.o: In function `glsurface_setPalette(void*)':
glsurface.cpp:(.text+0x218): undefined reference to `jwzgles_glGenTextures'
glsurface.cpp:(.text+0x234): undefined reference to `jwzgles_glTexParameteri'
glsurface.cpp:(.text+0x244): undefined reference to `jwzgles_glTexParameteri'
glsurface.cpp:(.text+0x254): undefined reference to `jwzgles_glTexParameteri'
glsurface.cpp:(.text+0x264): undefined reference to `jwzgles_glTexParameteri'
glsurface.cpp:(.text+0x274): undefined reference to `jwzgles_glTexParameteri'
obj/build/glsurface.o:glsurface.cpp:(.text+0x284): more undefined references to `jwzgles_glTexParameteri' follow
obj/build/glsurface.o: In function `glsurface_setPalette(void*)':
glsurface.cpp:(.text+0x2bc): undefined reference to `jwzgles_glTexImage2D'
glsurface.cpp:(.text+0x2f4): undefined reference to `jwzgles_glTexSubImage2D'
obj/build/glsurface.o: In function `glsurface_initialize(vec2_t)':
glsurface.cpp:(.text+0x338): undefined reference to `jwzgles_glPixelStorei'
glsurface.cpp:(.text+0x470): undefined reference to `jwzgles_glGenTextures'
glsurface.cpp:(.text+0x48c): undefined reference to `jwzgles_glTexParameteri'
glsurface.cpp:(.text+0x49c): undefined reference to `jwzgles_glTexParameteri'
glsurface.cpp:(.text+0x4ac): undefined reference to `jwzgles_glTexParameteri'
glsurface.cpp:(.text+0x4bc): undefined reference to `jwzgles_glTexParameteri'
glsurface.cpp:(.text+0x4cc): undefined reference to `jwzgles_glTexParameteri'
obj/build/glsurface.o:glsurface.cpp:(.text+0x4dc): more undefined references to `jwzgles_glTexParameteri' follow
obj/build/glsurface.o: In function `glsurface_initialize(vec2_t)':
glsurface.cpp:(.text+0x510): undefined reference to `jwzgles_glTexImage2D'
obj/build/glsurface.o: In function `glsurface_blitBuffer()':
glsurface.cpp:(.text+0x718): undefined reference to `jwzgles_glTexSubImage2D'
glsurface.cpp:(.text+0x734): undefined reference to `jwzgles_glDrawArrays'
obj/build/mdsprite.o: In function `md3draw_handle_triangles(md3surf_t const*, unsigned short*, int, md3model_t const*) [clone .isra.3]':
mdsprite.cpp:(.text+0xcd0): undefined reference to `jwzgles_glBegin'
mdsprite.cpp:(.text+0xd28): undefined reference to `jwzgles_glTexCoord2f'
mdsprite.cpp:(.text+0xd34): undefined reference to `jwzgles_glVertex3fv'
mdsprite.cpp:(.text+0xd64): undefined reference to `jwzgles_glEnd'
obj/build/mdsprite.o: In function `clearskins':
mdsprite.cpp:(.text+0xfbc): undefined reference to `jwzgles_glDeleteTextures'
mdsprite.cpp:(.text+0x1018): undefined reference to `jwzgles_glDeleteTextures'
mdsprite.cpp:(.text+0x1088): undefined reference to `jwzgles_glDeleteTextures'
mdsprite.cpp:(.text+0x10f0): undefined reference to `jwzgles_glDeleteTextures'
obj/build/mdsprite.o: In function `mdloadskin':
mdsprite.cpp:(.text+0x2ae4): undefined reference to `jwzgles_glTexParameteri'
mdsprite.cpp:(.text+0x2af4): undefined reference to `jwzgles_glTexParameteri'
mdsprite.cpp:(.text+0x2b04): undefined reference to `jwzgles_glTexParameteri'
mdsprite.cpp:(.text+0x2b14): undefined reference to `jwzgles_glTexParameteri'
mdsprite.cpp:(.text+0x2f68): undefined reference to `jwzgles_glGenTextures'
obj/build/mdsprite.o: In function `polymost_mddraw':
mdsprite.cpp:(.text+0x3f30): undefined reference to `jwzgles_glDepthFunc'
mdsprite.cpp:(.text+0x3f64): undefined reference to `jwzgles_glFrontFace'
mdsprite.cpp:(.text+0x3f6c): undefined reference to `jwzgles_glEnable'
mdsprite.cpp:(.text+0x3f74): undefined reference to `jwzgles_glCullFace'
mdsprite.cpp:(.text+0x3f7c): undefined reference to `jwzgles_glEnable'
mdsprite.cpp:(.text+0x4118): undefined reference to `jwzgles_glEnable'
mdsprite.cpp:(.text+0x4120): undefined reference to `jwzgles_glEnable'
mdsprite.cpp:(.text+0x412c): undefined reference to `jwzgles_glAlphaFunc'
mdsprite.cpp:(.text+0x4140): undefined reference to `jwzgles_glColor4f'
mdsprite.cpp:(.text+0x435c): undefined reference to `jwzgles_glMatrixMode'
mdsprite.cpp:(.text+0x4378): undefined reference to `jwzgles_glLoadMatrixf'
mdsprite.cpp:(.text+0x4418): undefined reference to `jwzgles_glDisable'
mdsprite.cpp:(.text+0x4420): undefined reference to `jwzgles_glDisable'
mdsprite.cpp:(.text+0x4428): undefined reference to `jwzgles_glMatrixMode'
mdsprite.cpp:(.text+0x442c): undefined reference to `jwzgles_glLoadIdentity'
mdsprite.cpp:(.text+0x4434): undefined reference to `jwzgles_glMatrixMode'
mdsprite.cpp:(.text+0x4438): undefined reference to `jwzgles_glLoadIdentity'
mdsprite.cpp:(.text+0x461c): undefined reference to `jwzgles_glMatrixMode'
mdsprite.cpp:(.text+0x4620): undefined reference to `jwzgles_glLoadIdentity'
mdsprite.cpp:(.text+0x462c): undefined reference to `jwzgles_glTranslatef'
mdsprite.cpp:(.text+0x4634): undefined reference to `jwzgles_glMatrixMode'
mdsprite.cpp:(.text+0x4884): undefined reference to `jwzgles_glEnableClientState'
mdsprite.cpp:(.text+0x489c): undefined reference to `jwzgles_glTexCoordPointer'
mdsprite.cpp:(.text+0x48b4): undefined reference to `jwzgles_glVertexPointer'
mdsprite.cpp:(.text+0x48cc): undefined reference to `jwzgles_glDrawElements'
mdsprite.cpp:(.text+0x48f8): undefined reference to `jwzgles_glEnable'
mdsprite.cpp:(.text+0x49d8): undefined reference to `jwzgles_glFrontFace'
collect2: error: ld returned 1 exit status
Failed linking eduke32!
If the build options, environment, or system packages have changed, run \'make clean\' and try again.                                 
GNUmakefile:929: recipe for target 'eduke32' failed
make: *** [eduke32] Error 1



0

User is offline   Hendricks266 

  • Weaponized Autism
  • 6,387

  #13

Try adding jwzgles.c to engine_objs in the Makefile, like this diff. I'm not sure if you can do "engine_objs+=jwzgles.c" from the command line and have it work right, but that might be an option.

diff --git a/GNUmakefile b/GNUmakefile
index d9ef931ad..dac2570de 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -201,6 +201,7 @@ engine_objs := \
     miniz_tdef.c \
     fix16.c \
     fix16_str.c \
+    jwzgles.c \
 
 engine_editor_objs := \
     build.cpp \

0

User is offline   gaula92 

  • 5

#14

View PostHendricks266, on 11 March 2019 - 02:04 PM, said:

Try adding jwzgles.c to engine_objs in the Makefile, like this diff. I'm not sure if you can do "engine_objs+=jwzgles.c" from the command line and have it work right, but that might be an option.

diff --git a/GNUmakefile b/GNUmakefile
index d9ef931ad..dac2570de 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -201,6 +201,7 @@ engine_objs := \
     miniz_tdef.c \
     fix16.c \
     fix16_str.c \
+    jwzgles.c \
 
 engine_editor_objs := \
     build.cpp \



Done. It doesn't work either:

Building: make  -s -j --jobserver-fds=4,5 -- CUSTOMOPT=-DEDUKE32_GLES\ -DHAVE_JWZGLES POLYMER=0 HAVE_FLAC=0 USE_LIBVPX=0 LTO=0 WITHOUT_GTK=1                                                                                                                                
Built object obj/build/rev.o 
source/build/src/jwzgles.c:95:21: fatal error: GL/glx.h: No such file or directory
 # include <GL/glx.h>
                     ^
compilation terminated.
Failed building obj/build/jwzgles.o from source/build/src/jwzgles.c!
GNUmakefile:1031: recipe for target 'obj/build/jwzgles.o' failed
make: *** [obj/build/jwzgles.o] Error 1


Damn GLX/GLU stuff plagues this... SDL2 should be initializing the rendering context, not the game itself, imho.
Anyway, can you *please* try moving your glx.h and glu.h to a backup location and try to build this? It will be faster and easier if you try there without glx.h and glu.h, I believe.
If I try to remove "# include <GL/glx.h>" and "# include <GL/glu.h>" from source/build/src/jwzgles.c, a LOT of GL-related undeclared variable errors appear instead...
0

User is offline   Hendricks266 

  • Weaponized Autism
  • 6,387

  #15

I'm sorry, I don't have time to mess around to that extent. Since the last time I looked at GL ES on my RPis we've swapped out our bespoke glbuild GL loader with a nice library called GLAD and that might be presenting issues. I don't know if I ever tried the build without GLU or GLX installed at all. If you want to explore more, try "#if 0"ing anything in jwzgles that depends on those. With any luck we might be able to target GL ES natively this year.
0

User is offline   gaula92 

  • 5

#16

View PostHendricks266, on 13 March 2019 - 08:14 AM, said:

I'm sorry, I don't have time to mess around to that extent. Since the last time I looked at GL ES on my RPis we've swapped out our bespoke glbuild GL loader with a nice library called GLAD and that might be presenting issues. I don't know if I ever tried the build without GLU or GLX installed at all. If you want to explore more, try "#if 0"ing anything in jwzgles that depends on those. With any luck we might be able to target GL ES natively this year.


I commented out the glx.h and glu.h includes, and put the GLES1 includes instead:
#include <GLES/gl.h>
#include <GLES/glext.h>


I also had to add the GLES1 libs to the build line:
make WITHOUT_GTK=1 LTO=0 USE_LIBVPX=0 HAVE_FLAC=0 POLYMER=0 CUSTOMOPT="-DEDUKE32_GLES -DHAVE_JWZGLES -lGLESv1_CM" -j4


And I also had to comment out this line in polymost.c:
BuildGLErrorCheck();


So now it DOES BUILD, but even so, selecting the OpenGL renderer won't have any effect, the game remains using the software one.

Could you *please* add those changes to the code on the repo so we don't have to go through this again? (Including the previous changes we did)
Also, any idea on why selecting the OpenGL renderer doesn't do anything?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks are property of their respective owners. Instead of reading this text, you could be playing Ion Maiden! ;) © 2018 Voidpoint, LLC

Enter your sign in name and password


Sign in options