The Ur-Quan Masters Discussion Forum

The Ur-Quan Masters Re-Release => Technical Issues => Topic started by: jaychant on February 04, 2009, 02:08:19 am



Title: Compiling UQM for my little mod
Post by: jaychant on February 04, 2009, 02:08:19 am
http://koti.mbnet.fi/lonnberg/MinGWUQM.txt (http://koti.mbnet.fi/lonnberg/MinGWUQM.txt)

I finally tried to do this again. I made it to the very last command, but I got this error:
Code:
c:\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lvorbisfile

Can somebody help, please?

Using Windows.


Title: Re: Compiling UQM for my little mod
Post by: meep-eep on February 04, 2009, 03:28:12 am
Try doing the following before running "./build.sh uqm config":
export LDFLAGS="-L/usr/local/lib"


Title: Re: Compiling UQM for my little mod
Post by: jaychant on February 04, 2009, 12:16:34 pm
Is that all on one line, or two lines?


Title: Re: Compiling UQM for my little mod
Post by: meep-eep on February 04, 2009, 12:35:39 pm
One line.


Title: Re: Compiling UQM for my little mod
Post by: jaychant on February 04, 2009, 09:11:50 pm
One line.

Doh!

Of course!

Once again I fail to read the post correctly.

EDIT: I think I have the game compiled now. But when I click uqm.exe, I get this error:
Quote
The Ur-Quan Masters encountered a fatal error.
Part of the log follows:

The Ur-Quan Masters v0.6.2 (compiled Feb 4 2009 15:31:21)
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.

Error: Extra arguments found on the command line.
Run with -h to see the allowed arguments.

What does that mean?


Title: Re: Compiling UQM for my little mod
Post by: meep-eep on February 05, 2009, 12:51:45 pm
See here (http://forum.uqm.stack.nl/index.php?topic=4407.0).


Title: Re: Compiling UQM for my little mod
Post by: jaychant on February 05, 2009, 12:57:50 pm
I don't quite understand how he solved the problem. (Actually, I don't understand at all.)


Title: Re: Compiling UQM for my little mod
Post by: meep-eep on February 05, 2009, 01:06:57 pm
It sounds like you're clicking on a shortcut which has extra parameters added. Right-click on the shortcut, properties, and look at the command line.


Title: Re: Compiling UQM for my little mod
Post by: jaychant on February 05, 2009, 09:10:28 pm
No, I'm not clicking on a shortcut. I'm clicking the actual EXE file.

EDIT: for some reason, adding a fullscreen argument fixed it. Wierd. So now it works. (And I am shocked at how overpowered I made the Mycon Podship)