VOGONS


Linux openglide problem

Topic actions

  • This topic is locked. You cannot reply or edit posts.

First post, by arromdee3

User metadata
Rank Newbie
Rank
Newbie

Mageia Linux 7.1 64 bit,, Radeon R7 260X. Dosbox-X latest version. Trying to play Tomb Raider Glide version. The openglide I used is from https://github.com/voyageur/openglide .

1) Compiling this gives a warning:

glext.h:54: warning: "GL_GLEXT_VERSION" redefined
#define GL_GLEXT_VERSION 16

In file included from /usr/include/GL/gl.h:2050,
from /usr/include/SDL/SDL_opengl.h:48,
from platform/window.h:23,
from GlOgl.h:39,
from GLutil.cpp:19:
/usr/include/GL/glext.h:54: note: this is the location of the previous definition
#define GL_GLEXT_VERSION 20190911

2) This crashes in Tomb Raider nside the openglide library, in RenderAddTriangle() in GLRender.cpp, as soon as I get to a screen which uses Glide.

It's my understanding that the compile warning is caused by a conflict between the included glext.h and the system one, but I have no idea how to fix it or whether it's related to my problem.

Reply 1 of 2, by Geri

User metadata
Rank Member
Rank
Member

i dont want to be too offensive to the authors but by just looking at the libs they have used for this project, the wind of fullblown incompetency is striking my head from just observing the fact they had to use the sdl joke library to open the rendering surface instead of learning what is xlib.

like it or not, but you are indeed standing in front of the Therac-25 of glide wrappers!

Therefore i wouldnt even assume if the crash has anything to do with this error message.

TitaniumGL the OpenGL to D3D wrapper:
http://users.atw.hu/titaniumgl/index.html