Permanent error in compiling Nexuiz SVN

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

Permanent error in compiling Nexuiz SVN

Postby toneddu2000 » Fri Sep 18, 2009 10:44 pm

There is a permanent error in the svn trunk, every time I try to check out and compile it (I use FruitieX script for ubuntu, I don't know if it could be a problem), it returns me that error:


Code: Select all
compiling sbar.qc
in function Sbar_Score (line 1287),
sbar.qc:1291: warning: RETURN VALUE ALREADY IN USE
sbar.qc:1301: warning: RETURN VALUE ALREADY IN USE
in function Sbar_ShowAcceleration (line 1951),
sbar.qc:1988: error: type mismatch for -
in function CSQC_ctf_hud (line 27),
sbar.qc:2655: error: Unknown value "redflag_prevframe".
sbar.qc:2655: error: type mismatch for != (float and __variant)

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

Error in sbar.qc on line 2851
make[1]: *** [csprogs.dat] Error 1
make[1]: Leaving directory `/home/toneddu/games/Nexuiz/trunk/data'
make: *** [qc] Error 2
Failed to build Nexuiz

What could it be?

EDIT: no one can answer me? I think this is a big deal, because I've always updated Nexuiz without efforts. Could it be a problem in the SVN trunk? Someone, please says something!!
toneddu2000
Alien trapper
 
Posts: 251
Joined: Mon Mar 09, 2009 7:56 pm
Location: Italy

Postby Ed » Sat Sep 19, 2009 9:54 am

What version of fteqcc are you using? If you download the 'latest' build of it, Nexuiz will not build. Instead you need to pull the latest fteqcc code from SVN and build it. There is a thread somewhere on this issue.
Ed
Forum addon
 
Posts: 1172
Joined: Wed Mar 01, 2006 12:32 am
Location: UK

Postby toneddu2000 » Sat Sep 19, 2009 11:28 am

thx Ed!But I'm still confused!
If you download the 'latest' build of it, Nexuiz will not build. Instead you need to pull the latest fteqcc code from SVN and build it.

I didn't understand. Which has to be the 'latest' one?Fteqcc or Nexuiz?I commit svn check out of Nexuiz SVN at this address

http://svn.icculus.org/nexuiz/
Could you please post the link of the thread?
toneddu2000
Alien trapper
 
Posts: 251
Joined: Mon Mar 09, 2009 7:56 pm
Location: Italy

Postby Ronan » Sat Sep 19, 2009 11:50 am

Your fteqcc is clearly outdated, you can get the one used in the official build there :
http://rm.endoftheinternet.org/~nexuiz/builds/

nexuizsource****.zip is the smaller archive (3.2 MB), it includes the file Nexuiz/sources/fteqcc-binaries-and-source-rev***.zip with binaries for all platform (windows, mac, and linux).

The official svn repo is :
Code: Select all
svn checkout https://fteqw.svn.sourceforge.net/svnroot/fteqw/trunk/engine/qclib fteqcc
Ronan
Alien trapper
 
Posts: 292
Joined: Tue Mar 20, 2007 10:25 pm
Location: France

Postby toneddu2000 » Sat Sep 19, 2009 4:32 pm

a huge thanks Ronan! It was fteqcc that was outdated! The only thing I don't understand is why devs used inside the SVN trunk an outdated version of fteqcc, instead of use the updated version!
thx again!
toneddu2000
Alien trapper
 
Posts: 251
Joined: Mon Mar 09, 2009 7:56 pm
Location: Italy

Postby Mr. Bougo » Sat Sep 19, 2009 8:56 pm

It's not outdated???

Fteqcc had some bugs that need to be fixed to work on nexuiz.

The best source to use for nexuiz is the nexuiz branch of http://github.com/Blub/qclib (if you know how to use git).
If you don't, just use the binary Ronan linked to :)
Meh.
Mr. Bougo
Keyboard killer
 
Posts: 760
Joined: Mon Sep 10, 2007 3:29 pm

Postby toneddu2000 » Sun Sep 20, 2009 8:25 am

Thanks Mr. Bougo!
The best source to use for nexuiz is the nexuiz branch of http://github.com/Blub/qclib (if you know how to use git).

Well, I'll learn to use it! :D
toneddu2000
Alien trapper
 
Posts: 251
Joined: Mon Mar 09, 2009 7:56 pm
Location: Italy

Postby Samual » Mon Sep 21, 2009 6:05 am

Mr. Bougo wrote:It's not outdated???

Fteqcc had some bugs that need to be fixed to work on nexuiz.

The best source to use for nexuiz is the nexuiz branch of http://github.com/Blub/qclib (if you know how to use git).
If you don't, just use the binary Ronan linked to :)

Well actually, the latest FTEQCC from spikes checkout is perfectly stable now thanks to Blub.. The link is here: svn://fteqw.svn.sourceforge.net/svnroot ... nk/engine/ --- And uses SVN, which is much easier to set up.
But anyway, do whichever you want. I personally prefer the SVN one because i'm on Windows and don't have easy access to use Git.
Do it yourself, or stop complaining.
(Developer Tracker) | (Nexuiz Roadmap)
Samual
Keyboard killer
 
Posts: 508
Joined: Mon May 25, 2009 7:22 pm
Location: Pittsburgh, PA

Postby Mr. Bougo » Mon Sep 21, 2009 6:19 am

Samual wrote:Well actually, the latest FTEQCC from spikes checkout is perfectly stable now thanks to Blub.. The link is here: svn://fteqw.svn.sourceforge.net/svnroot ... nk/engine/ --- And uses SVN, which is much easier to set up.
But anyway, do whichever you want. I personally prefer the SVN one because i'm on Windows and don't have easy access to use Git.


Sure, but for future developments the Git repo is certain to compile Nexuiz without errors.
Meh.
Mr. Bougo
Keyboard killer
 
Posts: 760
Joined: Mon Sep 10, 2007 3:29 pm

Postby toneddu2000 » Mon Sep 21, 2009 8:25 am

Thanks Samual for that SVN link!I think I'll use it unless I learn GIT! :D
toneddu2000
Alien trapper
 
Posts: 251
Joined: Mon Mar 09, 2009 7:56 pm
Location: Italy

Next

Return to Nexuiz - Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron