r12793/Ubuntu 10.04 doesn't run correctly

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).

r12793/Ubuntu 10.04 doesn't run correctly

Postby shenle » Tue Jun 15, 2010 7:19 pm

I've decided to separate my compile/running problems in Ubuntu from my other VC++ thread.

Basically, r12793 compiled on the system above with cmake and usin g system boost (1.40) generates a binary; when I run the binary from either the build directory, the vegastrike directory, the data directory or the parent directory that holds'em all, I get a blank window opening, then nothing. It just sits there forever, and I have to kill -9 it.

here is stdout:

Code: Select all
 In path /home/user/vegastrike/svn/data
Vega Strike 
See http://www.gnu.org/copyleft/gpl.html for license details.

Using .vegastrike as the home directory
Found MODDIR = /home/user/vegastrike/svn/data/mods
DATADIR - No datadir specified in config file, using ; /home/user/vegastrike/svn/data
SIMULATION_ATOM: 0.05
['/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/PIL', '/usr/lib/python2.6/dist-packages/gst-0.10', '/usr/lib/pymodules/python2.6', '/usr/lib/python2.6/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.6/gtk-2.0', '/usr/local/lib/python2.6/dist-packages']
['/home/user/vegastrike/svn/data/modules/builtin', '/home/user/vegastrike/svn/data/modules/quests', '/home/user/vegastrike/svn/data/modules/missions', '/home/user/vegastrike/svn/data/modules/ai', '/home/user/vegastrike/svn/data/modules', '/home/user/vegastrike/svn/data/bases']
0 joysticks were found.

The names of the joysticks are:
FactionXML:LoadXML factions.xml
Contents of star system:
<system name="Empty" background="backgrounds/black" nearstars="0" stars="0" starspread="0"  y="0" z="0" x="0">

</system>


using NV_CUBE_MAP

refusing to bind command to joystick (joy-nr too high)
CREATING A LOCAL SHIP : dumbfire
Hi helper play 0
HereInitializing optimizer
Compilation of technique fixed successful
Compilation of technique default successful
Compilation of technique highend_simple successful
pox 119990000000.000000 -9000000.000000 -109990000000.000000
Force feedback support disabled when compiled
Loading completed, now network init


and stderr:

Code: Select all
GOT SUBDIR ARG =
Found data in /home/user/vegastrike/svn/data
Using /home/user/vegastrike/svn/data as data directory
USING HOMEDIR : /home/user/.vegastrike As the home directory
CONFIGFILE - No config found in home : /home/user/.vegastrike/vegastrike.config
CONFIGFILE - No home config file found, using datadir config file : /home/user/vegastrike/svn/data/vegastrike.config
MISSION_NAME is empty using : main_menu.mission
Attempt to call ReadFull on a bad file units.csv
running import sys
print sys.path
sys.path = [r"/home/user/vegastrike/svn/data/modules/builtin",r"/home/user/vegastrike/svn/data/modules/quests",r"/home/user/vegastrike/svn/data/modules/missions",r"/home/user/vegastrike/svn/data/modules/ai",r"/home/user/vegastrike/svn/data/modules",r"/home/user/vegastrike/svn/data/bases"]
testing VS randomrunning import sys
print sys.path
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
Vertex shader was successfully compiled to run on hardware.
 
Fragment shader was successfully compiled to run on hardware.

Fragment shader(s) linked, vertex shader(s) linked.
 
Vertex shader was successfully compiled to run on hardware.
 
Fragment shader was successfully compiled to run on hardware.

Fragment shader(s) linked, vertex shader(s) linked.
WARNING: built-in varying gl_TexCoord [7] defined in Vertex shader and not used in Fragment shader
WARNING: built-in varying gl_TexCoord [7] defined in Vertex shader and not used in Fragment shader
 
Min (0.000000, 0.000000, 0.000000) Max(0.000000, 0.000000, 0.000000) MinLumin 1.000000, MaxLumin 1.000000Read In Star Count 0 used: 2000
Min (0.000000, 0.000000, 0.000000) Max(0.000000, 0.000000, 0.000000) MinLumin 1.000000, MaxLumin 1.000000Read In Star Count 0 used: 38
Loading a starsystem
Loading Star System Special/Empty
FOUND MODIFICATION = player FOR PLAYER #0
Vertex shader was successfully compiled to run on hardware.
 
Fragment shader was successfully compiled to run on hardware.

Fragment shader(s) linked, vertex shader(s) linked.
WARNING: built-in varying gl_TexCoord [2] defined in Vertex shader and not used in Fragment shader
WARNING: built-in varying gl_TexCoord [2] defined in Vertex shader and not used in Fragment shader
 
