The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
December 12, 2024, 11:52:57 am
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)
| | |-+  Trying to compile
« previous next »
Pages: [1] Print
Author Topic: Trying to compile  (Read 2798 times)
Gaeamil
Frungy champion
**
Offline Offline

Gender: Male
Posts: 58


Dragon of the Zeep-Zeep clan


View Profile WWW
Trying to compile
« on: May 20, 2007, 06:57:46 am »

Sorry, I'm bad with C/C++.  How do I arrange all these files?  I'm trying to use the Crazy Mod final version, and to possibly make my own, but I need to know how to get all the files to compile right.  Using Visual C++ 2005 Express.
Logged

Quote from: Valaggar
I tend to swallow some worlds at times.
meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: Trying to compile
« Reply #1 on: May 20, 2007, 02:10:51 pm »

There's a file 'INSTALL.msvc' which tells you step-by-step what to do for a normal compile. The only thing you need to do differently for the Crazy Mod is step 4.1. After installing the UQM source as normal, remove the dir "C:\Build\sc2\src" and extract EP's source in C:\Build\sc2\. (This should give you a new src dir)
Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
Gaeamil
Frungy champion
**
Offline Offline

Gender: Male
Posts: 58


Dragon of the Zeep-Zeep clan


View Profile WWW
Re: Trying to compile
« Reply #2 on: May 20, 2007, 04:52:56 pm »

wait a sec... Looks like I found a C++ Project file.  I should really search everywhere before asking for help.

But it came up with 86 errors and 336 warnings.  Crap.
Logged

Quote from: Valaggar
I tend to swallow some worlds at times.
meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: Trying to compile
« Reply #3 on: May 20, 2007, 05:36:37 pm »

Follow the instructions (every step) and you shouldn't have errors.
Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Trying to compile
« Reply #4 on: May 20, 2007, 09:33:18 pm »

But it came up with 86 errors and 336 warnings.  Crap.
Giving us some hint what the errors are would help us help you. Most likely, you have some library installed wrong.
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
Gaeamil
Frungy champion
**
Offline Offline

Gender: Male
Posts: 58


Dragon of the Zeep-Zeep clan


View Profile WWW
Re: Trying to compile
« Reply #5 on: May 21, 2007, 07:18:55 am »

The fatal errors seem to be that it's missing a few libraries. And I have no install.msvc file.
Logged

Quote from: Valaggar
I tend to swallow some worlds at times.
Gaeamil
Frungy champion
**
Offline Offline

Gender: Male
Posts: 58


Dragon of the Zeep-Zeep clan


View Profile WWW
Re: Trying to compile
« Reply #6 on: July 07, 2007, 09:57:00 am »

OK, now that I've found that stupid install.msvc file and followed it, I still can't get rid of all errors.  Here's what I still get:

c:\build\sc2\src\sc2code\libs\sound\openal\audiodrv_openal.h(32) : fatal error C1083: Cannot open include file: 'AL/al.h': No such file or directory

BSCMAKE: error BK1506 : cannot open file '.\debug_noaccel\audiodrv_openal.sbr': No such file or directory

Any clue where to find these files so I can get the whole thing?  I understand the workings enough to make these work, but they need to exist first.  Is there a backup, or can someone post them somewhere or something?
« Last Edit: July 07, 2007, 10:11:26 am by Gaeamil » Logged

Quote from: Valaggar
I tend to swallow some worlds at times.
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Trying to compile
« Reply #7 on: July 07, 2007, 11:50:54 am »

c:\build\sc2\src\sc2code\libs\sound\openal\audiodrv_openal.h(32) : fatal error C1083: Cannot open include file: 'AL/al.h': No such file or directory

BSCMAKE: error BK1506 : cannot open file '.\debug_noaccel\audiodrv_openal.sbr': No such file or directory
Those are the OpenAL header files; they should be included in the OpenAL SDK.
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
Gaeamil
Frungy champion
**
Offline Offline

Gender: Male
Posts: 58


Dragon of the Zeep-Zeep clan


View Profile WWW
Re: Trying to compile
« Reply #8 on: July 07, 2007, 07:06:00 pm »

Huh.  That had randomly disappeared.  Looks like I just needed to fix that, thanks!
Logged

Quote from: Valaggar
I tend to swallow some worlds at times.
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!