error compiling QC

Post anything to do with editing Nexuiz here. Whether its problems you've had, questions, or if you just want to show off your work.

Moderators: Nexuiz Moderators, Moderators

error compiling QC

Postby Gego » Sun Jul 19, 2009 10:49 am

I am having problems compiling the latest svn [rev:7237]...

any ideas what could be wrong?
I have tried both x86_46 and x86 fteqcc but to no awhile..

on menu:
Code: Select all
[....]
compiling menu.qc
in function m_setpointerfocus (line 688),
menu.qc:691: warning: Missing semicolon at end of definition
menu.qc:691: error: "." - not a name

************ ERROR ************
Errors have occured

Error in menu.qc on line 739



on client:
Code: Select all
[....]
compiling projectile.qc
in function Ent_Projectile (line 190),
projectile.qc:219: warning: Expected punctuation
projectile.qc:219: warning: Expected punctuation
projectile.qc:219: error: type mismatch for & (float and __integer)

************ ERROR ************
Errors have occured

Error in projectile.qc on line 395



on server:
Code: Select all
[....]
compiling miscfunctions.qc
in function SoundEntity_StopSound (line 2297),
miscfunctions.qc:2303: warning: Expected punctuation
miscfunctions.qc:2303: warning: Expected punctuation
miscfunctions.qc:2303: error: type mismatch for & (float and __integer)
in function GetCommandPlayerSlotTargetFromTokenizedCommand (line 2326),
miscfunctions.qc:2333: error: Unknown value "ParseCommandPlayerSlotTarget_firsttoken".
miscfunctions.qc:2333: error: type mismatch for = (__variant and float)

************ ERROR ************
Errors have occured

Error in miscfunctions.qc on line 2395
[Image
Image
Gego
Alien
 
Posts: 159
Joined: Wed Mar 01, 2006 4:39 pm

Postby Mr. Bougo » Sun Jul 19, 2009 11:40 am

Which version of fteqcc are you using?

You should use the SVN one: https://fteqw.svn.sourceforge.net/svnro ... gine/qclib

Or, even better, Blub's working copy on git: http://git.rear.endoftheinternet.org/qclib.git
Meh.
Mr. Bougo
Keyboard killer
 
Posts: 760
Joined: Mon Sep 10, 2007 3:29 pm

Postby Gego » Sun Jul 19, 2009 1:01 pm

thanx that worked!

[edit]
when making that code (the svn of fteqcc) it produces an .bin file... i just moved it in to my PATH (~/bin) renamed it, and it worked..
[/edit]
[Image
Image
Gego
Alien
 
Posts: 159
Joined: Wed Mar 01, 2006 4:39 pm

Postby C167 » Sun Jul 19, 2009 1:18 pm

Mr. Bougo wrote:Or, even better, Blub's working copy on git: http://git.rear.endoftheinternet.org/qclib.git
What is the difference? is it just kept in a functioning state?
C167
Member
 
Posts: 29
Joined: Wed Oct 31, 2007 5:24 pm

Postby Mr. Bougo » Sun Jul 19, 2009 2:17 pm

Blub is a bit ahead in the development. He's fixing a lot of bugs in fteqcc, and his patches eventually get into the official trunk, but there's a delay.
Meh.
Mr. Bougo
Keyboard killer
 
Posts: 760
Joined: Mon Sep 10, 2007 3:29 pm

Postby C167 » Sun Jul 19, 2009 2:26 pm

thanks, then i'll use his version from now on :-)git rules
C167
Member
 
Posts: 29
Joined: Wed Oct 31, 2007 5:24 pm

Postby Mr. Bougo » Sun Jul 19, 2009 2:29 pm

I think you need to use the "testing" head... I have no idea how git works yet :p

Just see this: http://git.rear.endoftheinternet.org/?p ... ;a=summary
Meh.
Mr. Bougo
Keyboard killer
 
Posts: 760
Joined: Mon Sep 10, 2007 3:29 pm

Postby Blµb » Thu Jul 23, 2009 8:47 pm

things have been renamed
master branch = SVN mirror
bugfixes branch = general fteqcc bugfixes which are not yet in SVN

and it might happen that the nexuiz branch is used in nexuiz - currently testing some features there....

So for now:
Code: Select all
git clone git://git.rear.endoftheinternet.org/qclib.git/
git checkout -b bugfixes origin/bugfixes


Or use SVN

The reason why it takes time for bugfixes to get into SVN is because
1) I don't have commit access to SVN
2) when it comes to fteqcc it is REALLY good if someone who knows the code better reads through it before applying a patch (which is the reason for (1) )
3) things always need testing before they can be committed
Blµb
Alien trapper
 
Posts: 277
Joined: Thu Mar 29, 2007 1:49 pm


Return to Nexuiz - Editing

Who is online

Users browsing this forum: No registered users and 1 guest

cron