Page 1 of 1

Trunk compiler errors in Ubuntu 12.10

Posted: Sat Nov 10, 2012 19:56
by Inuyasha_989
I'll be honest, I'm using old as dirt tutorials since Linux isn't my strongest suit.

After ensuring what I assume to be all dependencies are satisfied and CMaking, I hit this upon make:

Code: Select all

[ 37%] Building CXX object src/CMakeFiles/zdoom.dir/sdl/hardware.o
In file included from /home/blah/gzdoom/src/./gl/system/gl_system.h:94:0,
                 from /home/blah/gzdoom/src/sdl/sdlglvideo.h:7,
                 from /home/blah/gzdoom/src/sdl/hardware.cpp:50:
/home/blah/gzdoom/src/./gl/system/gl_interface.h:206:2: error: ‘PFNGLMULTITEXCOORD2FPROC’ does not name a type
/home/blah/gzdoom/src/./gl/system/gl_interface.h:207: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

Re: Trunk compiler errors in Ubuntu 12.10

Posted: Sat Nov 10, 2012 20:27
by Graf Zahl
Looks like your OpenGL header files are old.

Re: Trunk compiler errors in Ubuntu 12.10

Posted: Sat Nov 10, 2012 22:03
by Inuyasha_989
I've checked and everything I've thought of is up to date. libgl1-mesa-dev, freeglut3, etc.

apt-get upgrade only has a Java update :/

EDIT: Incidentally, I just installed GZDoom from Synaptic after adding the repo, but I'd still like to iron this out if possible.

One other issue, OSS fails to initialize and trys Alsa to no avail. What FMOD lib is used in the current trunk?

Nevermind, I just needed a soundfont which I now cant seem to get GZdoom to see :|

Re: Trunk compiler errors in Ubuntu 12.10

Posted: Sun Nov 11, 2012 8:18
by Graf Zahl
The error points to a data type defined internally by OpenGL so obviously you seem to have a gl.h/glext.h that's either invalid or outdated.

Re: Trunk compiler errors in Ubuntu 12.10

Posted: Sun Nov 11, 2012 22:25
by Gez
If it's just a question of sound font, you can always switch to the OPL emulator to confirm. It doesn't need sound fonts.

Once you have confirmed that music does work with OPL, then you can in more detail at each software synthesizer article to see how to make them to see where a sound font is (and what types of sound font it wants; i.e. FMOD will not work with an SF2).

Re: Trunk compiler errors in Ubuntu 12.10

Posted: Wed Nov 14, 2012 20:10
by Saya-chan
I get this same error on building and I'm on Arch, so I don't think my OpenGL headers are old (I have Mesa 9.0, if that's of any help).

Re: Trunk compiler errors in Ubuntu 12.10

Posted: Wed Nov 14, 2012 20:30
by Graf Zahl
You can always check the ones you can download on www.opengl.org. That's the glext.h version I am using and the corresponding typedefs are definitely in there.