configure warning about glext.h

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).
Post Reply
hendrik
Star Pilot
Star Pilot
Posts: 5
Joined: Thu Sep 23, 2004 1:52 am
Contact:

configure warning about glext.h

Post by hendrik »

hello,

i just downloaded vegastrike and data4.x using cvs and followed the steps in the howto to compile it. running ./configure i get this warning:

checking for GL/gl.h... yes
checking GL/glext.h usability... no
checking GL/glext.h presence... yes
configure: WARNING: GL/glext.h: present but cannot be compiled
configure: WARNING: GL/glext.h: check for missing prerequisite headers?
configure: WARNING: GL/glext.h: see the Autoconf documentation
configure: WARNING: GL/glext.h: section "Present But Cannot Be Compiled"
configure: WARNING: GL/glext.h: proceeding with the preprocessor's result
configure: WARNING: GL/glext.h: in the future, the compiler will take precedence
configure: WARNING: ## ------------------------------------- ##
configure: WARNING: ## Report this to the vegastrike lists. ##
configure: WARNING: ## ------------------------------------- ##
checking for GL/glext.h... yes
checking whether glext.h is recent enough... yes

the full config.log can be viewed here: http://www.deep-space.at/misc/config.log

please tell me what i should do about this warning.

i'm going to try to compile vegastrike despite the warning and will post the result.
hendrik
Star Pilot
Star Pilot
Posts: 5
Joined: Thu Sep 23, 2004 1:52 am
Contact:

Post by hendrik »

hello again,

a "make" produced the following error:
make[3]: Entering directory `/root/vegastrike/vegastrike/src/gldrv'
...
...
In file included from gl_globals.cpp:22:
gl_globals.h:132: error: syntax error before `;' token
gl_globals.h:133: error: syntax error before `;' token
gl_globals.h:134: error: syntax error before `;' token
gl_globals.h:135: error: syntax error before `;' token
gl_globals.h:136: error: syntax error before `;' token
gl_globals.h:137: error: syntax error before `;' token
make[3]: *** [gl_globals.o] Error 1
make[3]: Leaving directory `/root/vegastrike/vegastrike/src/gldrv'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/vegastrike/vegastrike/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/vegastrike/vegastrike'
make: *** [all] Error 2

seems to be the same error as in this post http://vegastrike.sourceforge.net/forum ... .php?t=952

i downloaded this version of glext http://cvs1.nvidia.com/inc/GL/glext.h
and get the same error.
hendrik
Star Pilot
Star Pilot
Posts: 5
Joined: Thu Sep 23, 2004 1:52 am
Contact:

Post by hendrik »

oops
sorry haven't read all of that post. i missed the part about the diff of gl_globals.h.
sorry for posting before reading :oops:
hendrik
Star Pilot
Star Pilot
Posts: 5
Joined: Thu Sep 23, 2004 1:52 am
Contact:

Post by hendrik »

well, it's me posting again :)

i checked my vegastrike/src/gldrv/gl_globals.h file and it has the correct lines,
but running configure still gives that warning about glext.h although i replaced it with the file from nvidia.
i tried to compile again AND IT WORKS !! :D

i'm sorry for opening a new topic that is now no longer needed, but maybe someone is interested in that warning above.

P.S.: vegastrike is a great game !
peteyg
Elite
Elite
Posts: 1465
Joined: Thu Jan 02, 2003 12:01 pm
Location: Seattle, WA
Contact:

Post by peteyg »

I ran into this same problem a while ago... it seems pretty common.
Post Reply