Ubuntu / SDL / OGG support not available game doesn't start

4 replies [Last post]
bantamug
User offline. Last seen 4 years 5 days ago. Offline
Joined: 2020-04-11
Posts: 1

Hi,

Running Ubuntu 18.04.4 LTS Just installed Hedgewars from the official repository. The game launches fine and I hear background music, but when I go to start a match it fails and I get the error in this image: https://imgur.com/NIcQisc

If I turn off all game sounds and music then I can start a match fine, but as soon as I turn any sounds/music on, I get the same error.

Pasting my game log below in cast it's useful. Thanks in advance for any pointers!

And the last few lines of game0.log

Quote:

0: Ping? Pong!
0: [Con] Init sound...
0: [Con] ok
0: [Con] Open audio...
0: [Con] failed
0: [Con] Init SDL_mixer...
0: [Con] Cannot init OPUS: OGG support not available
0: [Con] Mix_Init: OGG support not available
0: [Cmd] fatal Mix_Init: OGG support not available
0: [IPC out] E

nemo
nemo's picture
User offline. Last seen 1 week 6 days ago. Offline
Joined: 2009-01-28
Posts: 1861

Huh... I thought those were dependencies of the install...
Guess Locutus can clarify this.

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

Wuzzy
Wuzzy's picture
User offline. Last seen 2 weeks 1 day ago. Offline
Joined: 2012-06-20
Posts: 1301

Make sure you have all core dependencies installed:

https://hedgewars.org/kb/Dependencies

Hi, I am a Hedgewars developer. Smile

nemo
nemo's picture
User offline. Last seen 1 week 6 days ago. Offline
Joined: 2009-01-28
Posts: 1861

Could you add a bit more detail as to how you installed hedgewars?

https://packages.ubuntu.com/bionic-updates/hedgewars hedgewars 1.0.0 here depends on sdl2-mixer
https://packages.ubuntu.com/bionic/libsdl2-mixer-2.0-0 which depends on vorbis
https://packages.ubuntu.com/bionic/libvorbisfile3 which depends on ogg
https://packages.ubuntu.com/bionic/libogg0

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

Edy666
User offline. Last seen 3 years 44 weeks ago. Offline
Joined: 2020-06-07
Posts: 3

so strange, I installed hedgewars yesternday in ubuntu 18.04.4 LTS with kernel 4.15.0-101-generic and run well. Of couser i instaled .deb version because i saw 2 version in Ubuntu software center, .deb and snap and i prefer .deb

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]