Compile problem with gl_globals.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
Gilg
Just a tourist with a frag'd nav console
Just a tourist with a frag'd nav console
Posts: 3
Joined: Thu Nov 27, 2003 6:08 am

Compile problem with gl_globals.h

Post by Gilg »

I tried compiling vegastrike and got the following errors.

g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_AL=1 -I/usr/include/python2.3 -DHAVE_PYTHON=1 -DUSE_BOOST_131=1 -I../../src/boost129 -I../../src -pipe -falign-loops=2 -falign-jumps=2 -falign-functions=2 -I/usr/include/SDL -D_REENTRANT -pthread -pipe -c gl_globals.cpp
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

I remember playing vegastrike quite a while ago and was interested in trying this new release. Any ideas for this problem?
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

Here is the related wiki FAQ page to this compilng problem:
http://vegastrike.sourceforge.net/phpwi ... talling#Q8

If that doesn't help, look at some threads about this topic:
http://vegastrike.sourceforge.net/forum ... 5147#25147
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

need latest glext.h
get it by searching google for glext.h
first hit will be from sgi
download that replace yours
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
Gilg
Just a tourist with a frag'd nav console
Just a tourist with a frag'd nav console
Posts: 3
Joined: Thu Nov 27, 2003 6:08 am

Post by Gilg »

Thanks for the help, don't know why I didn't check that FAQ first. Now I've got a slightly different problem. Everything compiles fine and I've done the setup and everything, but when I try to start a new game, it fails. It complains it can't load factions.xml. I think the problem is somewhere here.

vslauncher
explore_universe.missionvegastrike explore_universe.missionVega Strike
See http://www.gnu.org/copyleft/gpl.html for license details.

GOT SUBDIR ARG =
Found data in ..
Using /home/gilg/.vegastrike as data directory
Found MODDIR = /home/gilg/.vegastrike/mods
USING HOMEDIR : /home/gilg/.vegastrike As the home directory
CONFIGFILE - Found a config file in home directory, using : /home/gilg/.vegastrike/vegastrike.config
DATADIR - No datadir specified in config file, using ; /home/gilg/.vegastrike

~/.vegastrike isn't my data directory, ~/vs/data is. I guess setting DATADIR in the config file would fix it, but I'm not sure how? Thanks for the help again.
peteyg
Elite
Elite
Posts: 1465
Joined: Thu Jan 02, 2003 12:01 pm
Location: Seattle, WA
Contact:

Post by peteyg »

If you didn't set a datadir thing when you ./configured it, vegastrike assumes that your datadir is the directory you are currently in.

Try running vegastrike from ~/vs/data/bin
Post Reply