(Resolved) Slackware compile success... but unable to run

Started by Ender, 13 August 2006, 21:18:58

Ender

I have been able to compile the 2.0.0 source code under Slackware Linux current (10.2 updated), following the example of the Debian package creation at this address //http://www.masguadalinex.net/?q=glest.

Then, as explained by the README.linux file in the /doc directory of the source, I copyed the glest executable in the glest_game directory obtained expanding glest_data_2.0.0.zip archive.

Once done everything I launched the gelst executable. Unfortunatelly I got this error message:

$ glest
void Shared::Platform::Window::setStyle(Shared::Platform::WindowStyle) not implemented.
Exception: Couldn't set video mode 1024x768 (32bpp 0 stencil 32 depth-buffer). SDL Error is: Couldn't find matching GLX visual

Ender

#1
Ok I have also copyed the glest.ini file in the source directory to the glest_game directory.

Now the result have been a KDE termination. :o

Ender

#2
... in the end, I discovered that the Xorg/KDE Termination was caused by a corruption of the installation of my Nvidia drivers.

I reinstalled them... and then I was able to run the game but just the game setup screen. When I pressed Play I got this:

$ glest
void Shared::Platform::Window::setStyle(Shared::Platform::WindowStyle) not implemented.
Couldn't process event: Error loading Faction Types: techs/magitech
Error loading units: techs/magitech/factions/magic
Error loading UnitType: techs/magitech/factions/magic/units/archmage/archmage.xml
Error opening wav file: techs/magitech/factions/magic/units/archmage/sounds/archmage_select1.wav
Segmentation fault

Ender

#3
I tryed to compile by myself all the required packages... but still the same error when I press "Play Now" button.

Ender

#4
I resolved the problem!

There are some wav files missed in the data package. I do not know how is handled this exception by the code, anyway the system throws a "Segmentation fault" and terminates the game.

The files missed responsible for this Exception are:

techs/magitech/factions/magic/units/archmage/sounds/archmage_select1.wav
techs/magitech/factions/magic/units/archmage/sounds/archmage_select2.wav
techs/magitech/factions/magic/units/archmage/sounds/archmage_select3.wav
techs/magitech/factions/magic/units/archmage/sounds/archmage_select4.wav
techs/magitech/factions/magic/units/archmage/sounds/archmage_select5.wav
techs/magitech/factions/magic/units/archmage/sounds/archmage_hit1.wav
techs/magitech/factions/magic/units/archmage/sounds/archmage_hit2.wav
techs/magitech/factions/magic/units/archmage/sounds/archmage_hit3.wav
techs/magitech/factions/magic/units/archmage/sounds/archmage_hit4.wav
techs/magitech/factions/magic/units/archmage/sounds/archmage_die1.wav
techs/magitech/factions/magic/units/archmage/sounds/archmage_die2.wav


I resolved just changing the file techs/magitech/factions/magic/units/archmage/archmage.xml and putting some existing wav file in the place of the absent files.

For an explanation of a "Segmentation fault" I found this: //http://en.wikipedia.org/wiki/Segmentation_fault.