Vertex shader was successfully compiled to run on hardware.
 
Fragment shader was successfully compiled to run on hardware.

Fragment shader(s) linked, vertex shader(s) linked.
 
Vertex shader was successfully compiled to run on hardware.
 
Fragment shader failed to compile with the following errors:
ERROR: 0:122: error(#71) Syntax error incorrect preprocessor directive
WARNING: 0:122: warning(#64) Unexpected tokens following the preprocessor directive - expected a newline(#if )
ERROR: 0:229: error(#71) Syntax error incorrect preprocessor directive
WARNING: 0:229: warning(#64) Unexpected tokens following the preprocessor directive - expected a newline(#if )
ERROR: 0:446: error(#71) Syntax error incorrect preprocessor directive
WARNING: 0:446: warning(#64) Unexpected tokens following the preprocessor directive - expected a newline(#if )
ERROR: error(#273) 3 compilation errors.  No code generated


Fragment Program Error: Failed to compile highend
Compilation of technique highend failed... trying default
Cause: Error compiling program vp:"highend" fp:"highend"
Vertex shader was successfully compiled to run on hardware.
 
Fragment shader was successfully compiled to run on hardware.

Fragment shader(s) linked, vertex shader(s) linked.
WARNING: built-in varying gl_TexCoord [1] defined in Vertex shader and not used in Fragment shader
WARNING: built-in varying gl_TexCoord [1] defined in Vertex shader and not used in Fragment shader
 
make me a sandwich
make: *** No rule to make target 'me'. Stop.
shenle
Confed Special Operative
Confed Special Operative
 
Posts: 381
Topics: 30
Joined: Wed Jan 30, 2008 8:25 pm
Location: hiding in a dark corner

Share On:

Share on Facebook Facebook Share on Twitter Twitter Share on Digg Digg

Re: r12793/Ubuntu 10.04 doesn't run correctly

Postby klauss » Fri Jun 18, 2010 11:46 am

Seems to stop right after network init stuff.

Not sure it means something... it might.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
User avatar
klauss
Elite
Elite
 
Posts: 7243
Topics: 55
Joined: Mon Apr 18, 2005 7:40 am
Location: LS87, Buenos Aires, República Argentina

Re: r12793/Ubuntu 10.04 doesn't run correctly

Postby shenle » Fri Aug 27, 2010 3:32 pm

Two months after this, I reattempted the build. r12885 builds and runs fine. No crashes so far. Same build system. Only peculiarity is that it still doesn't load the splash screen at the beginning - basically a blank screen until the program is completely loaded.
make me a sandwich
make: *** No rule to make target 'me'. Stop.
shenle
Confed Special Operative
Confed Special Operative
 
Posts: 381
Topics: 30
Joined: Wed Jan 30, 2008 8:25 pm
Location: hiding in a dark corner

Re: r12793/Ubuntu 10.04 doesn't run correctly

Postby klauss » Fri Aug 27, 2010 4:10 pm

Peculiar indeed - if it happens all the time. I've seen it happen from time to time, since there's one splash file that fails to load (never got around to finding out which) ;)
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
User avatar
klauss
Elite
Elite
 
Posts: 7243
Topics: 55
Joined: Mon Apr 18, 2005 7:40 am
Location: LS87, Buenos Aires, República Argentina

Re: r12793/Ubuntu 10.04 doesn't run correctly

Postby shenle » Sat Aug 28, 2010 10:23 pm

:My joy was too short.

To make sure it's repeatable, I redid the build on a different machine, running the same version of Ubuntu. Both machines are very vanilla, nothing extra is installed except what is strictly needed to compile vegastrike successfully.

The binary builds (it was giving me some weird errors at compiling vid_file.cpp, which I have resolved by installing every -dev package that has any relation with ffmpeg whatsoever).

However when run it starts initializing the game, then crashes. here is the stderr:
Code: Select all
Registering codec ogg.
Registering codec ffmpeg as universal.
 In path /home/user/src/vegastrike/svn/data
Vega Strike 
See http://www.gnu.org/copyleft/gpl.html for license details.

Using .vegastrike as the home directory
Found MODDIR = /home/user/src/vegastrike/svn/data/mods
DATADIR - No datadir specified in config file, using ; /home/user/src/vegastrike/svn/data
SIMULATION_ATOM: 0.05
['/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/PIL', '/usr/lib/python2.6/dist-packages/gst-0.10', '/usr/lib/pymodules/python2.6', '/usr/lib/python2.6/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.6/gtk-2.0', '/usr/lib/python2.6/dist-packages/wx-2.6-gtk2-unicode', '/usr/local/lib/python2.6/dist-packages']
['/home/user/src/vegastrike/svn/data/modules/builtin', '/home/user/src/vegastrike/svn/data/modules/quests', '/home/user/src/vegastrike/svn/data/modules/missions', '/home/user/src/vegastrike/svn/data/modules/ai', '/home/user/src/vegastrike/svn/data/modules', '/home/user/src/vegastrike/svn/data/bases']
Creating scene manager...
Creating template manager...
0 joysticks were found.

The names of the joysticks are:
FactionXML:LoadXML factions.xml
Contents of star system:
<system name="Empty" background="backgrounds/black" nearstars="0" stars="0" starspread="0"  y="0" z="0" x="0">

</system>


using NV_CUBE_MAP

refusing to bind command to joystick (joy-nr too high)
CREATING A LOCAL SHIP : dumbfire
Hi helper play 0
HereInitializing optimizer
Compilation of technique fixed successful
Compilation of technique highend successful


And stdout:
Code: Select all
GOT SUBDIR ARG =
Found data in /home/user/src/vegastrike/svn/data
Using /home/user/src/vegastrike/svn/data as data directory
USING HOMEDIR : /home/user/.vegastrike As the home directory
CONFIGFILE - Found a config file in home directory, using : /home/user/.vegastrike/vegastrike.config
MISSION_NAME is empty using : main_menu.mission
Attempt to call ReadFull on a bad file units.csv
running import sys
print sys.path
sys.path = [r"/home/user/src/vegastrike/svn/data/modules/builtin",r"/home/user/src/vegastrike/svn/data/modules/quests",r"/home/user/src/vegastrike/svn/data/modules/missions",r"/home/user/src/vegastrike/svn/data/modules/ai",r"/home/user/src/vegastrike/svn/data/modules",r"/home/user/src/vegastrike/svn/data/bases"]
testing VS randomrunning import sys
print sys.path
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
  Initializing renderer...
Min (0.000000, 0.000000, 0.000000) Max(0.000000, 0.000000, 0.000000) MinLumin 1.000000, MaxLumin 1.000000Read In Star Count 0 used: 2000
Min (0.000000, 0.000000, 0.000000) Max(0.000000, 0.000000, 0.000000) MinLumin 1.000000, MaxLumin 1.000000Read In Star Count 0 used: 38
Loading a starsystem
Loading Star System Special/Empty
FOUND MODIFICATION = player FOR PLAYER #0
terminate called after throwing an instance of 'Audio::FileOpenException'
  what():  Cannot open "techniques/highend_simple.technique"


Looks like the error is related to the audio stuff.
make me a sandwich
make: *** No rule to make target 'me'. Stop.
shenle
Confed Special Operative
Confed Special Operative
 
Posts: 381
Topics: 30
Joined: Wed Jan 30, 2008 8:25 pm
Location: hiding in a dark corner

Re: r12793/Ubuntu 10.04 doesn't run correctly

Postby klauss » Sat Aug 28, 2010 10:38 pm

No, I believe it's either misconfiguration or that you didn't update the data folder.

It's complaining that it can't find the highend_simple technique.

It may also be that you didn't reconfigure: the latest changes to techniques require that you re-build your local config file (by running vssetup and configuring VS again to your liking).
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
User avatar
klauss
Elite
Elite
 
Posts: 7243
Topics: 55
Joined: Mon Apr 18, 2005 7:40 am
Location: LS87, Buenos Aires, República Argentina

Re: r12793/Ubuntu 10.04 doesn't run correctly

Postby shenle » Sun Aug 29, 2010 6:32 am

Yes that worked; I rebuilt vssetup and ran it, and now the binary runs correctly. However, like before some settings from vssetup don't "stick", such as the window size.
make me a sandwich
make: *** No rule to make target 'me'. Stop.
shenle
Confed Special Operative
Confed Special Operative
 
Posts: 381
Topics: 30
Joined: Wed Jan 30, 2008 8:25 pm
Location: hiding in a dark corner

Re: r12793/Ubuntu 10.04 doesn't run correctly

Postby klauss » Sun Aug 29, 2010 12:07 pm

I noticed that, every time vegastrike.config changes on SVN, vssetup "forgets" its settings.

But it only happens when the repo's vegastrike.config changes, so I don't think it's a serious issue. It might even be designed that way.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
User avatar
klauss
Elite
Elite
 
Posts: 7243
Topics: 55
Joined: Mon Apr 18, 2005 7:40 am
Location: LS87, Buenos Aires, República Argentina



Return to Compiling Problems [paste config.log]

Who is online

Users browsing this forum: No registered users and 3 guests

cron