This file describes how to solve potential problems when running the Linux version of Advanced Strategic Command. For information about compiling and installing the Linux version of ASC, refer to the Linux compilation guide.
configure --enable-music-mp3
make
make install
SDL_mixer requires the SMPEG library to decode MP3 files.
This is determined by the environment variable CXXFLAGS. Prior to runnine configure you can specify:
export CXXFLAGS="-O0 -g"
(for a debug build with symbols)
or
export CXXFLAGS="-O2"
(for a release build without symbols)
unpack it, and cd into it. configure ; make then become root and make install.
http://www.libsdl.org/projects/SDL_image/index.html
unpack it, and cd into it. configure ; make then become root and make install.
You probably don't have /usr/local/lib in your LD_LIBRARY_PATH or /etc/ld.so.conf. The quick solution is to incant: export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH or for csh derivatives: setenv LD_LIBRARY_PATH /usr/local/lib:$LD_LIBRARY_PATH a more permanent alternative is to add the line: /usr/local/lib to /etc/ld.so.conf (you must be root to do this).
try running it with the --window flag on the command line.
You must add the resolution that ASC tries to run in (default is 800*600 at the time of writing) to your xf86config. Your Linux distribution may have a more comfortable way to do this. On SuSE Linux for example, this can be done with SAX on the "extended desktop settings" (is this translation from the german SAX the one that is actually used?) page.
Alternatively, you can run ASC in window mode ( --window on the command line), or change the resolution it uses ( -x and -y command line options) Type ASC --help for a summary of the command line parameters
To avoid this problem, you can run ASC in windowed mode:
asc -w
asc -x 1152 -y 864
If the resolution has already been changed by ASC crashing, there is a simple way to restore it to your original settings. Start ASC in your preferred resolution, like
asc -x 1152 -y 864
and let it crash again. If it fails to crash, kill it :->
Last change: Mon, 2004-05-31 13:36