Zandronum Chat on our Discord Server Get the latest version: 3.2
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001302Zandronum[All Projects] Bugpublic2013-03-15 13:032018-09-30 20:20
Reporterskyrimguy 
Assigned ToTorr Samaho 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformLinuxOSOS Version
Product Version1.0 
Target Version1.1Fixed in Version1.1 
Summary0001302: Zandronum linux client fails to compile with latest Mesa
DescriptionWhile trying to compile the zandronum linux client on Ubuntu 12.10, Fedora 18, Arch Linux or Gentoo, I got the following error:


[ 33%] Building CXX object src/CMakeFiles/zdoom.dir/sdl/hardware.o
In file included from /home/ggg/zandronum_build/zandronum/src/./gl/gl_pch.h:86:0,
                 from /home/ggg/zandronum_build/zandronum/src/sdl/sdlglvideo.h:7,
                 from /home/ggg/zandronum_build/zandronum/src/sdl/hardware.cpp:49:
/home/ggg/zandronum_build/zandronum/src/./gl/r_render/r_render.h:201:2: error: ‘PFNGLMULTITEXCOORD2FPROC’ does not name a type
/home/ggg/zandronum_build/zandronum/src/./gl/r_render/r_render.h:202:2: error: ‘PFNGLMULTITEXCOORD2FVPROC’ does not name a type
make[2]: *** [src/CMakeFiles/zdoom.dir/sdl/hardware.o] Error 1
make[1]: *** [src/CMakeFiles/zdoom.dir/all] Error 2
make: *** [all] Error 2
Steps To ReproduceCompile the zandronum linux client on Ubuntu 12.10, Fedora 18, Arch Linux, Gentoo or any Linux distro that has installed Mesa 9.x
Additional InformationSolution:

Based on this patch (I recommend you to read it):
'https://gitorious.org/vaapi/gstreamer-vaapi/commit/5db2e93d3c930fd8470cfdcd26f514d1cebc59a0/diffs [^]'

I added the following:


#if GL_GLEXT_VERSION >= 85
typedef void (*PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
typedef void (*PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
#endif


to:
zandronum/src/gl/r_render/r_render.h

and the problem is fixed.

Here is the full logs and the patched r_render.h:
Attached Fileszip file icon logs_&_r_render.zip [^] (70,080 bytes) 2013-03-15 13:03

- Relationships

-  Notes
User avatar (0006131)
Dusk (developer)
2013-03-15 15:43
edited on: 2013-03-15 15:43

Ah, great. I recently switched to Kubuntu and ran into this very issue. I can confirm that the fix does resolve the problem.

User avatar (0006134)
Edward-san (developer)
2013-03-17 10:54

see gzdoom svn r1499.
User avatar (0006315)
Torr Samaho (administrator)
2013-05-05 19:25

Backported.

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2013-03-15 13:03 skyrimguy New Issue
2013-03-15 13:03 skyrimguy File Added: logs_&_r_render.zip
2013-03-15 15:43 Dusk Note Added: 0006131
2013-03-15 15:43 Dusk Status new => confirmed
2013-03-15 15:43 Dusk Note Edited: 0006131 View Revisions
2013-03-17 10:54 Edward-san Note Added: 0006134
2013-05-01 20:36 Dusk Target Version => 1.1
2013-05-05 19:25 Torr Samaho Note Added: 0006315
2013-05-05 19:26 Torr Samaho Assigned To => Torr Samaho
2013-05-05 19:26 Torr Samaho Status confirmed => needs testing
2013-05-05 19:50 Dusk Status needs testing => resolved
2013-05-05 19:50 Dusk Fixed in Version => 1.1
2013-05-05 19:50 Dusk Resolution open => fixed
2018-09-30 20:20 Blzut3 Status resolved => closed






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker