"Nexuiz SVN Builds for Noobs" - MINGW simplified

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

Postby divVerent » 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.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby mand1nga » 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.
mand1nga
Alien trapper
 
Posts: 321
Joined: Mon May 12, 2008 12:19 am

Postby divVerent » 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.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby halogene » 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
halogene
Alien trapper
 
Posts: 465
Joined: Fri Jun 20, 2008 8:31 am
Location: http://www.xonotic.org

Postby divVerent » 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.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby halogene » 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
halogene
Alien trapper
 
Posts: 465
Joined: Fri Jun 20, 2008 8:31 am
Location: http://www.xonotic.org

Postby Bundy » 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 ...
Bundy
Alien
 
Posts: 230
Joined: Sat Jun 23, 2007 10:47 am

Postby Flying Steel » 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

Postby some-guy » 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

Postby Vordreller » Tue Sep 01, 2009 7:37 pm

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

PreviousNext

Return to Nexuiz - Development

Who is online

Users browsing this forum: No registered users and 1 guest