Author Topic: (Resolved) Slackware compile success... but unable to run  (Read 4188 times)

Ender

  • Guest
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://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:

Code: [Select]
$ 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
« Last Edit: 16 August 2006, 00:27:34 by Ender »

Ender

  • Guest
(No subject)
« Reply #1 on: 13 August 2006, 21:26:45 »
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
« Last Edit: 1 January 1970, 00:00:00 by Ender »

Ender

  • Guest
(No subject)
« Reply #2 on: 13 August 2006, 22:29:07 »
... 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:

Code: [Select]
$ 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
« Last Edit: 1 January 1970, 00:00:00 by Ender »

Ender

  • Guest
(No subject)
« Reply #3 on: 14 August 2006, 18:35:29 »
I tryed to compile by myself all the required packages... but still the same error when I press "Play Now" button.
« Last Edit: 1 January 1970, 00:00:00 by Ender »

Ender

  • Guest
(No subject)
« Reply #4 on: 16 August 2006, 00:25:36 »
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://http://en.wikipedia.org/wiki/Segmentation_fault.
« Last Edit: 1 January 1970, 00:00:00 by Ender »

 

anything