Title: Compiling on Ubuntu Post by: fish on January 09, 2015, 02:30:47 PM I'm trying to build OpenArena from scratch on an Ubuntu machine.
I downloaded oa-0.8.8 and openarena-engine-source-0.8.8 So far I've only managed to get openarena-engine-source-0.8.8 to compile successfully. I copy and pasted the last few lines of the unsuccessful compile output for oa-0.8.8 below. I haven't made any changes to any of the files, so I'm pretty sure I'm just doing something stupid. Thanks so much! Code: UI_CC_MISSIONPACK code/ui/ui_gameinfo.c Title: Re: Compiling on Ubuntu Post by: fromhell on January 09, 2015, 05:22:41 PM cgame is part of the gamecode which is a separate module from the engine. Same goes for game and (q3_)ui. These are separately maintained, and also compiling them won't be effective unless you make a new pk3 (because checksum/purity protections) or have a mod directory. Also since the included media PK3s have a compiled qvm of the cgame/game/ui code, compiling them again shouldn't be necessary (unless you want to fix something in them)
https://github.com/OpenArena/gamecode Title: Re: Compiling on Ubuntu Post by: sago007 on January 10, 2015, 01:27:05 AM The old package cannot compile on GCC-4.8+ without this change: https://github.com/OpenArena/gamecode/commit/1006052f780ca42db9ae17ea9226e2455952fbe5
Title: Re: Compiling on Ubuntu Post by: fish on January 10, 2015, 02:38:25 PM Awesome. sago's tip got it to compile.
I'm still confused how I get these parts to run once they're built. I'm guessing that is what fromhell's post was addressing, but I'm still a little confused. Can you direct me to the file I should run from terminal to launch everything? Or is there a step I'm just missing. (Sorry for being so bad at this!) Title: Re: Compiling on Ubuntu Post by: grey matter on January 10, 2015, 05:34:55 PM To install the compiled gamecode QVM as an OpenArena mod for your current user;
Code: $ mkdir -p ~/.openarena/mymod/ To install the compiled engine, this should suffice; Code: $ sudo make copyfiles |