Pages: 1 [2]
|
|
|
Author
|
Topic: Compiling UQM with MinGW (Read 12581 times)
|
Gekko
*Many bubbles*
Offline
Gender:
Posts: 199
Arena regular
|
The latest version of the SVN seems to work without any fixes for me. As someone requested I made this. Simply the same tutorial, but with console output. These steps compile the latest SVN trunk on WIndows 7, 64-bits.
|
|
|
Logged
|
|
|
|
thevagrantphilosopher
Zebranky food
Offline
Posts: 2
|
first and foremost, thanks for putting these instructions together! I used these instructions and was able to get UQM to build on a windows 7 box. I'm posting to warn others that there is a newer version of this file:
http://libsdl.org/release/SDL-devel-1.2.13-mingw32.tar.gz
that I had trouble with. Once I used the 1.2.13 version everything worked.
|
|
|
Logged
|
|
|
|
Jormasteri
Zebranky food
Offline
Posts: 10
|
Sorry for bumping this thread but no matter what I try I cannot get UQM compiled. I tried following these instructions to the letter but always get :
*** [uqm-debug.exe] Error 1
(trying to compile the newest UQM 0.7.0 with latest versions of all files mentioned in the guide.)
ALSO, when I compile uqm config, I get these : build/unix/config_proginfo_host: line 251: libmikmod-config: command not found build/unix/config_proginfo_host: line 252: libmikmod-config: command not found build/unix/config_proginfo_host: line 253: libmikmod-config: command not found
P.S. before error I get with compiling uqm.exe, there are "undefined references" to oggaud.* files I guess these mean my vorbis install is fubar?
|
|
« Last Edit: December 07, 2011, 06:14:48 pm by Jormasteri »
|
Logged
|
|
|
|
|
Jormasteri
Zebranky food
Offline
Posts: 10
|
*sigh*
The latest error I get is : obj/release/src/libs/uio/match.c.o:match.c:(.text+0x764): undefined reference to 'regfree'
etc, etc.
|
|
|
Logged
|
|
|
|
Jormasteri
Zebranky food
Offline
Posts: 10
|
Now that I somehow miraculoysly got it compiled, I get : --------------------------- The Ur-Quan Masters --------------------------- The Ur-Quan Masters encountered a fatal error. Part of the log follows:
The Ur-Quan Masters v0.7.0 (compiled Dec 7 2011 21:00:32) This software comes with ABSOLUTELY NO WARRANTY; for details see the included 'COPYING' file.
Netplay protocol version 0.4. Netplay opponent must have UQM 0.6.9 or later.
*** FATAL ERROR: Could not load basic content ***
UQM requires at least the base content pack to run properly. This file is typically called uqm-0.7.0-content.uqm. UQM was expecting it in the E:/Pelit/UQM/content/packages directory. Either your installation did not install the content pack at all, or it installed it in a different directory.
Fix your installation and rerun UQM.
*******************
--------------------------- OK ---------------------------
And yes, I did copy the compiled uqm-debug.exe to game directory...
EDIT: Still fighting to get it working, this time on my laptop. No matter what I do I have problems with audio files it seems. I get errors with ogg / vorbis, namely last problem is: ld.exe: cannot find -lvorbisfile ld.exe: cannot find -lvorbis ld.exe: cannot find -logg
What is the correct install method for logg and vorbis since I cannot seem to get them right no matter what?
|
|
« Last Edit: December 08, 2011, 08:15:06 am by Jormasteri »
|
Logged
|
|
|
|
Jormasteri
Zebranky food
Offline
Posts: 10
|
I wasn't made for this stuff. I don't even know what changed that compiling succeeded. But now it always gives error about basic content missing even though it is there,
Here's what stderr.txt says:
Initializing base SDL functionality. Using SDL version 1.2.14 (compiled with 1.2.14) Using config dir 'C:/Users/satpe/AppData/Roaming/uqm/' Using 'C:/uqm/content' as base content dir. Warning: Could not mount 'uqm-0.7.0-content.uqm': No such device. Warning: Could not mount 'uqm-0.7.0-3domusic.uqm': No such device. Warning: Could not mount 'uqm-0.7.0-content.uqm': No such device. Warning: Could not mount 'uqm-0.7.0-voice.uqm': No such device. Warning: Could not mount 'uqm-remix-disc1.uqm': No such device. Warning: Could not mount 'uqm-remix-disc2.uqm': No such device. Warning: Could not mount 'uqm-remix-disc3.uqm': No such device. 0 available addon packs. Saved games are kept in C:/Users/satpe/AppData/Roaming/uqm/save/.
|
|
|
Logged
|
|
|
|
Death 999
Global Moderator
Enlightened
Offline
Gender:
Posts: 3873
We did. You did. Yes we can. No.
|
Well, clearly it's got the wrong base directory - C:\uqm\ probably doesn't even exist. Try using the command line option to set the base directory appropriately. That'd be --contentdir=.\
... I think. Maybe it'd be /contentdir=.\ or something lik that if you're working from a windows command prompt.
Anyway, try running it with the --help option, to get some help on running it from the command line.
|
|
|
Logged
|
|
|
|
Jormasteri
Zebranky food
Offline
Posts: 10
|
Well that's what's funny. C:\uqm is folder where I had source files & where I compiled. Of course I had the base content file in proper folder under \uqm set up too. I also tried having separate install with installer, copying uqm-debug.exe there but still it gives same error.
But gotta try those command line switches next.
EDIT: It would appear zlib was not installed correctly, as unzipping content files solved this.
|
|
« Last Edit: December 09, 2011, 06:00:01 am by Jormasteri »
|
Logged
|
|
|
|
Pages: 1 [2]
|
|
|
|
|