I got the source through cvs yesterday (july 5th) and I tried to compile with:
# aclocal
# autoconf
# automake -a --add-missing
# ./configure --enable-boost-128
# gmake
(Many thanks to the forum...)
I managed to stop configure from complaining about missing things. I gave it all it wanted... but VegaStrike still won't compile.
gmake[3]: Entering directory `/home/maxilys/vegastrike/src/gldrv'
source='gl_globals.cpp' object='gl_globals.o' libtool=no \
depfile='.deps/gl_globals.Po' tmpdepfile='.deps/gl_globals.TPo' \
depmode=gcc /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I ../ -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDLnet=1 -DHAVE_AL=1 -I/usr/include/python -DHAVE_PYTHON=1 -I../boost -I../../boost -I../src/boost -DUSE_BOOST_128=1 -pipe -O3 -fexpensive-optimizations -fomit-frame-pointer -Wall -ffast-math -I/usr/include/SDL -D_REENTRANT -pipe -c -o gl_globals.o `test -f gl_globals.cpp || echo './'`gl_globals.cpp
In file included from gl_globals.cpp:22:
gl_globals.h syntax error before `;'
gl_globals.h:101: syntax error before `;'
gl_globals.h:102: syntax error before `;'
gmake[3]: *** [gl_globals.o] Error 1
gmake[3]: Leaving directory `/home/maxilys/vegastrike/src/gldrv'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/maxilys/vegastrike/src'
gmake[1]: *** [all-recursive] Errorr 1
gmake[1]: Leaving directory `/home/maxilys/vegastrike'
gmake: *** [all] Error 2
I checked gl_globals.h but I can't find any error. (I'm not very skilled at C++)
What do I do next?
Problem with gl_globals.h
-
- Developer
- Posts: 3980
- Joined: Fri Jan 03, 2003 4:53 am
- Location: Stanford, CA
- Contact:
that means your glext.h is out of date
try to get a newer one
get the ones from nvidia (those are best)
try to get a newer one
get the ones from nvidia (those are best)
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
http://vegastrike.sourceforge.net/
no fix
getting http://oss.sgi.com/projects/ogl-sample/ABI/glext.h and putting it in either <builddir>/src, <builddir>/src/gldrv/ or /usr/include/GL, or /usr/X11/include/GL does not work, its still producing the error messagehellcatv wrote:that means your glext.h is out of date
try to get a newer one
get the ones from nvidia (those are best)
[quote}In file included from gl_globals.cpp:22:
gl_globals.h syntax error before `;'
gl_globals.h:101: syntax error before `;'
gl_globals.h:102: syntax error before `;' [/quote]
-
- Lead Network Developer
- Posts: 2560
- Joined: Sun Jan 12, 2003 9:13 am
- Location: Palo Alto CA
- Contact:
The GL heareds broke again, so we had to do some stupid hack with #defines to get it to work
Unfortunately, we "fixed" this after relase.
See here for a diff of gl_globals.h:
http://cvs.sourceforge.net/cgi-bin/view ... 26&r2=1.27
Unfortunately, we "fixed" this after relase.
See here for a diff of gl_globals.h:
http://cvs.sourceforge.net/cgi-bin/view ... 26&r2=1.27