The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
December 06, 2024, 04:54:11 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)
| | |-+  Compiling
« previous next »
Pages: 1 [2] 3 4 Print
Author Topic: Compiling  (Read 11371 times)
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Compiling
« Reply #15 on: August 18, 2012, 03:19:25 pm »

Looks like you have the include files set up for Ogg Vorbis, but something's wrong with the libraries. How did you install libogg and libvorbis?
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
chenjesuwizard
*Many bubbles*
***
Offline Offline

Posts: 158


I support Project6014


View Profile
Re: Compiling
« Reply #16 on: August 18, 2012, 04:11:01 pm »

I followed the install.mingw instructions. First, I copied all the dlls across, then the two include files (ogg and vorbis).
Logged

Friendship is like peeing on yourself: everyone can see it, but only you get the warm feeling that it brings.
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Compiling
« Reply #17 on: August 18, 2012, 04:25:45 pm »

There may be a slight mistake in the INSTALL.mingw file. I think you also need the files from the lib directory in the Ogg Vorbis SDK in your MinGW lib directory.
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
chenjesuwizard
*Many bubbles*
***
Offline Offline

Posts: 158


I support Project6014


View Profile
Re: Compiling
« Reply #18 on: August 18, 2012, 07:04:28 pm »

Copied all. No Ogg or Vorbis Support. Here's what it says:
Logged

Friendship is like peeing on yourself: everyone can see it, but only you get the warm feeling that it brings.
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Compiling
« Reply #19 on: August 18, 2012, 10:36:24 pm »

Try putting pkg-config.exe in the MinGW bin directory.
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
chenjesuwizard
*Many bubbles*
***
Offline Offline

Posts: 158


I support Project6014


View Profile
Re: Compiling
« Reply #20 on: August 18, 2012, 10:40:55 pm »

Quote
pkg-config.exe - System Error

The program can't start because libglib-2.0-0.dll is missing from your computer. Try reinstalling the program to fix this problem.
Logged

Friendship is like peeing on yourself: everyone can see it, but only you get the warm feeling that it brings.
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Compiling
« Reply #21 on: August 19, 2012, 12:06:19 am »

This glib should do the trick.
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
chenjesuwizard
*Many bubbles*
***
Offline Offline

Posts: 158


I support Project6014


View Profile
Re: Compiling
« Reply #22 on: August 19, 2012, 03:59:26 am »

So, it compiled but when clicking on the .exe, I get this:

"The Program can't start because vorbisfile.dll is missing on your computer..."


It says I have to copy across the dll files. Which ones are they and where do they go?
Logged

Friendship is like peeing on yourself: everyone can see it, but only you get the warm feeling that it brings.
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Compiling
« Reply #23 on: August 19, 2012, 09:02:42 am »

The least problematic solution (least likely to create problems with other software) is probably to keep all the DLLs in the same directory as the .exe. You need all the DLL files you linked into UQM: SDL, SDL_image, as well as Ogg Vorbis and/or zlib depending on which you used. If they were not included in the developer downloads you used, use the DLLs from the corresponding runtime downloads.
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
chenjesuwizard
*Many bubbles*
***
Offline Offline

Posts: 158


I support Project6014


View Profile
Re: Compiling
« Reply #24 on: August 19, 2012, 11:03:25 am »

Final problem (at least, I hope so):
Logged

Friendship is like peeing on yourself: everyone can see it, but only you get the warm feeling that it brings.
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Compiling
« Reply #25 on: August 19, 2012, 12:20:15 pm »

Use the --contentdir option (or -n) to specify where the content is. For example, if you are running from the source tree:

Code:
./uqm-debug -n content
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
chenjesuwizard
*Many bubbles*
***
Offline Offline

Posts: 158


I support Project6014


View Profile
Re: Compiling
« Reply #26 on: August 19, 2012, 05:42:58 pm »

So,  I ran that, and a new (but similar) error occured:

I'm assuming this means I have to compress the content files to create the .uqm file. Should I compress the entire source code (All the files except content), or just some of them. If so, which ones?
Logged

Friendship is like peeing on yourself: everyone can see it, but only you get the warm feeling that it brings.
Gekko
*Many bubbles*
***
Offline Offline

Gender: Male
Posts: 199


Arena regular


View Profile
Re: Compiling
« Reply #27 on: August 19, 2012, 09:25:25 pm »

Just dropping this here in case you haven't figured this yet: The content packages must be in the dir uqmdir/content/packages/, not uqmdir/content.
Logged

Visit #uqm-arena and play a game of Net Melee!
Try the Net Melee Improvement mod
chenjesuwizard
*Many bubbles*
***
Offline Offline

Posts: 158


I support Project6014


View Profile
Re: Compiling
« Reply #28 on: August 19, 2012, 09:50:03 pm »

Yeh, I figured that out. Just got to work out what should be compressed and what shouldn't.
Logged

Friendship is like peeing on yourself: everyone can see it, but only you get the warm feeling that it brings.
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Compiling
« Reply #29 on: August 20, 2012, 08:56:18 am »

You don't need to compress any of the content; in fact, you can't use compressed content unless you enabled that option when compiling.
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
Pages: 1 [2] 3 4 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!