"Nexuiz SVN Builds for Noobs" - MINGW simplified

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

Sun Mar 22, 2009 7:09 pm

  • It's unsafe with many makefiles that use .d files.

    However, in case of FreeBSD ports, it should be safe, as .d files are not needed there. They're only for compiling after updating a source tree with still lying around .o files.

    If you always do make clean before make, -j is also always safe.

    Basically, if you're using -j, you may get weird errors when working in a non-clean source tree. make clean before recompiling again, to see if that makes the problem go away then.
    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

Sun Mar 22, 2009 7:32 pm

  • Interesting. Thanks for the input divVerent.

    Now I think this build system should have a "make clean" instance for ftqecc and DarkPlaces, as users of this pack shouldn't be concerned about compilation times. Probably they will be rebuilding once or twice a day. This way we can get rid of further "make clean" heads ups.
    User avatar
    mand1nga
    Alien trapper
     
    Posts: 321
    Joined: Mon May 12, 2008 12:19 am

Mon Mar 23, 2009 2:01 pm

  • Just why? It's, normally, faster to NOT do make clean than to do weird -j optimizing with make clean, unless it's a one-shot compile.
    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

Wed Apr 01, 2009 1:54 pm

  • When I download the Nexuiz SVN Build System.zip from the first post and run the build.bat, I get
    Code: Select all
    Building Nexuiz...
    [ "1" = "" ] || [ "1" = "1" ]
    [ "1" != "" ] || { ! [ -f ../misc/netradiant-NexuizPack/nexuiz.game/data/entitie
    s.def ] || diff ../misc/netradiant-NexuizPack/nexuiz.game/data/entities.def scri
    pts/entities.def || { echo entities.def mismatch, please merge ../misc/netradian
    t-NexuizPack/nexuiz.game/data/entities.def and scripts/entities.def; exit 1; } }

    /bin/sh.exe: -c: line 1: syntax error near unexpected token `}'
    /bin/sh.exe: -c: line 1: `[ "1" != "" ] || { ! [ -f ../misc/netradiant-NexuizPac
    k/nexuiz.game/data/entities.def ] || diff ../misc/netradiant-NexuizPack/nexuiz.g
    ame/data/entities.def scripts/entities.def || { echo entities.def mismatch, plea
    se merge ../misc/netradiant-NexuizPack/nexuiz.game/data/entities.def and scripts
    /entities.def; exit 1; } }'
    make: *** [update-cvarcount] Error 2
    An error has occurred (see above).


    Any idea, why?

    (Yeah, I am running windows from time to time... :oops:)
    <Community>: Why was the name "Nexuiz" licensed to IllFonic in a way that allows IllFonic to use the name without any suffix or subtitle for a commercial console game?
    <Lee Vermeulen>:
    <Community>: http://www.xonotic.org
    User avatar
    halogene
    Alien trapper
     
    Posts: 465
    Joined: Fri Jun 20, 2008 8:31 am
    Location: http://www.xonotic.org

Wed Apr 01, 2009 1:57 pm

  • It's fixed in trunk, but it does not matter, as the current engine build would be crashing anyway.

    I'll fix the build when the engine works again.
    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

Wed Apr 01, 2009 7:05 pm

  • ok, thx for the info.
    <Community>: Why was the name "Nexuiz" licensed to IllFonic in a way that allows IllFonic to use the name without any suffix or subtitle for a commercial console game?
    <Lee Vermeulen>:
    <Community>: http://www.xonotic.org
    User avatar
    halogene
    Alien trapper
     
    Posts: 465
    Joined: Fri Jun 20, 2008 8:31 am
    Location: http://www.xonotic.org

Tue May 05, 2009 10:07 pm

  • I like this new crosshair "help" when you aim next to the wall (the crosshair tells you if you hit the wall and yourself or not). Even I dont remember the command ...
    User avatar
    Bundy
    Alien
     
    Posts: 230
    Joined: Sat Jun 23, 2007 10:47 am

Thu May 21, 2009 3:39 am

  • What compiler(s) do you developer folks use for working on Nexuiz' C and QC code? And what other tools (a debugger?) do you use, or do you use an IDE?

    (Not sure since the thread title says mingw but then later on folks talk about using GCC by default.)
    Flying Steel
    Keyboard killer
     
    Posts: 623
    Joined: Fri May 08, 2009 9:13 pm

Thu May 21, 2009 3:42 am

  • Flying Steel wrote:What compiler(s) do you developer folks use for working on Nexuiz' C and QC code? And what other tools (a debugger?) do you use, or do you use an IDE?

    (Not sure since the thread title says mingw but then later on folks talk about using GCC by default.)

    mingw = gcc
    qc code is compiled with fteqcc, c is compiled with any c/c++ compiler (afaik gcc/mingw is used for the builds)
    some-guy
    Member
     
    Posts: 25
    Joined: Tue May 12, 2009 1:28 am

