-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiler warning and crash #13
Comments
I have similar warning when compiling it in Gentoo, so I do not think this is relevant It has been some time since I tried it though at the time it worked fine in Gentoo with simple ebuild: And it worked. I now use mostly dosbox-staging, so I have not tried recently sorry |
@voyageur, he is referring to this bug report: joncampbell123/dosbox-x#1428 that he raised. I have however been able to compile your openglide fork just fine on Fedora 32 x86_64, even though I also get a bunch of So my guess at this point, is that it is something to do with Mageia Linux. I created a wiki page for DOSBox-X here, where I mention your fork: The special GLIDE2X.OVL file is provided by DOSBox-X and if glide pass-through mode is (successfully) enabled, will appear automatically on the emulated Z: drive. |
This is fixed now that #18 has been merged. |
Mageia Linux 7.1 64 bit:
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
This then crashes with Tomb Raider, Dosbox-x most recent, and high level emulation using the modified glide2x.ovl and openglide. Examining the core dump shows that the crash happens inside the openglide library, in RenderAddTriangle() in GLRender.cpp, as soon as I get to a screen which uses Glide.
I don't know if the compile warning is warning me of something that might cause a crash. I know that the warning is caused by a conflict between the glext header in openglide and the one on my system but I have no idea how to fix it. I also don't know if there's a test program for openglide I can use to narrow problems down and/or prove they are caused by the wrapper.
The text was updated successfully, but these errors were encountered: