Pages: [1]
|
 |
|
Author
|
Topic: fatal error: mikmod.h: No such file or directory (Read 2804 times)
|
ijustwannaplaythegame
Zebranky food

Offline
Posts: 6
|
Hello, i created this account right now just to see if i can get some help getting the game to work.
I am compiling from source. Using Ubuntu 10.10
When i give the command to install i get the following error.
Downloads/uqm-0.6.2/sc2$ sudo ./build.sh uqm install CC obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o src/sc2code/libs/sound/decoders/modaud.c:36: fatal error: mikmod.h: No such file or directory compilation terminated. make: *** [obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o] Error 1
Its obvious to be some problem with sound... some missing file.. any help would be greatly appreciated!
|
|
|
Logged
|
|
|
|
ijustwannaplaythegame
Zebranky food

Offline
Posts: 6
|
ok... managed to get passed that ... but now.. i get this errors..
uqm-0.6.2/sc2/src/sc2code/libs/sound/decoders/modaud.c:410: undefined reference to `Player_SetPosition' obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0x5c): undefined reference to `VC_SampleLoad' obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0x60): undefined reference to `VC_SampleUnload' obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0x64): undefined reference to `VC_SampleSpace' obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0x68): undefined reference to `VC_SampleLength' obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0x78): undefined reference to `VC_SetNumVoices' obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0x7c): undefined reference to `VC_PlayStart' obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0x80): undefined reference to `VC_PlayStop' obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0x8c): undefined reference to `VC_VoiceSetVolume' obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0x90): undefined reference to `VC_VoiceGetVolume' obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0x94): undefined reference to `VC_VoiceSetFrequency' obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0x98): undefined reference to `VC_VoiceGetFrequency' obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0x9c): undefined reference to `VC_VoiceSetPanning' obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0xa0): undefined reference to `VC_VoiceGetPanning' obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0xa4): undefined reference to `VC_VoicePlay' obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0xa8): undefined reference to `VC_VoiceStop' obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0xac): undefined reference to `VC_VoiceStopped' obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0xb0): undefined reference to `VC_VoiceGetPosition' obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0xb4): undefined reference to `VC_VoiceRealVolume' collect2: ld returned 1 exit status make: *** [uqm-debug] Error 1
|
|
|
Logged
|
|
|
|
Novus
Enlightened
    
Offline
Gender: 
Posts: 1938

Fot or not?
|
First, Ubuntu already has binary packages for UQM 0.6.2, so you don't need to compile from source.
Second, it's probably easier to use the built-in MikMod in UQM than the system library, so use ./build.sh uqm config to change tracker music support from "System libmikmod" to "Included libmikmod".
|
|
|
Logged
|
|
|
|
ijustwannaplaythegame
Zebranky food

Offline
Posts: 6
|
Thanks. Managed to change the settings and it says installed... but for some reason, I run the command uqm to launch it, and i get a message that it is not installed... 
uqm-0.6.2/sc2$ sudo ./build.sh uqm install Installing system-dependent data... Installing system-independent data... Installing binaries...
uqm The program 'uqm' is currently not installed. You can install it by typing: sudo apt-get install uqm
Yes, I know about the pre-packaged deb files for ubuntu. BUT, i just want to compile it from source because .. well, to be honest, I want to cheat! (LOL) I ¨tweeked¨ the human.c file to make the earthling ship a bit stronger. If I could modify the ship using the deb file I would and wouldn waste time (both mine and yours) posting here
|
|
|
Logged
|
|
|
|
ijustwannaplaythegame
Zebranky food

Offline
Posts: 6
|
I suppose I could just download the debs and perhaps unpack it and modify and repackage... 
Anyway, thanks a lot for your help, it is greatly appreciated.
|
|
|
Logged
|
|
|
|
|
ijustwannaplaythegame
Zebranky food

Offline
Posts: 6
|
one problem after the other..
Ok, its installed found it just as you stated by /usr/local/games/bin/uqm
but... now THIS
$ /usr/local/games/bin/uqm The Ur-Quan Masters v0.6.2 (compiled Nov 28 2010 04:32:43) This software comes with ABSOLUTELY NO WARRANTY; for details see the included 'COPYING' file.
Netplay protocol version 0.3. Requiring remote UQM version 0.5.4. Initializing base SDL functionality. Using SDL version 1.2.14 (compiled with 1.2.14) Could not initialize SDL: No available video device.
I know SDL is installed, was the first thing I installed when I went to download uqm (instructions on the site made it clear, sdl was needed). SDL downloaded from here http://www.libsdl.org/download-1.2.php
|
|
|
Logged
|
|
|
|
ijustwannaplaythegame
Zebranky food

Offline
Posts: 6
|
ok... this is not a game related problem this time... (apparently a gnome-dev problem missing files...) trying the solution at the end of this forum thread http://ubuntuforums.org/showthread.php?t=530538 will update after its done and let you know if FINALLY can get the game to run. (crossing fingers, arms, legs and everything i can think of)
|
|
|
Logged
|
|
|
|
Novus
Enlightened
    
Offline
Gender: 
Posts: 1938

Fot or not?
|
You don't need to compile SDL; just use the development packages. That way, you don't end up with multiple versions of SDL causing all sorts of trouble.
|
|
|
Logged
|
|
|
|
Pages: [1]
|
|
|
|
|