Tue Sep 01, 2009 7:37 pm

  • Link doesn't give anything...
    User avatar
    Vordreller
    Advanced member
     
    Posts: 80
    Joined: Sat May 16, 2009 9:58 pm
    Location: Belgium

Wed Sep 02, 2009 3:51 pm

  • Yeah, emptyset is down, and I never got an answer from div about the presence of the file on rm (the new server)
    Meh.
    User avatar
    Mr. Bougo
    Keyboard killer
     
    Posts: 760
    Joined: Mon Sep 10, 2007 3:29 pm

Thu Sep 10, 2009 4:23 pm

  • I made a new more advanced version of this (With patching support and etc). I'll release it when I have time.
    Do it yourself, or stop complaining.
    (Developer Tracker) | (Nexuiz Roadmap)
    User avatar
    Samual
    Keyboard killer
     
    Posts: 508
    Joined: Mon May 25, 2009 7:22 pm
    Location: Pittsburgh, PA


  • How can I get 2.5.3 with this script? I only get 2.5.2.
    ArgeadGER
    Newbie
     
    Posts: 4
    Joined: Sat Feb 06, 2010 11:38 am


  • ArgeadGER wrote:How can I get 2.5.3 with this script? I only get 2.5.2.
    Well, really you get neither.. You get SVN Nexuiz, which is simply the latest development version. It's not 2.5.2, and it's not 2.5.3. Either way, run the script often to stay up with development :)
    Do it yourself, or stop complaining.
    (Developer Tracker) | (Nexuiz Roadmap)
    User avatar
    Samual
    Keyboard killer
     
    Posts: 508
    Joined: Mon May 25, 2009 7:22 pm
    Location: Pittsburgh, PA


  • What's the setting controlling the "Testing only" stamp?
    User avatar
    Vordreller
    Advanced member
     
    Posts: 80
    Joined: Sat May 16, 2009 9:58 pm
    Location: Belgium


  • I think it was in the console, enter
    Code: Select all
    showbrand 0
    To permanently remove the "testing only", add the line to your autoexec.cfg.
    <Community>: Why was the name "Nexuiz" licensed to IllFonic in a way that allows IllFonic to use the name without any suffix or subtitle for a commercial console game?
    <Lee Vermeulen>:
    <Community>: http://www.xonotic.org
    User avatar
    halogene
    Alien trapper
     
    Posts: 465
    Joined: Fri Jun 20, 2008 8:31 am
    Location: http://www.xonotic.org


  • halogene wrote:I think it was in the console, enter
    Code: Select all
    showbrand 0
    To permanently remove the "testing only", add the line to your autoexec.cfg.

    Thanks, that did the trick.
    User avatar
    Vordreller
    Advanced member
     
    Posts: 80
    Joined: Sat May 16, 2009 9:58 pm
    Location: Belgium


  • ok i did build.bat but the files to play it are still dontrun do i need ti change the file extension to bat
    dsn rocks
    User avatar
    jacob
    Member
     
    Posts: 13
    Joined: Tue Sep 22, 2009 12:31 am
    Location: no place


  • at the very end of that terminal like thing it says rm -f and it say errer or error i cant remember error make: *** [clean] error im on windows vista
    dsn rocks
    User avatar
    jacob
    Member
     
    Posts: 13
    Joined: Tue Sep 22, 2009 12:31 am
    Location: no place


  • Depending in which folder you put the svn, running the bat as an admin could help.
    ArgeadGER
    Newbie
     
    Posts: 4
    Joined: Sat Feb 06, 2010 11:38 am


  • ok i put the nexuiz svn build system folder in the program files (x86) and ran the build.bat not as admin and i got this error at the end

    Downloading Nexuiz...
    Checked out revision 8724

    Building Nexuiz...
    rm -f progs.dat menu.dat csprogs.dat
    make: *** [clean] Error 1
    An error has occurred (see above)
    Press any key to continue...

    now when i tried to run it as admin i get this error

    Setting up environment
    Long path name: C:\Windows\system32
    Short path name: C:\Windows\system32

    Downloading fteqcc...
    'getsvn' is not recognized as an internal or external command,
    operable program or batch file,
    An error has occurred (see above)
    Press any key to continue...

    i'm not sure whats wrong but i cant get it to work, anyone else had this problem?

    im on windows vista
    jakestrictor
    Newbie
     
    Posts: 6
    Joined: Thu Jul 16, 2009 8:12 am


  • Are the SVNs still gonna be updated, or is it dead until it goes on with this new Xonotic?
    ArgeadGER
    Newbie
     
    Posts: 4
    Joined: Sat Feb 06, 2010 11:38 am


  • ArgeadGER wrote:Are the SVNs still gonna be updated, or is it dead until it goes on with this new Xonotic?

    SVN is dead forever.

    Xonotic will be developped on GIT.
    User avatar
    Vordreller
    Advanced member
     
    Posts: 80
    Joined: Sat May 16, 2009 9:58 pm
    Location: Belgium

Previous


Return to Nexuiz - Development




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