The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
March 27, 2025, 06:41:38 pm
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  Technical Issues (Moderator: Death 999)
| | |-+  fatal error: mikmod.h: No such file or directory
« previous next »
Pages: [1] Print
Author Topic: fatal error: mikmod.h: No such file or directory  (Read 2804 times)
ijustwannaplaythegame
Zebranky food
*
Offline Offline

Posts: 6



View Profile
fatal error: mikmod.h: No such file or directory
« on: November 28, 2010, 09:09:27 am »

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 Offline

Posts: 6



View Profile
Re: fatal error: mikmod.h: No such file or directory
« Reply #1 on: November 28, 2010, 09:16:24 am »

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 Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: fatal error: mikmod.h: No such file or directory
« Reply #2 on: November 28, 2010, 09:59:38 am »

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

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
ijustwannaplaythegame
Zebranky food
*
Offline Offline

Posts: 6



View Profile
Re: fatal error: mikmod.h: No such file or directory
« Reply #3 on: November 28, 2010, 09:08:54 pm »

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...  Huh

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  Sad
Logged
ijustwannaplaythegame
Zebranky food
*
Offline Offline

Posts: 6



View Profile
Re: fatal error: mikmod.h: No such file or directory
« Reply #4 on: November 28, 2010, 09:16:03 pm »

I suppose I could just download the debs and perhaps unpack it and modify and repackage...  Undecided

Anyway, thanks a lot for your help, it is greatly appreciated.
Logged
oldlaptop
*Smell* controller
****
Offline Offline

Posts: 337



View Profile
Re: fatal error: mikmod.h: No such file or directory
« Reply #5 on: November 28, 2010, 10:17:01 pm »

Try typing the absolute path to the file, should be something like this:

Code:
/usr/local/games/bin/uqm
Logged

Play Supermelee online in #uqm-arena!
Netmelee Improvement Mod
ijustwannaplaythegame
Zebranky food
*
Offline Offline

Posts: 6



View Profile
Re: fatal error: mikmod.h: No such file or directory
« Reply #6 on: November 28, 2010, 10:56:43 pm »

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 Offline

Posts: 6



View Profile
Re: fatal error: mikmod.h: No such file or directory
« Reply #7 on: November 28, 2010, 11:15:16 pm »

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 Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: fatal error: mikmod.h: No such file or directory
« Reply #8 on: November 29, 2010, 08:53:56 am »

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

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!