Linux build fails on latest trunk (glTexImage3D redeclaration)
Brought to you by:
kirkbarnes,
krigssvin
Latest commit (r898) fails to build on both Ubuntu 16.04 and Ubuntu 17.04
Problem comes from a redeclaration of glTexImage3D in ref_gl/qgl.h, full build log attached
../client/../ref_gl/qgl.h:576:32: error: ‘glTexImage3D’ redeclared as different kind of symbol
extern PFNGLTEXIMAGE3DPROC glTexImage3D;
Anonymous
check lastest svn build
Nice! This error seems to be fixed!
However I get another error at build time:
Looks like some XInput related functions are getting in the Linux build.
remove it its xbox360 controller code for wimdows
9:17, 16 мая 2017 г., Mathieu Comandon <strycore@users.sf.net>:
--
Отправлено из мобильного приложения Яндекс.Почты
Related
Bugs:
#30yes its xInput for xbox controller. Update source from svn
Yep, that fixes one of the errors. There's still a
#ifdef _WIN32missing before line 204 in CL_PrepRefresh, commenting this line produces a successful build!fix-fix-fix
update code from svn)
Ah well now something else broke X)
For the record, this is the script I use to produce the build: https://github.com/lutris/buildbot/blob/master/games/quake2xp/build.sh
ups! camment it
in
linux\refresh.c
GLimp_SetMode
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, r_glMajorVersion->value);
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, r_glMinorVersion->value);
SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_COMPATIBILITY);
indeed, these constants seem to be specific to SDL2.
maybe yes) im comment it lines on svn
Works perfectly now, I'll push an update soon to use the new build here: https://lutris.net/games/quake-2/