Problems with compiling nexuiz (from svn) using fteqcc

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators


  • When I try to compile nexuiz from svn using fteqcc it gives errors. Fteqcc doesn't understand "?:" conditional operator. It is possible to convert all the ?: ops to "if - else"-es but that's not a good way (there are too much of them to convert manually).
    What fteqcc should I use, or what options specify?
    AU
    Advanced member
     
    Posts: 60
    Joined: Wed Jan 02, 2008 7:37 pm

Sat Jan 19, 2008 11:44 am

  • Just use a current fteqcc, and it will work. Check out fteqcc source from svn for that, or use the fteqcc included in http://emptyset.endoftheinternet.org/~p ... ntrunk.zip
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Sat Jan 19, 2008 11:50 am

  • Searched a lot for fteqcc svn repo but couldn't find it :) Can you tell me where it is exactly....
    AU
    Advanced member
     
    Posts: 60
    Joined: Wed Jan 02, 2008 7:37 pm

Sat Jan 19, 2008 12:12 pm

  • As I see fteqcc belongs to the FTEQW project :) , but it seems my version is the last one - 2770. What version do developers use?
    AU
    Advanced member
     
    Posts: 60
    Joined: Wed Jan 02, 2008 7:37 pm

Sat Jan 19, 2008 12:37 pm

  • 2770 is not current. current is 2861...
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Sat Jan 19, 2008 1:48 pm

  • Yea, right :) Checked it. And where is the fteqcc in fteqw trunk/ (or somewhere else).... and how to compile it if it's not a simple matter of ./configure make. Btw, thx for attention :)

    PS. The svn repo is on sourceforge - is it correct place?
    AU
    Advanced member
     
    Posts: 60
    Joined: Wed Jan 02, 2008 7:37 pm

Sat Jan 19, 2008 1:54 pm

Sun Jan 20, 2008 7:34 am

  • Thx very much, found it at last :D
    AU
    Advanced member
     
    Posts: 60
    Joined: Wed Jan 02, 2008 7:37 pm

Mon Jan 21, 2008 8:24 am

  • ...... but the problem remains. data/qcsrc/server compiled correctly - without even warnings, but .../menu compilation gives the following:
    Code: Select all
    ....
    ....
    compiling ../common/util.qc
    in function db_load (line 41),
    ../common/util.qc:265: warning: while (string) can result in bizzare behaviour
    ../common/util.qc:276: warning: while (string) can result in bizzare behaviour
    in function db_get (line 43),
    ../common/util.qc:296: error: Unknown value "infoget".
    ../common/util.qc:297: warning: 'db_get' returned __variant, expected string
    in function db_put (line 44),
    ../common/util.qc:303: error: Unknown value "infoadd".
    ../common/util.qc:303: error: type mismatch on parm 3 - (__variant should be string)
    mbuiltin.qc:263:    bufstr_set  is defined here

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

    Error in ../common/util.qc on line 354

    And that was the end of compilation output. The ../common/util.qc has 352 lines....

    Can it be that svn data was downloaded corrupted, or there is another problem?
    AU
    Advanced member
     
    Posts: 60
    Joined: Wed Jan 02, 2008 7:37 pm

Mon Jan 21, 2008 9:23 am

  • It is my fault, I broke the scmenu (which I will delete soon anyway). Compile menu-div0test instead.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Mon Jan 21, 2008 9:37 am

  • AFU wrote:Can it be that svn data was downloaded corrupted, or there is another problem?

    seems like divVerent added database support to the menu, but forgot to add some new builtin-definitions...
    It's fixed now, however that menu is kind of deprecated anyway, so you might want to use the new one in /qcsrc/menu-div0test/.
    User avatar
    KadaverJack
    Site admin and forum addon
     
    Posts: 1102
    Joined: Tue Feb 28, 2006 9:42 pm

Mon Jan 21, 2008 9:38 am

  • Is the menu-div0test a standard menu or it will eventually become simply menu again?
    AU
    Advanced member
     
    Posts: 60
    Joined: Wed Jan 02, 2008 7:37 pm

Mon Jan 21, 2008 3:16 pm

  • It will get renamed to menu, and the old menu moved to the attic.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Mon Jan 21, 2008 3:49 pm

  • Thx. New menu style looks really good. There were only minor problems with sound for me (after applying in the misc pane (don't remember exactly what I changed though:), sound plays with short interrupts), and the text color in the multiplayer screen is similar to the background color, which is a bit annoying:) .....
    So great thanks for attention, and the game itself :D.
    AU
    Advanced member
     
    Posts: 60
    Joined: Wed Jan 02, 2008 7:37 pm



Return to Nexuiz - Support / Bugs




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest