The Ur-Quan Masters Discussion Forum

The Ur-Quan Masters Re-Release => Technical Issues => Topic started by: Gaeamil on May 20, 2007, 06:57:46 am



Title: Trying to compile
Post by: Gaeamil 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.


Title: Re: Trying to compile
Post by: meep-eep 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)


Title: Re: Trying to compile
Post by: Gaeamil 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.


Title: Re: Trying to compile
Post by: meep-eep on May 20, 2007, 05:36:37 pm
Follow the instructions (every step) and you shouldn't have errors.


Title: Re: Trying to compile
Post by: Novus 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.


Title: Re: Trying to compile
Post by: Gaeamil 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.


Title: Re: Trying to compile
Post by: Gaeamil 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?


Title: Re: Trying to compile
Post by: Novus 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.


Title: Re: Trying to compile
Post by: Gaeamil on July 07, 2007, 07:06:00 pm
Huh.  That had randomly disappeared.  Looks like I just needed to fix that, thanks!