(01-03-2014, 10:12 AM)MirceaKitsune Wrote: The compiled engine and its necessary libraries are included in a folder in GIT, and need to be copied to the root directory. If you did that and also compiled the game code with gmqcc, I'm surprised it doesn't run. Glad 0.7.0 from Sourceforge works at least.
I copied misc/buildfiles/engine/voretournament-linux64-glx to the root directory. Is there something else need to be copied?
And how should I compile the game code with gmqcc? Here is my try:
Code:
$ cd data/qcsrc/client/
$ ../../../misc/buildfiles/gmqcc/gmqcc.linux64
Mode: progs.src
There are 58 items to compile:
item: pre.qh (qc)
pre.qh:1:1: error: expected `pragma` keyword after `#`, got `ifdef`
pre.qh:1:1: error: junk after pragma
pre.qh:1:6: error: there have been errors, bailing outAnother try:
Code:
$ ../../../misc/buildfiles/gmqcc/gmqcc.linux64 -std=fteqcc
Mode: progs.src
There are 58 items to compile:
item: pre.qh (qc)
item: ../common/util-pre.qh (qc)
item: Defs.qc (qc)
item: csqc_constants.qc (qc)
item: ../common/constants.qh (qc)
item: csqc_builtins.qc (qc)
item: ../warpzonelib/anglestransform.qh (qc)
item: ../warpzonelib/mathlib.qh (qc)
item: ../warpzonelib/common.qh (qc)
item: ../warpzonelib/client.qh (qc)
item: ../common/util.qh (qc)
item: ../common/items.qh (qc)
../common/items.qh:62:2064: warning: field `netname` already declared here: Defs.qc:133 [-Wfield-redeclared]
../common/items.qh:63:2091: warning: field `message` already declared here: Defs.qc:151 [-Wfield-redeclared]
../common/items.qh:67:2217: warning: field `model` already declared here: Defs.qc:116 [-Wfield-redeclared]
item: ../common/mapinfo.qh (qc)
item: autocvars.qh (qc)
item: interpolate.qh (qc)
item: radar.qh (qc)
item: waypointsprites.qh (qc)
item: movetypes.qh (qc)
item: prandom.qh (qc)
item: bgmscript.qh (qc)
item: teamplay.qh (qc)
item: main.qh (qc)
main.qh:116:140: warning: field `owner` already declared here: Defs.qc:141 [-Wfield-redeclared]
item: sortlist.qc (qc)
item: miscfunctions.qc (qc)
item: teamplay.qc (qc)
teamplay.qc:1:13: warning: global `teamplay` already declared here: teamplay.qh:1 [-Wdouble-declaration]
teamplay.qc:2:24: warning: global `myteam` already declared here: teamplay.qh:2 [-Wdouble-declaration]
item: ctf.qc (qc)
ctf.qc:8:15: warning: global `ctf_temp_1` already declared here: main.qh:23 [-Wdouble-declaration]
item: hud.qc (qc)
hud.qc:1863:131: error: unexpected ident: nil (did you mean ceil?)
hud.qc:1863:131: error: there have been errors, bailing out
