Trunk compiler errors in Ubuntu 12.10

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
Inuyasha_989
Posts: 60
Joined: Sun Sep 04, 2005 3:05

Trunk compiler errors in Ubuntu 12.10

Post 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
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Trunk compiler errors in Ubuntu 12.10

Post by Graf Zahl »

Looks like your OpenGL header files are old.
Inuyasha_989
Posts: 60
Joined: Sun Sep 04, 2005 3:05

Re: Trunk compiler errors in Ubuntu 12.10

Post 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 :|
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Trunk compiler errors in Ubuntu 12.10

Post 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.
User avatar
Gez
Developer
Developer
Posts: 1399
Joined: Mon Oct 22, 2007 16:47

Re: Trunk compiler errors in Ubuntu 12.10

Post 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).
User avatar
Saya-chan
Posts: 10
Joined: Mon Dec 26, 2011 16:48
Location: Vigo, Galicia
Contact:

Re: Trunk compiler errors in Ubuntu 12.10

Post 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).
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Trunk compiler errors in Ubuntu 12.10

Post 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.
Locked

Return to “Closed Bugs”