Technical support > Feature Requests
Cannot start UFO:AI on gentoo
amsch:
Hello!
I have downloaded the loki installer and tried to start the game (after editing default.cfg). But im getting the following error:
--- Code: ---
Adding game dir: ./base
using /home/andreas/.ufoai/base/ for writing
Adding game dir: /home/andreas/.ufoai/base
execing default.cfg
couldn't exec config.cfg
execing keys.cfg
Console initialized.
------- sound initialization -------
Using Alsa
Using sounddevice "default" - if you have problems with this try to set the cvar snddevice to a appropriate alsa-devicesound sampling rate: 48000
------------------------------------
------- Loading ref_glx.so -------
LoadLibrary("ref_glx.so"): can't open /etc/ufo.conf - setting search path to .
LoadLibrary("ref_glx.so") failed: libSDL_ttf-2.0.so.0: cannot open shared object file: No such file or directory
Dumped console text to /home/andreas/.ufoai/base/gl_debug.txt.
recursive shutdown
Error: Couldn't initialize OpenGL renderer!
Consult gl_debug.txt for further information.
--- End code ---
my default.cfg
--- Code: ---
//
// DEFAULT CVARS
//
// WIN32
//set vid_ref gl
//set gl_driver "opengl32"
// END WIN32
// LINUX
//set vid_ref glx
set vid_ref sdl
set gl_driver libGL.so
// sndsystem: (Linux only and only when SDL and/or Alsa compiled into the binary - see Makefile)
// .. 0 = OSS
// .. 1 = SDL
// .. 2 = ALSA (default)
set sndsystem 2
// END LINUX
set gl_mode 6
set vid_fullscreen 1
set crosshair 1
set cl_precachemenus 1
//----------------------------------------------
//
// INIT STUFF
//
alias init "mn_push main;"
//
// newgame command
//
alias newgame " killserver ; maxclients 1"
//
// quake2 +set dedicated 1
// will run this command if no other +map is included
//
alias dedicated_start ""
--- End code ---
Mattn:
install libsdl-ttf-2.0
amsch:
Actually I have emerged this ebuild - but it still does not work :-((
Version 1.2.11 - see here: http://www.gentoo-portage.com/media-libs/libsdl
Bandobras:
I haven't understood. Do you have install libsdl-ttf-2.0 installed? Not, libsdl-ttf-2.0-dev, libsdl-ttf-2.0.
amsch:
I have installed the following version:
--- Code: ---
* media-libs/libsdl
Latest version available: 1.2.11
Latest version installed: 1.2.11
Size of files: 2,730 kB
Homepage: http://www.libsdl.org/
Description: Simple Direct Media Layer
License: LGPL-2.1
--- End code ---
Navigation
[0] Message Index
[#] Next page
Go to full version