project-navigation
Personal tools

Author Topic: Problem with openGL  (Read 3324 times)

Offline Exabiche

  • Cannon Fodder
  • **
  • Posts: 2
    • View Profile
Problem with openGL
« on: November 24, 2007, 12:48:13 pm »
Hello! I try to launch ufoai on ubuntu linux, but receive this bug:

Code: [Select]
Adding game dir: ./base
Added packfile ./base/0base.pk3 (5 files)
Added packfile ./base/0maps.pk3 (388 files)
Added packfile ./base/0media.pk3 (5 files)
Added packfile ./base/0models.pk3 (874 files)
Added packfile ./base/0pics.pk3 (1730 files)
Added packfile ./base/0snd.pk3 (121 files)
Added packfile ./base/0ufos.pk3 (63 files)
using /home/irinka/.ufoai/2.1.1/base for writing
Adding game dir: /home/irinka/.ufoai/2.1.1/base
execing default.cfg
couldn't exec config.cfg
execing keys.cfg
Hostname: irinka-desktop
IP: 127.0.1.1
...using language: ru_RU.UTF-8
Console initialized.

------- sound initialization -------
Loading snd_sdl sound driver
...library search path: '.'
Soundsystem: SDL.
SDL version: 1.2.10
SDL audio driver is "alsa".
Bits: 16
Frequency: 48000
Samples: 4096
Channels: 2
sound sampling rate: 48000
------- Loading ref_glx.so -------
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/irinka/.ufoai/2.1.1/base/gl_debug.txt.
SDL audio device shut down.
recursive shutdown
Error: Couldn't initialize OpenGL renderer!
Consult gl_debug.txt for further information.
/usr/local/bin/ufoai: line 124: 20609 Trace/breakpoint trap   (core dumped) ./${GAME_BINARY} ${CMD_ARGS} "$@"


I have nvidia Geforce3 video card. Celeron 1.7. In my /usr/lib/ directory exists libGL.so.1. What should I do to resolve this problem?

Thank you.

P.S. Sorry for my english

Offline XaverXN

  • Squad Leader
  • ****
  • Posts: 110
    • View Profile
Re: Problem with openGL
« Reply #1 on: November 24, 2007, 01:29:18 pm »
Looks to me you need to install the libsdl-tff (maybe even libsdl-ttf-dev) packages.

On my Ubuntu system they are called:
libsdl-ttf2.0-dev - development files for SDL ttf library (version 2.0)
libsdl-ttf2.0-0 - TTF-Bibliothek f

Offline Exabiche

  • Cannon Fodder
  • **
  • Posts: 2
    • View Profile
Re: Problem with openGL
« Reply #2 on: November 24, 2007, 05:35:52 pm »
Thank you very much! It's work now!